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

Revision history [back]

click to hide/show revision 1
initial version

The operation to gather a list of available ROS packages is an expensive operation because it needs to crawl recursively through the file system. Therefore the tools cache the result for a certain amount of time. The command line option --force-discover enforces a crawling (ignoring the cache) and therefore ensures that you get an up-to-date result.

The operation to gather a list of available ROS packages is an expensive operation because it needs to crawl recursively through the file system. Therefore the tools cache the result for a certain amount of time. The command line option --force-discover enforces a crawling (ignoring the cache) and therefore ensures that you get an up-to-date result.

rospack has a rather short maximum age for the cache (60s). rqt on the other hand reuses the cache for a pretty long time of (1 day).