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

How to remove the history of roscd?

asked 2012-09-29 07:37:00 -0500

sam gravatar image

updated 2012-09-29 07:37:24 -0500

I try to download echo_openni package on my ROS repository, and I rosmake it successfully.

But after I rm -r that package, I use roscd echo_openni it shows that package couldn't find.

But that package is really on the /opt...

How to clean the history of roscd?

Thank you~

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-09-29 10:43:34 -0500

dornhege gravatar image

.ros contains a rospack_cache. That might be it.

edit flag offensive delete link more

Comments

I found that when I remove ~/.ros/rosstack_cache solve this problem~Thank you~

sam gravatar image sam  ( 2012-09-29 11:00:24 -0500 )edit
4

Instead of deleting the cache, just do a rospack profile to rebuild it.

Lorenz gravatar image Lorenz  ( 2012-09-30 07:16:44 -0500 )edit
0

answered 2012-09-29 13:49:00 -0500

Above comments are correct, but if you want a little more understanding check out this link.

http://ros.org/doc/api/rospkg/html/rospack.html#efficiency-considerations

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-29 07:37:00 -0500

Seen: 589 times

Last updated: Sep 29 '12