I was checking the code from example packages, such as demo_nodes_py
and found out that there were no destroy_node()
or rclpy.shutdown()
methods used on the rolling
branch when closing the node. Take the talker node as an example [1]. The Jazzy version for instance, does include both methods.
Searching info about it, found a grand change in how SIGINT and SIGTERM are managed in the client library rclpy
[2].
I would like to know:
- Which is the standard way of closing a node:
no matter if it is a large node or not, I understand that there might be examples were you want to modify the behaviour, but just for the typical usecase of sending
SIGINT
. - Is this standard behaviour supposed to change in future releases due to the change in the rclpy library?
Thanks in advance