odometryMotionModel
Create an odometry motion model
Description
odometryMotionModel
creates an odometry motion model object
for differential drive vehicles. This object contains specific motion model parameters.
You can use this object to specify the motion model parameters in the monteCarloLocalization
object.
This motion model assumes that the vehicle makes pure rotation and translation motions
to travel from one location to the other. The model propagates points for either forward
or backwards motion based on these motion patterns. The elements of the
Noise
property refer to the variance in the motion. To see the
effect of changing the noise parameters, use showNoiseDistribution
.
Creation
Description
creates an
odometry motion model object for differential drive vehicles.omm
= odometryMotionModel
Properties
Object Functions
showNoiseDistribution | Display noise parameter effects |
Examples
Limitations
If you make changes to your motion model after using it with the
monteCarloLocalization
object, call release
on
that object beforehand. For example:
mcl = monteCarloLocalization; [isUpdated,pose,covariance] = mcl(ranges,angles); release(mcl) mcl.MotionModel.Noise = [0.25 0.25 0.4 0.4];
References
[1] Thrun, Sebatian, Wolfram Burgard, and Dieter Fox. Probabilistic Robotics. MIT Press, 2005.
Extended Capabilities
Version History
Introduced in R2019b