ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You need to source your ros workspace's startup script in your own script's instance for all of your package/stack names to be recognized by roscd.
Just add the following snippet before your commands:
source ~/ros_ws/devel/setup.bash
Replace ros_ws with the path to your workspace.