Skip to content

Watchdog humble #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 30, 2023
Merged

Watchdog humble #377

merged 5 commits into from
Aug 30, 2023

Conversation

Serafadam
Copy link
Collaborator

Overview

Author: @Serafadam

Issue

Issue link (if present): #344
Issue description: Add diagnostic updater and mechanism to restart the node if an error occurs.
Related PRs N/A

Changes

ROS distro: Humble
List of changes:

  • Add SysLogger BaseNode which polls SystemInformation from the device
  • If there is an error publish that on diagnostics topic
  • In camera base class add subscription to diagnostics topic, if it detects an error, it attempts to restart the device

Testing

Hardware used: OAK-D-PRO
Depthai library version: v2.22.0

Visuals from testing

Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.

@Serafadam Serafadam requested a review from saching13 August 28, 2023 11:29
Copy link
Contributor

@saching13 saching13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (skimmed through)

@Serafadam Serafadam merged commit 98ea647 into humble Aug 30, 2023
@Serafadam Serafadam deleted the watchdog_humble branch August 30, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants