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

ROS_WORKSPACE is not supported with catkin workspaces?

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

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

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?

Thanks,

Boris


UPDATE: Opened a ticket.

edit retag flag offensive close merge delete

Comments

1

+1 for opening the ticket about this

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

3 Answers

Sort by ยป oldest newest most voted
4

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

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
0

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

underwater gravatar image

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

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
0

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

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

Comments

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,163 times

Last updated: Jan 22 '13