Ask Your Question
0

map not created in hector_slam

asked 2013-02-03 23:56:34 -0500

marwa gravatar image

updated 2013-02-04 00:05:31 -0500

Hello,

I started to work with hector slam. My system is ubuntu 11.10 and fuerte full.

when i have tried to run the tutorial hector_slam

Every thing seems ok..but when i have tried to save the map two files have been created: test.pgm and test.yaml,but the image in test.pgm is blank how can i fix this error ?

This what i have done exactly

roslaunch hector_slam_launch tutorial.launch

then

rosbag play Team_Hector_MappingBox_RoboCup_2011_Rescue_Arena.bag  --clock

there is shot of rviz & terminal

image description

Thanks in advance

edit retag flag offensive close merge delete

Comments

What we can't see in the screenshot: Is there a map that looks OK? Also is blank = empty or blank= all grey?

dornhege gravatar imagedornhege ( 2013-02-04 00:36:02 -0500 )edit

The normal screen of rviz and the image that has been saved from map is blank

marwa gravatar imagemarwa ( 2013-02-04 19:45:11 -0500 )edit

Please add rxgraph or similar output to check if the topics are connected.

dornhege gravatar imagedornhege ( 2013-02-04 22:05:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-04 00:17:09 -0500

updated 2013-02-04 00:29:24 -0500

After you start playing bag file add "param name="use_sim_time" value="true"/" in ur launch file. This will take clock from ur rosbag file.

edit flag offensive delete link more

Comments

Thanks..u mean to modify the launch file of hector_slam packge ?

marwa gravatar imagemarwa ( 2013-02-04 19:43:58 -0500 )edit

yeah .. and dont forget to make the value "false" if u are not using map file.

ayush_dewan gravatar imageayush_dewan ( 2013-02-04 20:00:49 -0500 )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: 2013-02-03 23:56:34 -0500

Seen: 144 times

Last updated: Feb 04 '13