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

Does tab completion work in catkin workspaces under groovy?

asked 2013-03-06 17:45:26 -0500

dcconner gravatar image

I have a dual catkin / rosbuild set up according to ros.org/wiki/catkin/Tutorials/using_rosbuild_with_catkin

For nodes build under catkin, using roscd takes me to the build/repo/package/catkin_generated/stamps/package folder.

It seems all of the build stuff is working, and I can execute the files (roslaunch/rosrun) if I give the complete filenames (e.g. rosrun package node), but the tab auto complete that works with rosbuild systems does not function properly.

To be clear, autocomplete works fine for anything built with rosbuild, but not for the catkinized packages.

I am calling the setup.bash from the rosbuild workspace.

Do I have something set up wrong, or is the tab complete functionality lost in catkin?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-03-06 18:15:58 -0500

kalectro gravatar image

As far as I know the tab completion only works for the workspace you sourced. If you source the setup.bash in the catkin workspace, you will be able to use autocompletion for all your catkin packages.

edit flag offensive delete link more

Comments

OK this is working now. On computer at work, I'm seeing both catkin_ws and rosbuild_ws. Last night, the system at home was showing me only rosbuild, and not the catkin_ws. Now I'm confused as to what the difference is in the setup at home.

dcconner gravatar image dcconner  ( 2013-03-07 02:29:50 -0500 )edit
1

This could be that the rospack cache was out of date. You can manually refresh the rospack cache by doing rospack profile, or you can wait as the cache expires every minute also.

William gravatar image William  ( 2013-03-07 06:24:06 -0500 )edit
0

answered 2013-03-06 20:34:24 -0500

KruseT gravatar image

What Kalectro said, though tab completion in catkin could be improved a lot. But this has no priority.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-03-06 17:45:26 -0500

Seen: 705 times

Last updated: Mar 06 '13