Main Content
getParticles
Get particles from localization algorithm
Description
[
returns the current particles used by the
particles
,weights
]
= getParticles(mcl
)monteCarloLocalization
object.
particles
is an n-by-3 matrix that
contains the location and orientation of each particle. Each row has a
corresponding weight value specified in weights
. The number
of rows can change with each iteration of the MCL algorithm. Use this method to
extract the particles and analyze them separately from the algorithm.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b