ROS2 Lifecycle Node Example
조회 수: 7 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
Jagadeesh Konakalla
2022년 6월 3일
Hi Michael,
Currently, ROS Toolbox does not support this capability. Team is actively working on this feature. This will be available in the future releases of ROS Toolbox.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Publishers and Subscribers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!