adas_sensor_properties_t

The properties associated with a given sensor

Synopsis:

#include <adas/adas_sensor_defs.h>
typedef struct adas_sensor_properties_t {
    uint32_t id;
    uint32_t instance;
    adas_sensor_source_t source;
    adas_sensor_type_t type;
    bool apply_transforms;
    adas_sensor_orientation_t orientation;
    adas_position_3d_t position;
    adas_chained_rotations_3d_t direction;
    adas_space_t space_type;
    adas_coordinates_range_t space_range;
    adas_focal_properties_t focal;
    char name[SENSOR_NAME_LEN];
} adas_sensor_properties_t;

Data:

uint32_t id
Identifier associated with the sensor; this is typically the camera or sensor unit.
uint32_t instance
Unique instance associated with the sensor.
adas_sensor_source_t source
The source of the sensor in terms of library.
adas_sensor_type_t type
The type of sensor.
bool apply_transforms
Set to true if the library needs to transform coordinates received from this sensor to the vehicle coordinate system.
adas_sensor_orientation_t orientation
The orientation of the sensor.
adas_position_3d_t position
The cartesian position associated with the sensor relative to the car coordinate system in millimeters.
adas_chained_rotations_3d_t direction
The intrinsic chained rotations about the axis of the sensor.
adas_space_t space_type
Coordinate space type (i.e., 1D, 2D, 3D).
adas_coordinates_range_t space_range
Maximum value for all coordinate axis; which ones have valid values depends on space_type above (i.e.

for 1D only x is valid, for 2D only x and y are valid, for 3D x, y and z are valid).

adas_focal_properties_t focal
Focal properties; only applies to sensors of type ADAS_SENSOR_TYPE_CAMERA and ADAS_SENSOR_TYPE_IR.
char name[SENSOR_NAME_LEN]
Name associated with this sensor in the ADAS configuration file.

Library:

libadas