how does laserscan data match the map
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.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
This problem has been researched for decades, and no single best solution has been found. As a start, you could look at http://wiki.ros.org/laser_scan_matcher and read the Andreas Censi paper mentioned there.
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: https://github.com/ros-drivers/velodyne
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:
https://github.com/ros-drivers/velody... https://github.com/ros-drivers/velody...
Asked: 2021-09-17 03:45:23 -0600
Seen: 127 times
Last updated: Sep 18 '21