ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
1

Why autocomplete not always working

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

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
1

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

jayess gravatar image

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

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 -0600 )edit

No problem, glad to help.

jayess gravatar imagejayess ( 2017-04-05 10:27:06 -0600 )edit
1

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

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 -0600

7wLH gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 739 times

Last updated: Mar 31 '17