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

Please run ros2 node list in the terminal B to see the names of running nodes. You will see that the node name is actually lc_listener. You could also use tab completion in a shell like bash to provide the available name: ros2 lifecycle get <tab>.

Anyway the result is still Node not found. If you call ros2 service list you will see that the listener node only has parameter related services (not sure why that is the case). Please try to run the lifecycle_talker instead. That one shows the lifecycle related service and will also report the lifecycle state correctly.

PS: You don't have to start the daemon manually. That happens automatically when needed.