getting_started:ros_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
getting_started:ros_example [2023/02/27 16:34] – [Working with ROS2] ursgraf | getting_started:ros_example [2023/02/27 16:35] – [Working with ROS2] ursgraf | ||
---|---|---|---|
Line 94: | Line 94: | ||
if (node != nullptr) log.info() << "ROS node initialized: | if (node != nullptr) log.info() << "ROS node initialized: | ||
signal(SIGINT, | signal(SIGINT, | ||
+ | ... | ||
+ | ControlSystem cs(node, dt); | ||
... | ... | ||
</ | </ | ||
+ | |||
+ | When | ||
All ROS tools such as '' | All ROS tools such as '' | ||
If you want to register a signal handler, e.g. for shutting down a system (see [[getting_started: | If you want to register a signal handler, e.g. for shutting down a system (see [[getting_started: | ||
The ROS node will properly shut down as soon as the last node handler is destroyed when going out of scope. | The ROS node will properly shut down as soon as the last node handler is destroyed when going out of scope. |
getting_started/ros_example.txt · Last modified: 2023/02/27 16:46 by ursgraf