NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
Ultrasonic Sensor

Detailed Description

Defines the Ultrasonic sensor.

Data Structures

struct  dwUltrasonicMountingPositions
 Set of mounting parameters for each sensor. More...
 
struct  dwUltrasonicProperties
 Contextual information of the ultrasonic sensors currently used. More...
 
struct  dwUltrasonicEnvelope
 Data structure containing all relevant information about a single envelope measurement. More...
 
struct  dwUltrasonicObject
 Data structure containing all relevant information about a single object measurement. More...
 
struct  dwUltrasonicObjectArray
 objects array More...
 
struct  dwUltrasonicFrame
 container of Ultrasonic outputs More...
 
struct  dwUltrasonicGroup
 Set of ultrasonic envelopes. More...
 
struct  dwUltrasonicModeControlFeedback
 Feedback channel for perception consumers to influence the mode control of the ultrasonic sensors. More...
 
struct  dwUltrasonicModeDebouncer
 Debouncer for dwUltrasonicModeControlFeedback received from user. More...
 
struct  dwUltrasonicVehicleProperties
 Container for dwUltrasonicVehicleProperties received from rig. More...
 

Modules

 Ultrasonic API
 API functions for C language.
 

Macros

#define DW_ULTRASONIC_MAX_SAMPLE_SIZE   320
 The maximum envelope sample array size of any vendor, to allow compile time declarations. More...
 
#define DW_ULTRASONIC_MAX_NUM_SIGNAL_WAYS   32
 The maximum number of signal ways in one cycle of any vendor, to allow compile time declarations. More...
 
#define DW_ULTRASONIC_MAX_NUM_SENSORS   12
 The maximum number of sensors of any vendor, to allow compile time declarations. More...
 
#define DW_ULTRASONIC_MAX_NUM_BOUNDARY_POINTS   10
 The maximum number of vertexes to describe an ultrasonic object shape. More...
 
#define DW_ULTRASONIC_MAX_NUM_OBJECTS   32
 The maximum number of tracked objects. More...
 

Typedefs

typedef struct dwUltrasonicMountingPositions dwUltrasonicMountingPositions
 Set of mounting parameters for each sensor. More...
 
typedef struct dwUltrasonicProperties dwUltrasonicProperties
 Contextual information of the ultrasonic sensors currently used. More...
 
typedef enum dwUltrasonicMeasurementMode dwUltrasonicMeasurementMode
 Measurement modes that define the transmission frequencies and firing patterns. More...
 
typedef enum dwUltrasonicNearRangeDetectionStatus dwUltrasonicNearRangeDetectionStatus
 Status to indicate whether the ultrasonic system could estimate a near range detection or not. More...
 
typedef enum dwUltrasonicState dwUltrasonicState
 The health states of various parts of the ultrasonic pipeline. More...
 
typedef enum dwUltrasonicSignalState dwUltrasonicSignalState
 Common signal status. More...
 
typedef enum dwUltrasonicTrend dwUltrasonicTrend
 The possible motion trends of ultrasonic objects. More...
 
typedef enum dwUltrasonicHeightClass dwUltrasonicHeightClass
 The possible height classes of ultrasonic objects. More...
 
typedef enum dwUltrasonicOutputType dwUltrasonicOutputType
 Ultrasonic output types. More...
 
typedef struct dwUltrasonicEnvelope dwUltrasonicEnvelope
 Data structure containing all relevant information about a single envelope measurement. More...
 
typedef struct dwUltrasonicObject dwUltrasonicObject
 Data structure containing all relevant information about a single object measurement. More...
 
typedef struct dwUltrasonicObjectArray dwUltrasonicObjectArray
 objects array More...
 
typedef struct dwUltrasonicFrame dwUltrasonicFrame
 container of Ultrasonic outputs More...
 
typedef struct dwUltrasonicGroup dwUltrasonicGroup
 Set of ultrasonic envelopes. More...
 
typedef struct dwUltrasonicModeControlFeedback dwUltrasonicModeControlFeedback
 Feedback channel for perception consumers to influence the mode control of the ultrasonic sensors. More...
 
typedef struct dwUltrasonicModeDebouncer dwUltrasonicModeDebouncer
 Debouncer for dwUltrasonicModeControlFeedback received from user. More...
 
typedef struct dwUltrasonicVehicleProperties dwUltrasonicVehicleProperties
 Container for dwUltrasonicVehicleProperties received from rig. More...
 

Enumerations

enum  dwUltrasonicMeasurementMode {
  DW_ULTRASONIC_MEASURE_MODE_UNKNOWN = 0,
  DW_ULTRASONIC_MEASURE_MODE_DUAL_AM_LOW = 1,
  DW_ULTRASONIC_MEASURE_MODE_DUAL_AM_HIGH = 2,
  DW_ULTRASONIC_MEASURE_MODE_DUAL_CHIRP_LOW = 3,
  DW_ULTRASONIC_MEASURE_MODE_DUAL_CHIRP_HIGH = 4,
  DW_ULTRASONIC_MEASURE_MODE_SINGLE_CHIRP_UP = 5,
  DW_ULTRASONIC_MEASURE_MODE_SINGLE_CHIRP_DOWN = 6
}
 Measurement modes that define the transmission frequencies and firing patterns. More...
 
