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 -0500
Seen: 3,244 times
Last updated: Oct 17 '14
Tab Completion Dyld Error [closed]
roscd/roslaunch cannot find the package that be built recently
How is it possible that roscd can access to any package in any workspace
ROS2 equivalents to ROS1 roscd, rosmsg rossrv...
roscd returns roscd: No such package/stack '<package_name>'
use ros commands in bash script
How to remove the history of roscd?
roscd returns: No such package <learning_tf2>
What is the purpose of ROS_WORKSPACE
roscd <my-package> showing type errors in windows os [closed]