ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

2D map with stationary LIDAR

asked 2018-10-18 06:41:36 -0500

stianjoer gravatar image

I'm trying to make a 2D map of a room. This is a project for learning ROS in the first place, so there's no robot involved. I just want to be able to make a map from either my laserscan data or pc2 data. I'm using the Scanse Sweep LIDAR, and I'm able to view live data in rviz. Can I use gmapping, and input static odometry data, or is Hector mapping better in this case?

Thanks in advance

edit retag flag offensive close merge delete

Comments

Hi I am also working on making a 2D map of a room kindly explain me some steps to follow they will be help me in my undergrad project Thanks Regards Abdullah Sindhu

abdullahsindhu gravatar image abdullahsindhu  ( 2018-11-13 23:10:46 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2018-10-18 08:49:57 -0500

Delb gravatar image

updated 2018-10-18 08:50:11 -0500

With gmapping just adding a static frame for odometry isn't enough because you have paramaters like :

~linearUpdate (float, default: 1.0)
    Process a scan each time the robot translates this far 

~angularUpdate (float, default: 0.5)
    Process a scan each time the robot rotates this far

your map would be updated only if you move, and I'm pretty sure there are other params like that. You can check #q63457, they already discussed about gmapping without odom.

So yes, hector_mapping is exactly what you are looking for.

edit flag offensive delete link more

Comments

Thank you!

stianjoer gravatar image stianjoer  ( 2018-10-18 11:03:59 -0500 )edit

Question Tools

Stats

Asked: 2018-10-18 06:41:36 -0500

Seen: 370 times

Last updated: Oct 18 '18