enum  dwUltrasonicNearRangeDetectionStatus {
  DW_ULTRASONIC_NEAR_RANGE_UNAVAILABLE = 0,
  DW_ULTRASONIC_NEAR_RANGE_NO_DETECTION = 1,
  DW_ULTRASONIC_NEAR_RANGE_VALID_DETECTION = 2
}
 Status to indicate whether the ultrasonic system could estimate a near range detection or not. More...
 
enum  dwUltrasonicState {
  DW_ULTRASONIC_STATE_DEGRADED_UNSPECIFIED = 0,
  DW_ULTRASONIC_STATE_ERROR = 1,
  DW_ULTRASONIC_STATE_NOT_AVAIALBLE = 2,
  DW_ULTRASONIC_STATE_AVAILABLE = 3,
  DW_ULTRASONIC_STATE_MAX_NUM_STATES = 4
}
 The health states of various parts of the ultrasonic pipeline. More...
 
enum  dwUltrasonicSignalState {
  DW_ULTRASONIC_SIGNAL_STATE_INIT_UNSPECIFIED = 0,
  DW_ULTRASONIC_SIGNAL_STATE_VALID = 1,
  DW_ULTRASONIC_SIGNAL_STATE_INVALID = 2,
  DW_ULTRASONIC_SIGNAL_STATE_TIMEOUT = 3,
  DW_ULTRASONIC_SIGNAL_STATE_MAX_NUM_SIGNAL_STATES = 4
}
 Common signal status. More...
 
enum  dwUltrasonicTrend {
  DW_ULTRASONIC_TREND_UNKNOWN_UNSPECIFIED = 0,
  DW_ULTRASONIC_TREND_APPROACHING = 1,
  DW_ULTRASONIC_TREND_RETREATING = 2,
  DW_ULTRASONIC_TREND_STATIC = 3,
  DW_ULTRASONIC_TREND_MAX_NUM_TRENDS = 4
}
 The possible motion trends of ultrasonic objects. More...
 
enum  dwUltrasonicHeightClass {
  DW_ULTRASONIC_HEIGHT_CLASS_UNKNOWN_UNSPECIFIED = 0,
  DW_ULTRASONIC_HEIGHT_CLASS_LOW = 1,
  DW_ULTRASONIC_HEIGHT_CLASS_HIGH = 2,
  DW_ULTRASONIC_HEIGHT_CLASS_HANGING = 3,
  DW_ULTRASONIC_HEIGHT_CLASS_MAX_NUM_HEIGHT_CLASSES = 4
}
 The possible height classes of ultrasonic objects. More...
 
enum  dwUltrasonicOutputType {
  DW_ULTRASONIC_OUTPUT_TYPE_UNSPECIFIED = 0,
  DW_ULTRASONIC_OUTPUT_TYPE_ENVELOPE = 1,
  DW_ULTRASONIC_OUTPUT_TYPE_OBJECT = 2
}
 Ultrasonic output types. More...
 

Macro Definition Documentation

◆ DW_ULTRASONIC_MAX_NUM_BOUNDARY_POINTS

#define DW_ULTRASONIC_MAX_NUM_BOUNDARY_POINTS   10

The maximum number of vertexes to describe an ultrasonic object shape.

Definition at line 42 of file UltrasonicTypes.h.

◆ DW_ULTRASONIC_MAX_NUM_OBJECTS

#define DW_ULTRASONIC_MAX_NUM_OBJECTS   32

The maximum number of tracked objects.

Definition at line 45 of file UltrasonicTypes.h.

◆ DW_ULTRASONIC_MAX_NUM_SENSORS

#define DW_ULTRASONIC_MAX_NUM_SENSORS   12

The maximum number of sensors of any vendor, to allow compile time declarations.

Definition at line 39 of file UltrasonicTypes.h.

◆ DW_ULTRASONIC_MAX_NUM_SIGNAL_WAYS

#define DW_ULTRASONIC_MAX_NUM_SIGNAL_WAYS   32

The maximum number of signal ways in one cycle of any vendor, to allow compile time declarations.

Definition at line 36 of file UltrasonicTypes.h.

◆ DW_ULTRASONIC_MAX_SAMPLE_SIZE

#define DW_ULTRASONIC_MAX_SAMPLE_SIZE   320

The maximum envelope sample array size of any vendor, to allow compile time declarations.

Definition at line 32 of file UltrasonicTypes.h.

Typedef Documentation

◆ dwUltrasonicEnvelope

Data structure containing all relevant information about a single envelope measurement.

Note
Not available as of current release. Will be added in future releases.

◆ dwUltrasonicFrame

container of Ultrasonic outputs

◆ dwUltrasonicGroup

Set of ultrasonic envelopes.

◆ dwUltrasonicHeightClass

The possible height classes of ultrasonic objects.

◆ dwUltrasonicMeasurementMode

Measurement modes that define the transmission frequencies and firing patterns.

◆ dwUltrasonicModeControlFeedback

