ros2-java / ros2_java

Java and Android bindings for ROS2
Apache License 2.0
167 stars 92 forks source link

Running "ros2 service list" does not show any parameter service while running rcljava examples #180

Open amargs opened 3 years ago

amargs commented 3 years ago

First of all, this may be a problem on my side, but since there are no examples regarding the parameter service I'm unable to confirm it.

Using foxy, I launched the minimal publisher provided by the rcljava examples. In another terminal, I am able to echo the contents of /topic. However, if I run "ros2 service list", no service shows. In contrast, if I run the minimal publisher example from either rclcpp or rclpy, the describe_parameters, get_parameters, list_parameters and all other parameter services show instantly.

Using a node of mine, in which I had already defined one parameter through code, ros2 service list displays the "list_parameters" service, however none of the others show, and if I try to make a service call to list the parameters of my node it gets stuck waiting for the service.