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

Simple test if Ros was installed correctly?

asked 2012-05-11 13:28:31 -0600

mlandergan gravatar image

hello,

warning I am a newbie. I followed the instructions on the ros website for installation on ubuntu. I believe everything worked but I was wondering if there is a command or easy tutorial to check if I installed everything correctly.

thanks

edit retag flag offensive close merge delete

Comments

Great, everything is working thank you for the help (:

mlandergan gravatar image mlandergan  ( 2012-05-12 05:03:38 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-05-12 03:31:09 -0600

Ryan gravatar image

Try typing

rosversion ros

in a terminal. If it gives you a version number, ROS is installed. :)

edit flag offensive delete link more

Comments

@Ryan ;-)

Arkapravo gravatar image Arkapravo  ( 2012-05-12 04:06:16 -0600 )edit

I was going to suggest running 'roscore', and seeing what happened. Same result.

Mac gravatar image Mac  ( 2012-05-12 05:52:41 -0600 )edit

@Mac Yeah ! good alternative, even rospack find <some basic package/> would do the job.

Arkapravo gravatar image Arkapravo  ( 2012-05-12 06:14:51 -0600 )edit
2

rosversion ros yields <unversioned> for me. What does it mean?

SR gravatar image SR  ( 2015-01-20 09:28:22 -0600 )edit

For rosversion I get : Cannot locate. roscore: command not found.

What should i do?

wall_e gravatar image wall_e  ( 2015-07-27 12:57:03 -0600 )edit

This does not work for new ROS versions, try using just

rosversion -d
alexandergmzx gravatar image alexandergmzx  ( 2021-10-26 01:03:06 -0600 )edit
4

answered 2016-09-22 05:05:14 -0600

aidos gravatar image
rosversion roscpp

worked for me.

rosversion ros

returned

<unversioned>
edit flag offensive delete link more

Comments

Same for me Then why did rosversion ros didnt worked

Kaustubh Patil gravatar image Kaustubh Patil  ( 2020-02-20 01:06:58 -0600 )edit
2

answered 2016-02-06 10:39:13 -0600

adarsh gravatar image

rosversion -d for indigo

edit flag offensive delete link more

Comments

rosversion -d should work for all of ROS distribution, including kinetic, indigo etc.

Farid gravatar image Farid  ( 2020-07-10 07:50:00 -0600 )edit

This also works for ROS2 foxy :)

rosversion -d

and you have it, welcome to ROS community.

alexandergmzx gravatar image alexandergmzx  ( 2021-10-26 01:01:56 -0600 )edit

Question Tools

Stats

Asked: 2012-05-11 13:28:31 -0600

Seen: 52,372 times

Last updated: May 12 '12