wheelEncoderOdometryAckermann
Compute Ackermann vehicle odometry using wheel encoder ticks and steering angle
Since R2020b
Description
The wheelEncoderOdometryAckermann
System object™ computes Ackermann vehicle odometry using the wheel encoder ticks and steering
angle of the vehicle.
To compute Ackermann vehicle odometry:
Create the
wheelEncoderOdometryAckermann
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
= wheelEncoderOdometryAckermannwheelEncoderOdometryAckermann
System object with default
property values.
creates a whlEncOdom
= wheelEncoderOdometryAckermann(encoder
)wheelEncoderOdometryAckermann
System object using the
specified wheelEncoderAckermann
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
= wheelEncoderOdometryAckermann(Name,Value
)
For example, whlEncOdom =
wheelEncoderOdometryAckermann('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