Ask Your Question
0

How can I record (rosbag) the appropiate nodes for simulatting gmmaping?

asked 2011-12-07 00:45:13 -0500

apalomer gravatar image

Hi, I have had some trouble with gmmaping with turtlebot. What happens is that when I try to make big maps (a whole building of my university) it seems like it divides the map in different sections and, sometimes it moves the sections so the map at the end fits the reality but only by sections.

For example there are 4 main corridors that make a perfect cross. If I start at the very beginning of one corridor at the end I'll have 4 corridors but not necessarily in a 90º each corner.

In order to work in the code I want to record with rosbag the topics that will allow me to simulate that I'm driving the robot. Which ones do you think I should record? I tried with odom, scan and tf and it doesn't work well, although I can see in rviz the scan the robot doesn't move.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2011-12-07 01:03:16 -0500

DimitriProsser gravatar image

Gmapping itself only needs the /scan and /tf topics. /odom could also be useful. Gmapping doesn't care about much else. It just needs to know the transforms for base_link->odom and your_laser_scan_frame->base_link. As long as these are being published, gmapping should have no problem. What problems do you encounter when using just these three topics?

edit flag offensive delete link more

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-12-07 00:45:13 -0500

Seen: 519 times

Last updated: Dec 07 '11