wheelEncoderOdometryUnicycle
Compute unicycle odometry using wheel encoder ticks and angular velocity
Since R2020b
Description
The wheelEncoderOdometryUnicycle
System object™ computes unicycle odometry using the wheel encoder ticks and angular
velocity.
To compute unicycle odometry:
Create the
wheelEncoderOdometryUnicycle
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Syntax
Description
creates a whlEncOdom
= wheelEncoderOdometryUnicyclewheelEncoderOdometryUnicycle
System object with default
property values.
creates a whlEncOdom
= wheelEncoderOdometryUnicycle(encoder
)wheelEncoderOdometryUnicycle
System object using the
specified wheelEncoderUnicycle
System
object, encoder
, to set properties.
sets Properties using
one or more name-value pairs. Unspecified properties have default values. Enclose each
property name in quotes.whlEncOdom
= wheelEncoderOdometryUnicycle(Name,Value
)
For example, whlEncOdom =
wheelEncoderOdometryUnicycle('SampleRate',100)
sets the sample rate of the
sensor to 100 Hz.
Properties
Usage
Description
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Extended Capabilities
Version History
Introduced in R2020b