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

Why autocomplete not always working

asked 2017-03-31 09:32:02 -0500

sometimes it works sometimes not...

i am learning how to create a package using ROS tools, autocomplete is one of the most gentle features...

but sometimes I do:

rosclient@rosclient-VirtualBox:~/catkin_ws$ rosrun bos

looking for a autocomplete in my new package name bosca but not always working..

why?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
2

answered 2017-03-31 16:47:23 -0500

jayess gravatar image

updated 2017-03-31 16:54:02 -0500

Sometimes ROS doesn't always find newly added packages. From the root of your workspace, try running

rospack profile

and see if that helps by running

rospack find

or any command that failed earlier.

Source: http://wiki.ros.org/rospack/Troublesh...

Edit:

I can confirm that (at least for me) that this method works. I just installed a new package and it was not found by ROS using the tab auto-complete. I followed the instructions in this answer and now tab auto-complete works.

edit flag offensive delete link more

Comments

Thanks!!! @jayess

ΦXocę 웃 Пepeúpa ツ gravatar image ΦXocę 웃 Пepeúpa ツ  ( 2017-04-05 07:08:06 -0500 )edit

No problem, glad to help.

jayess gravatar image jayess  ( 2017-04-05 10:27:06 -0500 )edit
1

answered 2017-03-31 14:35:59 -0500

OMC gravatar image

It sometimes happens to me as well, even if I correctly source the devel/setup.*sh. If I first manually enter the package I have just created, then autocomplete works.

Some other times autocomplete throws an error like in Permission denied: .gvfs . It seems that you are using a virtual machine and the .gvfs is a virtual file extension, maybe it's related.

edit flag offensive delete link more
1

answered 2017-03-31 12:10:42 -0500

7wLH gravatar image

Did you always run source devel/setup.*sh in same session before trying autocomplete?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-03-31 09:32:02 -0500

Seen: 4,207 times

Last updated: Mar 31 '17