Do lifecycle nodes support the destroy transition?
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?
This is still an issue in ROS2 Humble as of 2023/08/10