ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I believe this is to be expected.

It might be misleading, but the lifecycle_listener is actually a regular node, and not a lifecylcle node. https://github.com/ros2/demos/blob/master/lifecycle/src/lifecycle_listener.cpp#L34

The listener node here is only showcasing the events getting published when a lifecycle node is changing state. The functionality you're looking for should work for the lifecycle talker (https://github.com/ros2/demos/blob/master/lifecycle/src/lifecycle_talker.cpp#L53).

Terminal A:

 ➭ ros2 run lifecycle lifecycle_talker

Terminal B:

 ➭ ros2 lifecycle get lc_talker
unconfigured [1]