ros-safety / software_watchdogs

A library of (software) watchdogs based on DDS Quality of Service (QoS) policies and ROS 2 lifecycle nodes.
Apache License 2.0
71 stars 17 forks source link

Example launch files for dockerized watchdog & processes #6

Closed robbel closed 3 years ago

robbel commented 3 years ago

This introduces the "dockerized" watchdog and monitored process example introduced in the Autoware workshop at IV 2020.

dockerized

The choice of Docker for this example is because it facilitates use of cgroups (kernel control groups for resource allocation and isolation), and kernel namespaces for process isolation. The monitored entity can crash or be otherwise stopped/stalled and the Watchdog will respawn the entity.

To test the functionality in this PR:

terminal terminal-2
robbel commented 3 years ago

@togaen @gbiggs as discussed in the last ROS2 safety WG meeting, here is the dockerized version of the watchdog for testing cc @norro