Fundamental types associated with Calibration.
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... | |
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 struct dwCalibrationEngineObject* dwCalibrationEngineHandle_t |
Definition at line 63 of file CalibrationTypes.h.
typedef struct dwCalibrationRoutineObject* dwCalibrationRoutineHandle_t |
Handles to calibration module objects.
Definition at line 62 of file CalibrationTypes.h.
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.
enum dwCalibrationSignal |
Defines signal types supported by a calibration routine.
Definition at line 115 of file CalibrationTypes.h.
enum dwCalibrationState |
Defines the current state of an individual calibration.
Definition at line 68 of file CalibrationTypes.h.
DW_API_PUBLIC dwStatus dwCalibrationState_toString | ( | const char ** | str, |
dwCalibrationState | state | ||
) |
Converts a calibration state enum to a human-readable string representation.
str | the returned string |
state | the state to translate |