This question is closed. Reopen it to edit or answer.
Angle indication with lidarSlam
1 view (last 30 days)
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.
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.