47#ifndef DW_SENSORS_COMMON_SENSORTYPES_H_
48#define DW_SENSORS_COMMON_SENSORTYPES_H_
78#define DW_SENSOR_MAX_PROTOCOL_NAME_LENGTH 32
80#define DW_SENSOR_MAX_PARAMETER_STRING_LENGTH 512
148#define DW_SENSOR_ERROR_ID_OFFSET_BIT 24U
150#define DW_SENSOR_ERROR_ID_OFFSET (1U << DW_SENSOR_ERROR_ID_OFFSET_BIT)
NVIDIA DriveWorks API: Core Types
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
uint64_t event
count of this event
uint64_t offset
offset into a file of this event
const void * auxiliarydata
Additional data to pass to sensor creation function.
const char8_t * parameters
Array of additional parameters provided to sensor creation.
uint64_t size
size of the event present in the virtual data file, in bytes
const char8_t * protocol
Name of the protocol.
dwTime_t timestamp
timestamp of this entry [us]
struct dwSALObject * dwSALHandle_t
Handle representing the Sensor Abstraction Layer interface.
dwSensorType
Defines the type of sensors that are available in DriveWorks.
dwPlatformOS
Defines the operating system in use.
dwSensorErrorID
Sensor Error ID to be used in, e.g., dwErrorSignal.errorID[31:24] when DW_SENSOR_ERROR_CODE_OFFSET_BI...
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
@ DW_SENSOR_ULTRASONIC
Ultrasonic.
@ DW_SENSOR_COUNT
Sensor count which the sensor type value is less than.
@ DW_SENSOR_CAMERA
CAMERA.
@ DW_PLATFORM_OS_V5Q
aarch64 based Drive 5 QNX.
@ DW_PLATFORM_OS_V5L
aarch64 based Drive 5 Linux.
@ DW_PLATFORM_OS_LINUX
Default Linux based platform.
@ DW_PLATFORM_NUM
Number of available platforms.
@ DW_SENSOR_ERROR_CODE_NO_NEW_DATA
no new data received
@ DW_SENSORS_ERROR_CODE_IMU_ALIGNMENT_STATUS
IMU sensor bad alignment status.
@ DW_SENSOR_ERROR_NO_DATA_FROM_PUBLISHER
No data is received from publisher.
@ DW_RADAR_ERROR_CODE_ZERO_RETURNS
Radar specific errors: zero return.
@ DW_SENSOR_ERROR_CODE_INVALID
sensor ok
@ DW_RADAR_ERROR_CODE_NUM_RETURNS_OUT_OF_RANGE
Radar specific errors: return num is out of range.
@ DW_SENSOR_ERROR_CODE_NON_MONOTONIC_DATA
Non monotonic timestamp received from the sensor.
@ DW_SENSOR_ERROR_NOT_ENOUGH_DATA
Not enough dats from publisher since initialization.
@ DW_SENSORS_ERROR_CODE_GPS_ACCURACY
GPS sensor accuracy warning.
@ DW_RADAR_ERROR_CODE_AZIMUTH_OUT_OF_RANGE
Radar specific errors: azimuth is out of range.
@ DW_SENSOR_ERROR_E2E_FAILURE
E2E failures.
@ DW_SENSORS_ERROR_CODE_GPS_MODE
GPS sensor working mode error.
@ DW_SENSOR_ERROR_STATE_MACHINE_DISABLED
State machine is disabled.
@ DW_RADAR_ERROR_CODE_END_INDEX
Radar specific errors: end index.
Holds sets of parameters for sensor creation.
A seek structure is made of memory offset, eventcount and timestamp.