how to run rqt with ubuntu and eloquent, service not available
I have a clean installation of ROS2 Eloquent on an ubuntu 18.04 system. I'm following the Tutorial https://index.ros.org/doc/ros2/Tutorials/Turtlesim/Introducing-Turtlesim/#start-turtlesim First, there's a minor typo in that tutorial in Section 4, Install rqt. The command line
sudo apt install ros-{distro}-rqt-*
will install everything EXCEPT the ros-eloquent-rqt package itself. The command should be changed to:
sudo apt install ros-{distro}-rqt*
More importantly, when I attempt to start rqt with the command line rqt, I get the message service not available, waiting again...
What am I missing? Prior to this section of the tutorial, the turtlesim starts and functions correctly. I've tried to start rqt both with and without the turtlesim running, but the results are the same.
Asked by billmania on 2020-01-04 10:57:42 UTC
Answers
After reading https://answers.ros.org/question/91231/rqt-plugin-not-listedfound-in-list-returned-by-rqt-list-plugins/?answer=91386#post-id-91386 I solved the problem by removing the directory ~/.config/ros.org.
Asked by billmania on 2020-01-06 17:58:10 UTC
Comments
I think this is caused if one of enabled plugins in rqt is waiting for a service that does not exist. (possibly because the required features are still a work in progress in ROS2?)
Resetting rqt with rqt --clear-config
should disable all plugins and allow to reopen rqt in the usual way.
This might be advantageous over deleting the whole configuration.
If the issue reappear after adding specific plugin, you know which plugin is causing this. (in my case rqt_tf_tree
)
Asked by Phgo on 2020-04-15 11:27:01 UTC
Comments
Same for me - "service not available..."
Asked by Thomas B. Lyons on 2020-01-05 04:25:00 UTC
Did you get this error right away or only after using a specific plugin? I experienced the same issue after adding rqt_tf_tree and was wondering if this was the case for you too.
Asked by Phgo on 2020-04-15 10:56:27 UTC