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

Launching roscore in groovy fails

asked 2013-01-09 20:40:06 -0500


I'm testing the new ros-groovy release and for some reason I cannot launch roscore:

I have the following version of ros installed:

$ dpkg -l ros-groovy-ros-comm
ii  ros-groovy-ros-comm  1.9.39-0precise-2012

After sourcing /opt/ros/groovy/setup.bash my environment looks like this:

env | grep ros

launching roscore however fails as follows:

... logging to /home/rsmits/.ros/log/e2ef1f84-5aff-11e2-98eb-c86000bfbac0/roslaunch-im-desktop-01-6764.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Cannot locate [roslaunch]Invalid <param> tag: Cannot load command parameter [rosversion]: command [rosversion roslaunch] returned with code [1]. 

Param xml is <param command="rosversion roslaunch" name="rosversion"/>

executing rosversion roslaunch results in the following error:

$rosversion roslaunch
Cannot locate [roslaunch]

rospack however indicates that the roslaunch is definitely installed:

$rospack find roslaunch 

Does anyone have any idea what I did wrong??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-09 21:45:06 -0500

KruseT gravatar image

The poblem you have is around rosversion. This should be the correct output:

$ rosversion roslaunch

rosversion is part of python-rospkg. So you can initially make sure that this is up to date, and no old easy_install version of rospkg luring in /usr/local/lib/python2.7/dist-packages

I'd guess an outdated version of rospkg is a likely culprit for your error

edit flag offensive delete link more


I cleaned up my /usr/local/lib/python2.7/dist-packages and reinstalled python-rospkg(1.0.17-1), I'm still getting the same error for rosversion roslaunch though.

Ruben Smits gravatar image Ruben Smits  ( 2013-01-10 04:04:37 -0500 )edit

I also had another version of rosversion lying around in /usr/local/bin which had to be cleaned up too.

Ruben Smits gravatar image Ruben Smits  ( 2013-01-10 04:06:55 -0500 )edit

I also had another version of rosversion lying around in /usr/local/bin which had to be cleaned up too.

Ruben Smits gravatar image Ruben Smits  ( 2013-01-10 04:07:00 -0500 )edit

Any other idea? It's the same for me, my groovy installation cannot locate roslaunch.

Miquel Massot gravatar image Miquel Massot  ( 2013-01-14 21:24:57 -0500 )edit

Sorry, I did not get mails from answers, so I did not see comments. I am on python-rospkg 1.0.18-1 from apt. @Ruben, does it work foy you now that you cleaned up rosversion as well?

KruseT gravatar image KruseT  ( 2013-01-18 03:45:28 -0500 )edit

Question Tools


Asked: 2013-01-09 20:40:06 -0500

Seen: 1,434 times

Last updated: Jan 09 '13