addScan
Syntax
Description
addScan(
adds the specified 2-D lidar scan scanMapObj
,currScan
)currScan
to the most recent scan of
the lidarscanmap
object scanMapObj
. The function uses
scan matching to correlate this scan to the most recent one, then adds the scan to the
scanMapObj
.
addScan(
specifies the relative pose between the input scan and the most recent scan of the
map.scanMapObj
,currScan
,relPose
)
addScan(___,Name=Value)
specifies options using one or
more name-value arguments in addition to any combination of arguments from previous
syntaxes. For example, addScan(scanMapObj,currScan,ScanID=5)
adds the
input scan relative to the fifth scan in scanMapObj
.
returns
an indication of whether the input scan is added or rejected.isScanAdded
= addScan(___)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b