AutomotiveLidarBoxes
Sensor specification for vehicle-mounted lidar that reports point cloud clustered in 3-D bounding boxes
Since R2024b
Description
An AutomotiveLidarBoxes
object contains a sensor specification for a
vehicle-mounted lidar that reports point cloud clusters in 3-D bounding boxes. You can use the
AutomotiveLidarBoxes
object as an input to multiSensorTargetTracker
.
Creation
To create an AutomotiveLidarBoxes
object, use the trackerSensorSpec
function with the "automotive"
, "lidar"
, and
"bounding-boxes"
input arguments. For example:
spec = trackerSensorSpec("automotive","lidar","bounding-boxes")
Properties
ReferenceFrame
— Reference coordinate frame
"ego"
(default) | "global"
Reference coordinate frame, specified as "ego"
or
"global"
.
When you specify this property as
"ego"
— The origin of the coordinate system is fixed to an ego
vehicle, and the position and orientation of the target are modeled with respect to this
ego vehicle. To account for a moving ego vehicle, ego motion compensation is used. This
ego motion information must be provided as the last input to the tracker. See the More About section and
dataFormat
function for more information.
"global"
— The origin of the coordinate system is fixed to a
stationary global reference frame, and the position and orientation of the target is
modeled with respect to this stationary frame. See the More About section and
dataFormat
function for more information on how to provide ego pose.
Tip
Choose "global"
reference frame if either of the following is
true.
All sensors are mounted on the same ego vehicle, and you know the position and orientation of that ego vehicle in some global reference frame. Additionally, you want the tracks described in that same global reference frame.
Sensors are mounted on different ego vehicles, which can be either stationary or moving.
You may need to change the YawLimits
property of
your target specification to account for the yaw of the vehicle in global reference
frame. For example,
targetSpec.YawLimits = egoYaw + [-10 10];
Note
You must use the same ReferenceFrame
on each target
specification and sensor specification to initialize a tracker.
Example: "global"
Data Types: char
| string
MaxNumMeasurements
— Maximum number of measurements per scan
64
(default) | 1 | positive integer
Maximum number of the measurements the sensor can detect in one scan, specified as a positive integer.
Example: 20
Data Types: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
MountingLocation
— Sensor location on ego vehicle
[0 0 0]
(default) | 1-by-3 real-valued vector
Sensor location on the ego vehicle, specified as a 1-by-3 real-valued vector of form [xm ym zm]. This property defines the coordinates of the sensor with respect to the ego vehicle origin. The default value specifies that the sensor origin is at the origin of its ego vehicle. Units are in meters.
Example: [1.25 -0.1 0.8]
Data Types: single
| double
MountingAngles
— Orientation of sensor
[0 0 0]
(default) | 1-by-3 real-valued vector
Orientation of the sensor with respect to the ego vehicle, specified as a 1-by-3 real-valued vector of form [zyaw ypitch xroll]. Each element of the vector corresponds to an intrinsic Euler angle rotation that carries the body axes of the ego vehicle to the sensor axes. The three elements describe the rotations around the z-, y-, and x-axis sequentially. Units are in degrees.
Data Types: single
| double
AzimuthLimits
— Azimuth limits of lidar coverage
[-180 180]
(default) | 1-by-2 real-valued vector
Azimuth limits of lidar coverage, specified as a 1-by-2 real-valued vector. Units are in degrees.
Example: [-90 90]
Data Types: single
| double
ElevationLimits
— Elevation limits of lidar coverage
[-20 20]
(default) | 1-by-2 real-valued vector
Elevation limits of lidar coverage, specified as a 1-by-2 real-valued vector. Units are in degrees.
Example: [-30 30]
Data Types: single
| double
MaxRange
— Maximum detection range of sensor
120
(default) | positive scalar
Maximum detection range of the sensor, specified as a positive scalar. The sensor does not detect targets that are outside this range. Units are in meters.
Example: 110
Data Types: single
| double
CenterAccuracy
— Standard deviation of measurement errors in bounding box center
1
(default) | positive scalar
Standard deviation of measurement errors in bounding box center reported by the detector, specified as a positive scalar. Units are in meters.
Example: 2
Data Types: single
| double
HeightAccuracy
— Standard deviation of measurement errors in bounding box height
1
(default) | positive scalar
Standard deviation of the measurement errors in the bounding box height reported by the detector, specified as a positive scalar. Units are in meters.
Example: 2
Data Types: single
| double
OrientationAccuracy
— Standard deviation of measurement errors in bounding box orientation
1
(default) | positive scalar
Standard deviation of the measurement errors in the bounding box orientation reported by the detector, specified as a positive scalar. Units are in degrees.
Example: 2
Data Types: single
| double
DetectionProbability
— Probability of detecting target inside the coverage limits
0.9
(default) | scalar in the range (0,1]
Probability of detecting a target inside the coverage limits, specified as a scalar in the range (0, 1].
Example: 0.75
Data Types: single
| double
NumNewTargetsPerScan
— Expected number of new targets entering the sensor's field of view per scan
1
(default) | positive scalar
Expected number of new targets entering the sensor's field of view per scan, specified as a positive scalar.
Example: 3.5
Data Types: single
| double
NumFalsePositivesPerScan
— Average number of false positives per scan
1
(default) | positive scalar
Average number of false positives per scan, specified as a positive scalar.
Example: 3.5
Data Types: single
| double
Object Functions
dataFormat | Structure for data format required by task-oriented tracker |
More About
Data Format Required By Task-Oriented Tracker
After you initialize a tracker using this object, you need sensor data to update the
tracker. For a full list of required sensor data and their descriptions, see the table
below. See the dataFormat
function for details on updating the tracker with sensor data.
Field Name | Description | Comment |
---|---|---|
Time | Timestamps at which sensor observation is made, specified as a scalar. | None |
BoundingBox | Bounding boxes information, specified as an 9-by-N matrix.
Each column represents the [x;y;z;L;W;H;roll;pitch;yaw] values of
a bounding box. x , y , and z
are the coordinate of the box center in the sensor's coordinate system. Units are in
meters. L , W , and H are the
length, width, and height of the box, respectively. Units are in meters.
roll , pitch , and yaw are
the orientation of the box. Units are in degrees. | None |
EgoPosition | [X Y Z] position of the ego vehicle, specified as a 1-by-3
vector. Units are in meters. | Applies only when the ReferenceFrame property is set to
"global" . |
EgoOrientation | [Yaw Pitch Roll] orientation of the ego vehicle, specified
as a 1-by-3 vector. Units are in degrees. | Applies only when the ReferenceFrame property is set to
"global" . |
Version History
Introduced in R2024b
See Also
Functions
Objects
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)