How to execute callback when shuting down node in ROS2
Does someone know how to do a rospy.on_shutdown equivalent in ROS2?
Do we need to use the launch.actions fucntionality in some way? Thanks in advance