Fundamental types associated with Calibration.
Data Structures | |
struct | dwCalibrationStatus |
Defines the current status of an individual calibration. More... | |
Macros | |
#define | DW_CALIBRATION_MAXROUTINES 64 |
This defines the number of anticipated concurrent calibrations. 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... | |
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. |
#define DW_CALIBRATION_MAXROUTINES 64 |
This defines the number of anticipated concurrent calibrations.
Definition at line 60 of file CalibrationTypes.h.
typedef struct dwCalibrationEngineObject* dwCalibrationEngineHandle_t |
Definition at line 66 of file CalibrationTypes.h.
typedef struct dwCalibrationRoutineObject* dwCalibrationRoutineHandle_t |
Handles to calibration module objects.
Definition at line 65 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 111 of file CalibrationTypes.h.
Fast-acceptance options to configure calibration routines with.
If previously accepted estimates are available, fast-acceptance is a method to reduce re-calibration times in case the previous estimates can be validated with latest measurements. This option allows to configure the fast-acceptance behaviour of calibration routines supporting fast-acceptance
Definition at line 142 of file CalibrationTypes.h.
enum dwCalibrationSignal |
Defines signal types supported by a calibration routine.
Definition at line 118 of file CalibrationTypes.h.
enum dwCalibrationState |
Defines the current state of an individual calibration.
Definition at line 71 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 |