DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

Calibration Types

Detailed Description

Fundamental types associated with Calibration.

Note
SW Release Applicability: These APIs are available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Data Structures

struct  dwCalibrationStatus
 Defines the current status of an individual calibration. More...
 

Typedefs

typedef struct dwCalibrationEngineObject * dwCalibrationEngineHandle_t
 
typedef struct dwCalibrationRoutineObject * dwCalibrationRoutineHandle_t
 Handles to calibration module objects. More...
 
typedef void(* dwCalibrationStatusChanged) (dwCalibrationRoutineHandle_t routine, dwCalibrationStatus status, void *userData)
 Defines a callback function that is called when calibration routine has changed its internal status. More...
 

Enumerations

enum  dwCalibrationSignal {
  DW_CALIBRATION_SIGNAL_POSE_SENSOR_TO_RIG = 1 << 1,
  DW_CALIBRATION_SIGNAL_POSE_SENSOR_TO_SENSOR = 1 << 2,
  DW_CALIBRATION_SIGNAL_POSE_ROLL = 1 << 3,
  DW_CALIBRATION_SIGNAL_POSE_PITCH = 1 << 4,
  DW_CALIBRATION_SIGNAL_POSE_YAW = 1 << 5,
  DW_CALIBRATION_SIGNAL_POSE_X = 1 << 6,
  DW_CALIBRATION_SIGNAL_POSE_Y = 1 << 7,
  DW_CALIBRATION_SIGNAL_POSE_Z = 1 << 8,
  DW_CALIBRATION_SIGNAL_VEHICLE_SPEED_FACTOR = 1 << 9,
  DW_CALIBRATION_SIGNAL_VEHICLE_WHEEL_RADII = 1 << 10,
  DW_CALIBRATION_SIGNAL_VEHICLE_FRONT_STEERING_OFFSET = 1 << 11
}
 Defines signal types supported by a calibration routine. More...
 
enum  dwCalibrationState {
  DW_CALIBRATION_STATE_NOT_ACCEPTED = 0,
  DW_CALIBRATION_STATE_ACCEPTED = 1,
  DW_CALIBRATION_STATE_FAILED = 2
}
 Defines the current state of an individual calibration. More...
 

Functions

DW_API_PUBLIC dwStatus dwCalibrationState_toString (const char **str, dwCalibrationState state)
 Converts a calibration state enum to a human-readable string representation. More...
 

Data Structure Documentation

◆ dwCalibrationStatus

struct dwCalibrationStatus
Data Fields
float32_t percentageComplete The current calibration percentage complete status. Valid percentages are in the range [0,1].
bool started Flag indicating whether a calibration routine is running.
dwCalibrationState state The current state of a calibration routine.

Typedef Documentation

◆ dwCalibrationEngineHandle_t

typedef struct dwCalibrationEngineObject* dwCalibrationEngineHandle_t

Definition at line 63 of file CalibrationTypes.h.

◆ dwCalibrationRoutineHandle_t

typedef struct dwCalibrationRoutineObject* dwCalibrationRoutineHandle_t

Handles to calibration module objects.

Definition at line 62 of file CalibrationTypes.h.

◆ dwCalibrationStatusChanged

typedef void(* dwCalibrationStatusChanged) (dwCalibrationRoutineHandle_t routine, dwCalibrationStatus status, void *userData)

Defines a callback function that is called when calibration routine has changed its internal status.

Definition at line 108 of file CalibrationTypes.h.

Enumeration Type Documentation

◆ dwCalibrationSignal

Defines signal types supported by a calibration routine.

Enumerator
DW_CALIBRATION_SIGNAL_POSE_SENSOR_TO_RIG 

Pose-related signals and pose components.

DW_CALIBRATION_SIGNAL_POSE_SENSOR_TO_SENSOR 

estimating a "sensor to rig" pose

DW_CALIBRATION_SIGNAL_POSE_ROLL 

estimating "sensor to sensor" poses

DW_CALIBRATION_SIGNAL_POSE_PITCH 

estimating the roll component of an orientation

DW_CALIBRATION_SIGNAL_POSE_YAW 

estimating the pitch component of an orientation

DW_CALIBRATION_SIGNAL_POSE_X 

estimating the yaw component of an orientation

DW_CALIBRATION_SIGNAL_POSE_Y 

estimating the x component of a translation / direction

DW_CALIBRATION_SIGNAL_POSE_Z 

estimating the y component of a translation / direction

DW_CALIBRATION_SIGNAL_VEHICLE_SPEED_FACTOR 

estimating the z component of a translation / direction

Vehicle-related signals

DW_CALIBRATION_SIGNAL_VEHICLE_WHEEL_RADII 

estimating speed correction factor for CAN odometry

DW_CALIBRATION_SIGNAL_VEHICLE_FRONT_STEERING_OFFSET 

estimating wheel radii

Definition at line 115 of file CalibrationTypes.h.

◆ dwCalibrationState

Defines the current state of an individual calibration.

Enumerator
DW_CALIBRATION_STATE_NOT_ACCEPTED 

The routine hasn't accepted an estimate.

DW_CALIBRATION_STATE_ACCEPTED 

The routine has accepted an estimate and calibration continues.

DW_CALIBRATION_STATE_FAILED 

The routine has failed calibration.

Definition at line 68 of file CalibrationTypes.h.

Function Documentation

◆ dwCalibrationState_toString()

DW_API_PUBLIC dwStatus dwCalibrationState_toString ( const char **  str,
dwCalibrationState  state 
)

Converts a calibration state enum to a human-readable string representation.

Parameters
strthe returned string
statethe state to translate
Returns
DW_INVALID_ARGUMENT - if the arguments in the parameters are invalid
DW_SUCCESS