HighwayTruck
Description
A HighwayTruck
object contains the target specification for a
truck driving on the highway. You can use the HighwayTruck
object as an input
to multiSensorTargetTracker
. The target specification defines the state convention
for trackers initialized with it. For HighwayTruck
, the output state
convention is: [x;y;speed;theta;omega;z;vz;length;width;height]
,
where:
x
,y
, andz
represent the x-, y, and z-coordinates of the center of the bounding box in meters.speed
represents the velocity magnitude in meters/second.theta
represents the course direction in the xy-plane, counter-clockwise with respect to the x-axis, in degrees.omega
represents the turn-rate in degrees/second.vz
represents velocity component in the vertical plane in meters/second.length
,width
, andheight
represent the bounding box dimensions in meters.
Creation
To create a HighwayTruck
object, use the trackerTargetSpec
function with the "automotive"
, "truck"
, and
"highway-driving"
input arguments. For example:
spec = trackerTargetSpec("automotive","truck","highway-driving")
Properties
Object Functions
dataFormat | Structure for data format required by task-oriented tracker |
hasTrackerInput | Determine whether tracker needs additional input for target specification |
Examples
More About
Version History
Introduced in R2024b