Ask Your Question
0

the necessary of the "rosparam set use_sim_time true " in gmapping

asked 2016-09-21 22:17:08 -0600

sasadasd gravatar image

updated 2016-09-21 22:20:49 -0600

hello,

I would like to know the necessary of "rosparam set use_sim_time true " when I build exact map by using gmapping and rviz.

When I used "rosparam set use_sim_time true " before "rosrun gmapping slam_gmapping scan:=base_scan", my map becomes error " No map received" in rviz. If I don't use "rosparam set use_sim_time true " ,The error don't appear.

If I don't use ""rosparam set use_sim_time true " , Can I build exact map?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-09-22 04:06:09 -0600

Shay gravatar image

It is not necessary if you are not using rosbag to play back sensor data.

My setup is:

  • a real robot P3DX
  • a laser
  • a cellphone running Android APP to teleop robot

I didn't set the param 'use_sim_time'. I just ran gmapping and teleop robot to build the map, and then used map_saver to get the map and .yaml file.

edit flag offensive delete link more

Comments

Thank you for your helpful infomation!

sasadasd gravatar imagesasadasd ( 2016-09-22 07:55:11 -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

2 followers

Stats

Asked: 2016-09-21 22:17:08 -0600

Seen: 3,078 times

Last updated: Sep 22 '16