Skip to content

Commit

Permalink
convert emergency stop watchdog to a more generl trigger watchdog
Browse files Browse the repository at this point in the history
  • Loading branch information
jmastrangelo-cpr committed Dec 3, 2024
1 parent 6a9d554 commit 5bea0ff
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ rosidl_generate_interfaces(
msg/WatchdogConfigArray.msg
msg/WatchdogConfigCommon.msg
msg/WatchdogConfigCommunication.msg
msg/WatchdogConfigEmergencyStop.msg
msg/WatchdogConfigHeartbeat.msg
msg/WatchdogConfigInclination.msg
msg/WatchdogConfigNodeletStatus.msg
Expand All @@ -25,10 +24,10 @@ rosidl_generate_interfaces(
msg/WatchdogConfigOdomCovariance.msg
msg/WatchdogConfigRtkFix.msg
msg/WatchdogConfigTopicData.msg
msg/WatchdogConfigTrigger.msg
msg/WatchdogStatus.msg
msg/WatchdogStatusArray.msg
srv/AddCommunicationWatchdog.srv
srv/AddEmergencyStopWatchdog.srv
srv/AddHeartbeatWatchdog.srv
srv/AddInclinationWatchdog.srv
srv/AddNodeletStatusWatchdog.srv
Expand All @@ -37,9 +36,9 @@ rosidl_generate_interfaces(
srv/AddOdomCovarianceWatchdog.srv
srv/AddRtkFixWatchdog.srv
srv/AddTopicDataWatchdog.srv
srv/AddTriggerWatchdog.srv
srv/RemoveWatchdog.srv
srv/UpdateCommunicationWatchdog.srv
srv/UpdateEmergencyStopWatchdog.srv
srv/UpdateHeartbeatWatchdog.srv
srv/UpdateInclinationWatchdog.srv
srv/UpdateNodeletStatusWatchdog.srv
Expand All @@ -48,6 +47,7 @@ rosidl_generate_interfaces(
srv/UpdateOdomCovarianceWatchdog.srv
srv/UpdateRtkFixWatchdog.srv
srv/UpdateTopicDataWatchdog.srv
srv/UpdateTriggerWatchdog.srv
DEPENDENCIES
std_msgs
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@


WatchdogConfigCommunication[] communication_config
WatchdogConfigEmergencyStop[] emergency_stop_config
WatchdogConfigHeartbeat[] heartbeat_config
WatchdogConfigInclination[] inclination_config
WatchdogConfigNodeStatus[] node_status_config
Expand All @@ -12,3 +11,4 @@ WatchdogConfigNumPoints[] num_points_config
WatchdogConfigOdomCovariance[] odom_covariance_config
WatchdogConfigRtkFix[] rtk_fix_config
WatchdogConfigTopicData[] topic_data_config
WatchdogConfigTrigger[] trigger_config

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
WatchdogConfigCommon base_config
string topic
float32 timeout
bool condition # true = trigger on true, false = trigger on false

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

WatchdogConfigTrigger config

---
bool success
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

WatchdogConfigEmergencyStop new_config
WatchdogConfigTrigger new_config
string current_name # used as a key to find the watchdog in the list of watchdogs
---
bool success

0 comments on commit 5bea0ff

Please sign in to comment.