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

rosversion ros issue in Groovy [closed]

asked 2013-01-02 19:06:06 -0500

updated 2013-01-03 08:43:01 -0500

I used to use rosversion to confirm to 'everything is all right' notion and it worked fine in Electric and Fuerte. However now I am using Groovy and everything is about okay and till now I have tried simple programs and things are fine, I am still using rosbuild and my .bashrc is setup like this;

source /opt/ros/groovy/setup.bash

source ~/groovy_workspace/setup.bash

but

rosversion ros

gives a

Cannot locate [ros]

output -- much to my annoyance ! Any solutions ? Is it just me or is it a common problem ?

UPDATE

Following the advice of KruseT,

rosversion roslang

gives

1.9.39

is that the correct version of groovy release ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Arkapravo
close date 2013-01-04 19:01:35

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-01-03 02:24:57 -0500

KruseT gravatar image

updated 2013-01-03 12:44:30 -0500

What had been the "ros" stack is now a metapackage. metapackages consist only of a package.xml (stating the version), and this currently does not get installed.

You can now get the same effect by calling

$ rosversion roslang

or using any other package name, instead of a "stack" name.

EDIT: I created a report here: https://github.com/ros/rospkg/issues/18 But the root problem here is that for meta-packages, the meta-information (such as version), does not get installed, so not sure whether you'll ever be able to call rosversion ros with a useful result again.

EDIT: ROS Groovy comes released with 1.9 as major and minor versions. So it seems right. For more detailed answer, ask a new different question.

edit flag offensive delete link more

Comments

@KruseT Thank you -- I would guess that there should be a command line tool to check for the version of a software, this is probably a part of 'best practices' of ros (typically any software)

Arkapravo gravatar image Arkapravo  ( 2013-01-03 06:23:53 -0500 )edit
1

The appropriate way of checking the version of installed ROS is: $ dpkg -l ros-groovy-ros

KruseT gravatar image KruseT  ( 2013-01-03 12:44:59 -0500 )edit

Question Tools

Stats

Asked: 2013-01-02 19:06:06 -0500

Seen: 432 times

Last updated: Jan 03 '13