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

ROS_WORKSPACE is not supported with catkin workspaces?

asked 2013-01-04 03:00:47 -0500

updated 2014-01-28 17:14:44 -0500

ngrennan gravatar image

Calling roscd with no arguments gives "No ROS_WORKSPACE set" error while using catkin workspaces in Groovy. So it is not supported anymore?

Is there any other way to quickly jump into either top level directory of catkin workspace or its development space?



UPDATE: Opened a ticket.

edit retag flag offensive close merge delete



+1 for opening the ticket about this

130s gravatar image 130s  ( 2013-01-06 05:24:28 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-04 03:08:00 -0500

KruseT gravatar image

No, currently no such tool exists. However you can manually set ROS_WORKSPACE currently, to achieve either.

You could also raise a ticket on catkin to start a discussion if you feel others would benefit from such a feature.

edit flag offensive delete link more

answered 2013-01-22 05:24:48 -0500

underwater gravatar image

updated 2013-01-22 05:25:48 -0500

how to set it manually ? is so correct:

sudo gedit ~/.bashrc then type export ROS_WORKSPACE=~/catkin_ws/src

edit flag offensive delete link more

answered 2013-01-22 12:21:26 -0500

Claudio gravatar image

As you can read in the groovy install from source tutorial to use the older workspace system you need to create one.

The catkin workspace isn't really a workspace as the older was: meaning no global variables get set, there is no auto-looking up of the folders, no setup.bash, etc.

So if you want/need to use rosmake and the likes, you need to setup a rosws workspace just like before. Take care to point it to the actual ros root otherwise it won't work

$ rosws init ~/my_ros_workspace /opt/ros/groovy

or wherever you installed ros groovy.

edit flag offensive delete link more


Yes, but I don't want to use older workspace system. I need similar convenient way to use roscd as it was before, but with catkin. At the moment such functionality is broken.

Boris gravatar image Boris  ( 2013-01-22 17:24:50 -0500 )edit

Question Tools

1 follower


Asked: 2013-01-04 03:00:47 -0500

Seen: 1,143 times

Last updated: Jan 22 '13