ROS2 Lifecycle Node Example

7 vues (au cours des 30 derniers jours)
Michael
Michael le 2 Juin 2022
Commenté : Michael le 3 Juin 2022
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.

Réponse acceptée

Jagadeesh Konakalla
Jagadeesh Konakalla le 3 Juin 2022
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.
  1 commentaire
Michael
Michael le 3 Juin 2022
@Jagadeesh Konakalla Thanks. Does Mathworks have a out-facing roadmap for planned ROS2 feature support? It would help users know when certain primary features like this, parameters, more recent version (Galactic, Humble), etc. will be supported. I'm sure there is an internal plan. I doubt it is or will be released to the public, but I thought I'd ask anyway.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Publishers and Subscribers dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by