Robotics StackExchange | Archived questions

Why is node list only displaying after ros2 daemon restart?

Hello all -

New to ros2 - following this tutorial:

https://docs.ros.org/en/humble/Tutorials/Beginner-CLI-Tools/Introducing-Turtlesim/Introducing-Turtlesim.html

When I get to invoking rqt, the drop down list of services does not show the expected services (no turtlesim services show, but a handful of rqt services do). Curious about this, I ran ros2 node list and got no nodes listed.

I did some searching through forums and found someone mentioning restarting the ros2 daemon, so I ran ros2 daemon stop followed by ros2 daemon start which then showed the missing node and services when running ros2 node list, and within the rqt services drop-down menu.

Can someone help me understand the reason for needing to restart the ros2 daemon?

Thanks in advance!

Asked by WalkerAdi on 2023-08-02 12:10:29 UTC

Comments

Answers