Do lifecycle nodes support the destroy transition?

asked 2022-01-31 09:25:38 -0500

jandaa gravatar image

updated 2022-02-01 02:16:29 -0500

gvdhoorn gravatar image

According to the ROS documentation on managed nodes, the only transition available from a finalized state is destroy(). Using the lifecycle message interface, this can be invoked using the lifecycle_msgs::msg::Transition::TRANSITION_DESTROY transition.

However, it doesn't seem that this transition is currently supported. Calling this transition from another state management node yields the following error:

Unable to start transition 8 from current state finalized: Transition is not registered.

Am I missing something? Is this not supposed to be supported and the node process killed manually?

edit retag flag offensive close merge delete

Comments

This is still an issue in ROS2 Humble as of 2023/08/10

LastStarDust gravatar image LastStarDust  ( 2023-08-10 07:58:29 -0500 )edit