Feedback channel for perception consumers to influence the mode control of the ultrasonic sensors.

◆ dwUltrasonicModeDebouncer

◆ dwUltrasonicMountingPositions

Set of mounting parameters for each sensor.

Note
Coordinates and angles are kept separate because they will be used separately

◆ dwUltrasonicNearRangeDetectionStatus

Status to indicate whether the ultrasonic system could estimate a near range detection or not.

◆ dwUltrasonicObject

Data structure containing all relevant information about a single object measurement.

◆ dwUltrasonicObjectArray

objects array

◆ dwUltrasonicOutputType

Ultrasonic output types.

◆ dwUltrasonicProperties

Contextual information of the ultrasonic sensors currently used.

◆ dwUltrasonicSignalState

Common signal status.

◆ dwUltrasonicState

The health states of various parts of the ultrasonic pipeline.

◆ dwUltrasonicTrend

The possible motion trends of ultrasonic objects.

◆ dwUltrasonicVehicleProperties

Enumeration Type Documentation

◆ dwUltrasonicHeightClass

The possible height classes of ultrasonic objects.

Enumerator
DW_ULTRASONIC_HEIGHT_CLASS_UNKNOWN_UNSPECIFIED 
DW_ULTRASONIC_HEIGHT_CLASS_LOW 
DW_ULTRASONIC_HEIGHT_CLASS_HIGH 
DW_ULTRASONIC_HEIGHT_CLASS_HANGING 
DW_ULTRASONIC_HEIGHT_CLASS_MAX_NUM_HEIGHT_CLASSES 

Definition at line 134 of file UltrasonicTypes.h.

◆ dwUltrasonicMeasurementMode

Measurement modes that define the transmission frequencies and firing patterns.

Enumerator
DW_ULTRASONIC_MEASURE_MODE_UNKNOWN 

Measure mode is unknown.

DW_ULTRASONIC_MEASURE_MODE_DUAL_AM_LOW 

Dual am low.

DW_ULTRASONIC_MEASURE_MODE_DUAL_AM_HIGH 

Dual am high.

DW_ULTRASONIC_MEASURE_MODE_DUAL_CHIRP_LOW 

Dual chirp low.

DW_ULTRASONIC_MEASURE_MODE_DUAL_CHIRP_HIGH 

Dual chirp high.

DW_ULTRASONIC_MEASURE_MODE_SINGLE_CHIRP_UP 

Single chirp up.

DW_ULTRASONIC_MEASURE_MODE_SINGLE_CHIRP_DOWN 

Single chirp down.

Definition at line 51 of file UltrasonicTypes.h.

◆ dwUltrasonicNearRangeDetectionStatus

Status to indicate whether the ultrasonic system could estimate a near range detection or not.

Enumerator
DW_ULTRASONIC_NEAR_RANGE_UNAVAILABLE 

Near range detection algorithm is not providing results.

DW_ULTRASONIC_NEAR_RANGE_NO_DETECTION 

Near range detection algorithm is active but does not sense any obstacles.

DW_ULTRASONIC_NEAR_RANGE_VALID_DETECTION 

Near range detection algorithm is active and providing range information.

Definition at line 79 of file UltrasonicTypes.h.

◆ dwUltrasonicOutputType

Ultrasonic output types.

Enumerator
DW_ULTRASONIC_OUTPUT_TYPE_UNSPECIFIED 
DW_ULTRASONIC_OUTPUT_TYPE_ENVELOPE 
DW_ULTRASONIC_OUTPUT_TYPE_OBJECT 

Definition at line 147 of file UltrasonicTypes.h.

◆ dwUltrasonicSignalState

Common signal status.

Enumerator
DW_ULTRASONIC_SIGNAL_STATE_INIT_UNSPECIFIED 
DW_ULTRASONIC_SIGNAL_STATE_VALID 
DW_ULTRASONIC_SIGNAL_STATE_INVALID 
DW_ULTRASONIC_SIGNAL_STATE_TIMEOUT 
DW_ULTRASONIC_SIGNAL_STATE_MAX_NUM_SIGNAL_STATES 

Definition at line 108 of file UltrasonicTypes.h.

◆ dwUltrasonicState

The health states of various parts of the ultrasonic pipeline.

Enumerator
DW_ULTRASONIC_STATE_DEGRADED_UNSPECIFIED 
DW_ULTRASONIC_STATE_ERROR 
DW_ULTRASONIC_STATE_NOT_AVAIALBLE 
DW_ULTRASONIC_STATE_AVAILABLE 
DW_ULTRASONIC_STATE_MAX_NUM_STATES 

Definition at line 95 of file UltrasonicTypes.h.

◆ dwUltrasonicTrend

The possible motion trends of ultrasonic objects.

Enumerator
DW_ULTRASONIC_TREND_UNKNOWN_UNSPECIFIED 
DW_ULTRASONIC_TREND_APPROACHING 
DW_ULTRASONIC_TREND_RETREATING 
DW_ULTRASONIC_TREND_STATIC 
DW_ULTRASONIC_TREND_MAX_NUM_TRENDS 

Definition at line 121 of file UltrasonicTypes.h.