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

how does laserscan data match the map

asked 2021-09-17 03:45:23 -0600

alex_ho gravatar image

I wonder when the robot with a 2D lidar runs navigation node, how does the laserscan data match the .pgm file map. I wonder the principle.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-09-18 08:41:00 -0600

Mike Scheutzow gravatar image

updated 2021-09-18 08:41:37 -0600

This problem has been researched for decades, and no single best solution has been found. As a start, you could look at and read the Andreas Censi paper mentioned there.

edit flag offensive delete link more

answered 2021-09-17 06:23:52 -0600

osilva gravatar image

Since your question is a little broad, I will make the assumption you already know how 2D lidar works, if you want to understand how this is done in code to convert into a map, I suggest you review the velodyne repo:

In there you will see how this is done, take a look at to start with and work your way how this is converted into an image data:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-09-17 03:45:23 -0600

Seen: 97 times

Last updated: Sep 18 '21