tab completion
I am on Ubuntu 12.04 running Hydro and with roscd I can't tab complete. Is there something wrong with my install or is that just not a feature available with the ROS file navigation tools.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I am on Ubuntu 12.04 running Hydro and with roscd I can't tab complete. Is there something wrong with my install or is that just not a feature available with the ROS file navigation tools.
roscd should tab-complete ROS package names.
If this isn't working, you should check:
setup.bash
and not setup.sh
in your workspace. (setup.sh is for posix-compliant shells that don't have any fancy features.)Yeah, my source is correct: $source /opt/ros/hydro/setup.bash Not sure what is preventing it... Just strange. Thanks for the quick feedback!
Note that ahendrix was referring to the setup.bash in your catkin workspace (i.e. "source ~/catkin_ws/devel/setup.bash"), which is another script than the one you mention (in /opt/ros/). You need to run BOTH scripts (first /opt/ros/... then the one in your catkin workspace) to get it to work.
After thinking about it, and again I apologize for being such a noob, but could it be that roscd only navigates within ROS packages once you have navigated to them? I believe I may have been misusing roscd to navigate to a directory I created in a workspace but it wasn't fully added to my packages.
Asked: 2014-10-10 10:24:17 -0600
Seen: 3,299 times
Last updated: Oct 17 '14