Skip to main content
Version: Next

Watchdogs

As of version 0.14.0, the OutdoorNav software contains the ability for autonomous missions to be interrupted if failures are detected by wtchdogs. Each UGV will come pre-loaded with a set of watchdogs that are required for the overall safety of the system. Users are then able to add/remove/modify watchdogs as they require for their specific application and safety requirements. This will have a lot to do with the operational environment and their network setup. A history of previous watchdogs that have triggered is also available to the user for more precise debugging of when issues may have occured.

Watchdog Types

Currently there a a set of watchdogs that have been developed. Users are unable to write their own watchdogs at the present time.

Watchdog TypeDescription
Communication WatchdogA watchdog used to monitor device communication with the PC. It will monitor and trigger if there is loss of communication on devices that are connected via the ethernet (ip) or CAN bus (can) communication protocols.
Heartbeat WatchdogA watchdog used to monitor the heartbeat topic of a device. This differs from the Communication, Node Status and Topic Data watchdogs because there may be devices that are deemed to be alive and communicating by the Node Status and Communication watchdogs but may not be publishing data on their published topic. For example some GNSS units will not publish to their topic unless they are in a clear open environment, however the heartbeat topic will still be publishing since the node is alive.
Inclination WatchdogA watchdog used to monitor the inclination (roll and pitch) of the UGV. It will trigger if the IMU topic reports an inclination in either the roll or the pitch that exceeds the defined limits.
Node Status WatchdogA watchdog used to monitor the status of a node. It will trigger if the node crashes or does not start up.
Nodelet Status WatchdogA watchdog used to monitor the status of a nodelet manager and any nodelets associated with it. It will trigger if either the nodelet manager or the nodelet defined in the parameters crash or fail to start up.
Num Points WatchdogA watchdog used to monitor the status of a LiDAR device. It is designed to trigger if there is an insufficient number of points in a PointCloud2 topic. The primary example for such a watchdog is if a customer has forgotten to remove a protective covering from the LiDAR.
Odometry Covariance WatchdogA watchdog used to monitor reliability of the odometry data that is computed by our system. It will trigger if any of the odometry covariance thresholds have been exceeded.
RTK Fix WatchdogA watchdog used to monitor whether or not a GNSS unit has an RTK fix. It will trigger if the device has lost RTK fix for more than the defined timeout.
Topic Data WatchdogA watchdog used to monitor a ROS topic. It will trigger if no data has been received on the topic for more than the defined timeout.

Watchdogs Page

To access the watchdog page navigate to the Menu Autonomy Watchdogs.

Watchdogs Page

On this page you will be able to see the history of triggered watchdogs, which includes the time of day that it was triggered and the action taken by autonomy to prevent any harmful behaviour. Users can clear the history as they see fit to reduce the number of entries in the table.

Add Watchdog

To add a watchdog, users can simply click the "Add Watchdog" button on the watchdog page. This will open up a pop up where the user can enter the required information for the new watchdog. The default parameters that need to be entered are:

  • Watchdog Name: A semantic name for the watchdog. This name will only be used for internal identification of the watchdog and must be unique.
  • Autonomy Action: The action that the autonomy will perform when the watchdog is triggered. Options are: "Stop", "Pause", "Warn". For example, if Pause is selected and the watchdog is triggered while a mission is running, the mission will pause and wait for the user to resume it manually.
  • Components: A list of one or more components of outdoornav that the watchdog will be classified under. Examples are: "ros", "navigation", "localization", "obstacle_detection".
  • Watchdog Type: The type of watchdog that is to be created. Selecting the required watchdog type will then prompt the user for further properties specific to the type.
Add Watchdog Pop-up

Remove Watchdog

The user can remove a specific watchdog by clicking the trash icon beside the relevant watchdog.

Modify Watchdog

The user has the ability to modify the watchdog properties through the UI on the Watchdog page. The watchdog can be enabled/disabled (without explicitly being removed entirely) by clicking the checkbox beside the respective watchdog. Furthermore, if the watchdog entry is opened, the user will be able to modify any and all of the properties of each watchdog. See below, for an example of modifying the properties of the TopicDataWatchdog. To confirm and save the changes to a watchdog, the user must click the "Save Changes" button.

Update TopicDataWatchdog