ROS2 Lifecycle Node Example
Show older comments
I am trying to build a ROS2 node in Matlab that is compliant as a life cycle managed node. I am having trouble understanding how to setup the node state machine and a ros2 service callback function for a state transition of that node. I know that lifecycle_msgs are supported with R2022b, so presumably someone at Matlab has done this. If you have example code on how to build the node's state machine and state transition callback function, I would love to see how this is done.
Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Custom Message Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!