lidarSLAM
LiDAR スキャンを使用した位置推定と地図作成の実行
説明
lidarSLAM クラスは、LiDAR スキャン センサー入力の自己位置推定と環境地図作成の同時実行 (SLAM) を行います。SLAM アルゴリズムは、LiDAR スキャンを取り込んで、基となる姿勢グラフのノードに付加します。アルゴリズムは次に、スキャン マッチングを使用してスキャンを関連付けます。また、以前にマップされた領域とスキャンがオーバーラップするループ閉じ込みを探索し、姿勢グラフ内のノードの姿勢を最適化します。
作成
構文
説明
は、LiDAR SLAM オブジェクトを作成します。占有マップの既定のサイズは 1 メートルあたり 20 セルです。各 LiDAR スキャンの最大範囲は 8 メートルです。slamObj = lidarSLAM
は、LiDAR SLAM オブジェクトを作成し、入力に基づいて slamObj = lidarSLAM(mapResolution,maxLidarRange)MapResolution プロパティと MaxLidarRange プロパティを設定します。
は、コード生成時に受け入れ可能なスキャン数の上限を指定します。slamObj = lidarSLAM(mapResolution,maxLidarRange,maxNumScans)maxNumScans は正の整数です。このスキャンの上限は、コード生成時にのみ必要です。
プロパティ
オブジェクト関数
addScan | LiDAR SLAM マップへのスキャンの追加 |
copy | LiDAR SLAM オブジェクトをコピー |
removeLoopClosures | 姿勢グラフからのループ閉じ込みの削除 |
scansAndPoses | スキャンおよび対応する姿勢を抽出 |
show | Plot scans and robot poses |
例
詳細
参照
[1] Hess, Wolfgang, Damon Kohler, Holger Rapp, and Daniel Andor. "Real-Time Loop Closure in 2D LIDAR SLAM." 2016 IEEE International Conference on Robotics and Automation (ICRA). 2016.
拡張機能
バージョン履歴
R2019b で導入
![Figure contains an axes object. The axes object with title Lidar Scans and Poses, xlabel X [meters], ylabel Y [meters] contains 121 objects of type line.](../../examples/nav/win64/PerformSLAMUsingLidarScansExample_01.png)
![Figure contains an axes object. The axes object with title Occupancy Map of Garage, xlabel X [meters], ylabel Y [meters] contains an object of type image.](../../examples/nav/win64/PerformSLAMUsingLidarScansExample_02.png)