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

How to create a world of stage?

asked 2011-07-18 20:52:27 -0500

sam gravatar image

updated 2011-08-02 12:45:53 -0500

kwc gravatar image

I want to create a world of stage with online slam. I found that even in move_base_gmapping_5cm.launch it uses the static world which made before not dynamic during slam process. How to create a world of my room during slam and used by rviz? Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-07-19 00:28:03 -0500

Eric Perko gravatar image

updated 2011-07-19 03:48:44 -0500

Brian Gerkey gravatar image

move_base_gmapping_5cm.launch does generate a map dynamically while being run. Only Stage (the simulator) has access to a priori map data.

There isn't a way to feed a dynamically generated map into Stage online. If you think about it, this makes sense: the simulator needs to know what's in the world to simulate the robot's sensor data.

If you want to generate a SLAM map of your own environment, take a look at the slam_gmapping tutorials. You could then use that map in a Stage .world file to simulate a robot in your environment.

edit flag offensive delete link more


What I want is making a stage file *.world.How to make it? Thank you~
sam gravatar image sam  ( 2011-07-19 01:00:58 -0500 )edit

@sam did you manage to create your .world file?

Moda gravatar image Moda  ( 2014-08-05 03:26:43 -0500 )edit

Question Tools



Asked: 2011-07-18 20:52:27 -0500

Seen: 733 times

Last updated: Jul 19 '11