HighwayCar
Description
A HighwayCar
object contains the target specification for a car
driving on the highway. You can use the HighwayCar
object as an input to
multiSensorTargetTracker
. The target specification defines the state convention
for trackers initialized with it. For HighwayCar
, 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 HighwayCar
object, use the trackerTargetSpec
function with the "automotive"
, "car"
, and
"highway-driving"
input arguments. For example:
spec = trackerTargetSpec("automotive","car","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 |
More About
Version History
Introduced in R2024b