lidarscanmap
Description
 A lidarscanmap object performs simultaneous localization and
      mapping (SLAM) using the 2-D lidar scans. The lidarscanmap object uses a
      graph-based SLAM algorithm to create a map of an environment from 2-D lidar scans. First, the
      algorithm builds a pose graph by linking the input scans using their absolute poses. Then, it
      uses a scan-matching approach to detect loop closures to minimize any odometry
      drift.
 Using the lidarscanmap object, you can:
Store and add lidar scans incrementally.
Detect, add, and delete loop closures.
Find and update the absolute poses of the scans.
Generate and visualize a pose graph.
To further optimize the pose graph, use the optimizePoseGraph (Navigation Toolbox)
      function.
Creation
Syntax
Description
 creates a
              scanMapObj = lidarscanmaplidarscanmap object with default property values.
            specifies the resolution of the occupancy grid map. scanMapObj = lidarscanmap(gridResolution)gridResolution
            sets the GridResolution property.
            specifies the resolution of the occupancy grid map and maximum range of the lidar
            sensor. The scanMapObj = lidarscanmap(gridResolution,maxLidarRange)gridResolution and maxLidarRange
            arguments set the GridResolution and the
              MaxLidarRange properties, respectively.
Properties
Object Functions
addScan | Add 2-D lidar scan to map | 
detectLoopClosure | Detect loop closure in 2-D lidar scan map | 
addLoopClosure | Add loop closure to map | 
deleteLoopClosure | Delete loop closure between 2-D lidar scans | 
poseGraph | Create 2-D pose graph from lidar scan map | 
findPose | Find absolute pose of 2-D lidar scan in map | 
updateScanPoses | Update absolute poses of 2-D lidar scans | 
copy | Create a copy of lidarscanmap object | 
show | Display 2-D lidar scans and lidar sensor trajectory | 
Examples
Version History
Introduced in R2022b
See Also
poseGraph | findPose | addScan | detectLoopClosure | show
