personalrobotics / ada_ros2

ROS2 Hardware Interface and Description for the ADA Robot
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Put Watchdog callbacks in separate MutuallyExclusiveCallbackGroups #20

Closed amalnanavati closed 1 year ago

amalnanavati commented 1 year ago

For the ada_watchdog_listener, it is crucial that it receive watchdog messages, unencumbered by other callbacks. Further, we don't need a ReentrantCallbackGroup because none of the callbacks need to be called in parallel with themselves. Therefore, this PR puts all callbacks in their own MutuallyExclusiveCallbackGroup by default.

Paired with ada_feeding#92.