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

how does laserscan data match the map

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

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
0

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

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: 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...

edit flag offensive delete link more
1

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

Mike Scheutzow gravatar image

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

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 100 times

Last updated: Sep 18 '21