This question is closed. Reopen it to edit or answer.

Angle indication with lidarSlam

1 view (last 30 days)
Niklas Beyer
Niklas Beyer on 14 Feb 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a question about the function of the lidarSlam command. The task for me is to determine the position and angle of a sensor in a room with a known map. My problem is that I cannot get suitable values for the angle of the sensor. Does this only work if I have several scans in succession, i.e. the sensor moves in space, so that the relative angle between the individual scans can be output?
I thank you for any help.

Answers (1)

Ajay Pattassery
Ajay Pattassery on 17 Feb 2020
I understand that the Map is already known to the robot.
lidarSlam object helps in building the Map by performing localization and mapping using the lidar scans. Hence lidarSlam will not be of use here.
If the map of the environment is already known to the robot, robot can do localization by the help of localization algorithms like Monte carlo localization.
Refer the Estimate Vehicle Pose from Range Sensor Data section in the following example that uses Monte Carlo Localization for robot pose estimation. This method require a couple of scans taken in succession for effective localization.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!