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