ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[ROS2] What is the "rqt --force-discover" option meaning?

asked 2019-11-21 19:52:30 -0500

harderthan gravatar image

Hello, experts. My environment is Ubuntu 18, ROS2 Crystal.

I installed the rqt-graph plugin to debugging. But, I can't find out the plugin on rqt-gui. In normal case, It should to be on "Plugins->introspection->Node Graph".

After $ rqt ---force-discover, it is working now. Further, other plugins come out on "Plugins" tap.

What is the "rqt --force-discover" option meaning?

The description, written on the rqt usage guide, said below.

"--force-discover force a rediscover of plugins"

Do you explain "rediscover" progress meaning?

edit retag flag offensive close merge delete

Comments

Please remember to only ask the question once

stevemacenski gravatar image stevemacenski  ( 2019-11-21 20:53:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-22 11:14:29 -0500

Dirk Thomas gravatar image

The list of available plugins is cached for one day (https://github.com/ros-visualization/...) to speed up repeated invocation of rqt. If plugins are added within that period they don't show up automatically since the cached information is used.

Passing --force-discover will invalidate the existing cache and ensures that the list of available is queried again (which takes a little bit of time, depending on the size of the ROS installation up to a few seconds).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-11-21 19:52:30 -0500

Seen: 1,118 times

Last updated: Nov 22 '19