no map received, gmapping, velodyne hdl_32

asked 2019-06-11 14:16:30 -0500

nunuwin gravatar image

updated 2019-07-09 12:13:11 -0500

When I launch myrobot to generate map using velodyne lidar hdl-32 and gmapping slam, I received warning "no map received" in rviz and "waiting for map" in terminal. But I can see laserscan in rviz, so how can I check what is worng and how to fix it?[C:\fakepath\Screenshot from 2019-06-12 13-15-48.png]

edit retag flag offensive close merge delete

Comments

1

We're going to need more info here. While I don't know your particular laser, most velodyne (that I know of) are 3D lasers, which is not going to be usable in GMapping by itself. For that, look for something like cartographer.

If you are going for 2D, then you should find a 2D slice of the 3D laser (something I'm sure someone knows how to do) and pass that to GMapping. But GMapping will also require a tf frame for odometry, which you will need to provide to it.

allenh1 gravatar image allenh1  ( 2019-06-11 14:58:22 -0500 )edit

Thank you very much for your reply! I used velodyne-hdl32 in gazebo simulation and I want to use this for 2D map, and I publish both laserScan and Pointcloud. Moreover, I transform tf frame too. I attached my rivz photo and others. My rostopic list is /clicked_point, /clock, /cmd_vel, /gazebo/link_states,......, /imu, /map, /odom, /rosout, /rosout_agg, /scan, /scan_updates, /tf, /tf_static, /velodyne/scan, /velodyne_points,... like that. I will add these photos Please let me know, How can I attach these image in here?

nunuwin gravatar image nunuwin  ( 2019-06-11 23:56:27 -0500 )edit

I would like to update my question. Now I'm using is gazebo model velodyne hdl32 lidar. I have "no receive map data" is until now, I can't fix this error until now. I want to know is it need velodyne driver? If need how to use it? Now, I did not use it. So, error may be because to that or not?

nunuwin gravatar image nunuwin  ( 2019-06-25 08:50:55 -0500 )edit

@nunuwin you need some karma to post images (I'll upvote your question so you can have some karma to do so).

As for your error, where exactly are you seeing this?

allenh1 gravatar image allenh1  ( 2019-07-01 10:44:07 -0500 )edit

thanks you for your reply, I see in rviz map topic there is warn no map riceive and in rosrun map_server and map_saver I receive "Waiting for map". Now, I updated the photos. I don't know how to solve.

nunuwin gravatar image nunuwin  ( 2019-07-09 11:59:09 -0500 )edit

@nunuwin I'm not seeing the photo you tried to upload... Looks like you uploaded a path to it?

allenh1 gravatar image allenh1  ( 2019-07-10 10:59:29 -0500 )edit