ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

What are the differences between stage and stageros ? [closed]

asked 2011-08-28 03:39:48 -0500

Arkapravo gravatar image

updated 2011-11-30 00:53:56 -0500

When using stage, diamondback has 2 executables at /opt/ros/diamondback/stacks/simulator_stage/stage/bin - stage and stageros. How are these two different, particularly in the usage ? Using these two in simple environments shows no differences.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Arkapravo
close date 2013-05-20 18:43:10

1 answer

Sort by ยป oldest newest most voted

answered 2011-08-28 17:18:07 -0500

Zack gravatar image

updated 2011-08-29 20:53:58 -0500

hmm good question. There are 2 stage executable files in the stage bin directory. stage and stageros.

stage is the one compiled from the original stage files. It can be used as the original stage simulator if the libraries are linked correctly. (By default the libraries are not linked for stage, the stage library has to be added to ldconfig)

However, stage does not provide the interface to ros. So if you use stage, the simulation data will not be available to ros although it will probably still work with player.

stageros on the other hand makes a portion of the stage interface available to ROS. It published the following topics to the ros interface, so that it would work with nodes written for ROS.







So if you want to run simulation in ros, you gotta use the stageros instead of stage; in order for ros to interpret the simulation data.

edit flag offensive delete link more


@Zack : Thank you ! I am not really into gazebo - but do we have a similar situation there too ? gazebo and gazeboros (?) ?
Arkapravo gravatar imageArkapravo ( 2011-08-29 18:46:05 -0500 )edit
Nope, there's only one excutable for gazebo. stage is useful for 2D simulations. It's easier to setup and is good for simple model. However for more complex models, gazebo would be able to model them more accurately. You can take a look at the provided launch files to get an idea of how to launch
Zack gravatar imageZack ( 2011-08-29 20:46:05 -0500 )edit
simulations in ros.
Zack gravatar imageZack ( 2011-08-29 20:46:21 -0500 )edit
@Zack : One more observation to confirm to your answer; stageros needs an instance of roscore, stage can function without roscore.
Arkapravo gravatar imageArkapravo ( 2011-10-03 08:46:38 -0500 )edit

Question Tools

1 follower


Asked: 2011-08-28 03:39:48 -0500

Seen: 432 times

Last updated: Nov 30 '11