Ask Your Question
0

rviz to create png/jpeg maps of the environment

asked 2011-10-23 16:10:24 -0600

Can I use rviz (with stage/gazebo) to obtain progressively better maps with time ? Can I get that map in png/jpeg format ?

May be a noobish question - any help is appreciated.

edit retag flag offensive close merge delete

Comments

What kind of map? rviz is only a visualization tool.
LiMuBei gravatar imageLiMuBei ( 2011-10-24 06:28:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-10-24 07:41:55 -0600

Mac gravatar image

The short answer is "no", but the longer answer is "yes".

rviz is just a visualization tool; it just lets you watch what's happening. If you want to generate maps, you want the slam_gmapping stack (in particular, the gmapping package), which is the standard way to do (2D, laser-rangefinder) SLAM in ROS. There's nothing special about stage or gazebo; as far as GMapping is concerned, their data is just as good as the data from a real robot.

edit flag offensive delete link more

Comments

@Mac : Can stage/stageros function in tandem with gmapping ? Simulation in stageros and map of the same in gmapping ?
Arkapravo gravatar imageArkapravo ( 2011-10-25 01:27:28 -0600 )edit
It certainly can.
Mac gravatar imageMac ( 2011-10-25 03:54:25 -0600 )edit
@Mac : Thank you - do you have any examples of such (viz. stage + gmapping) ?
Arkapravo gravatar imageArkapravo ( 2011-10-25 04:24:37 -0600 )edit
I don't, I'm afraid. Still, this is a standard use case, and should be well-supported.
Mac gravatar imageMac ( 2011-10-25 06:24:08 -0600 )edit
@Mac : I have started getting some results using the map server - accuracy is not the strong point right now - but stage marries well with gmapping and map server. Thank you once again.
Arkapravo gravatar imageArkapravo ( 2011-10-25 06:29:40 -0600 )edit
You're welcome; go ahead and accept my answer, too (the checkmark icon).
Mac gravatar imageMac ( 2011-10-25 08:58:16 -0600 )edit
@Mac : Working pretty nicely, I have put together a tutorial of sorts ! .... http://mobotica.blogspot.com/2011/10/maps-from-stage-simulations-in-ros.html
Arkapravo gravatar imageArkapravo ( 2011-10-29 20:51:22 -0600 )edit
That tutorial might be worth putting in a more-visible place; maybe on the stage or gmapping wiki pages? I'm not sure what the right place is.
Mac gravatar imageMac ( 2011-10-31 02:27:01 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-10-23 16:10:24 -0600

Seen: 990 times

Last updated: Oct 24 '11