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

Stage/Player integration with ROS

asked 2014-01-31 13:33:27 -0600

SpiderRico gravatar image

updated 2014-02-02 10:44:06 -0600

Hello all,

I've been working on Stage(3.2.2)/Player(3.0.2) for a while. I need to integrate it with ROS in order to get to next step in my project.

So, in Player/Stage you have a .cfg and a .world file. You run the .cfg and then run an executable on the background in order to control your robot.

What I want is to publish Player as a ROS(Groovy preffered) node (I guess it is essentially the same thing as connecting to the drivers that are defined in .cfg file using ROS) rather than connecting to Stage directly through ROS. I think the hierarchy between them should be like this: ROS->Player->Exe->Stage.

The http://wiki.ros.org/player page doesn't seem to have anything useful for a beginner like me. An example configuration would be great for example.

Would appreciate any help. Thanks.

Update: I've found the following tutorial->brice-rebsamen.blogspot.com.tr/2011/05/first-exercise-with-ros-node-to.html

So, as far as i can understand the whole player package becomes a node to ROS and then i can subcribe to the proxies i defined in my code through it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-30 10:52:10 -0600

SL Remy gravatar image

I think that most who use ROS and Stage together make use of the stage_ros package. This package encapsulates Stage (which is still a standalone application) and allows ROS messages to be subscribed/published to. ROS thus replaces Player's role. So you write a ROS node that subscribes/publishes to the topics (like /cmd_vel and /image) that Stage exposes.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-31 13:33:27 -0600

Seen: 591 times

Last updated: Apr 30 '14