Skip to content

BUG: rqt service caller didn't list node turtle1 & turtle2 #22

@SpaceView

Description

@SpaceView

Windows + ROS2-galactic ros2-galactic-20210616-windows-release-amd64.zip
I followed the instruction from
https://docs.ros.org/en/galactic/Tutorials/Turtlesim/Introducing-Turtlesim.html
to run turtlesim,

D:> ros2 run turtlesim turtlesim_node
D:> ros2 run turtlesim turtle_teleop_key
D:> rqt #(or rqt --force-discover)

unfortunately, when I use Plugins --> services --> Service Caller, I cannot find turtle1 (or turtle 2 after spawn) in the service combo box as described in 5.2. I can only find /clear /reset /kill /spawn services.

I use "ros2 topic list" and can only see the following 2 topics,
D:>ros2 topic list
/parameter_events
/rosout
D:>ros2 topic list --include-hidden-topics
/parameter_events
/rosout
D:>ros2 topic list -v
Published topics:

  • /parameter_events [rcl_interfaces/msg/ParameterEvent] 1 publisher
  • /rosout [rcl_interfaces/msg/Log] 1 publisher
    Subscribed topics:

However, if I running this example
https://docs.ros.org/en/galactic/Tutorials/Understanding-ROS2-Nodes.html
after "rqt" graphics windows appears, sometimes I can see all the nodes, including my_turtle, teleop_turtle, turtle1, turtlesim in the service combo box.

I also installed ros2-foxy (ros2-foxy-20220208-windows-release-amd64.zip), and I got the similar problems.

It seems the service caller is not stable. Any idea what is going on, and how can I debug this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions