Provides an interface for non-standard IMU sensors.
◆ dwSensorIMUPluginFunctionTable
struct dwSensorIMUPluginFunctionTable |
◆ dwSensorIMUPlugin_parseDataBuffer
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
- Parameters
-
[out] | frame | Interpreted IMU frame |
[out] | consumed | Number of raw bytes (including header) consumed to successfully parse the frame |
[in] | sensor | Specifies the sensor the data came from. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_NOT_AVAILABLE - if no frame is ready for consumption DW_SUCCESS
Definition at line 68 of file IMUPlugin.h.
◆ dwSensorIMUPlugin_getFunctionTable()
Gets the handle to functions defined in 'dwSensorIMUPluginFunctionTable' structure.
- Parameters
-
[out] | functions | A pointer to the function table |
- Returns
- DW_INVALID_ARGUMENT - if pointer to the function table is NULL.
DW_SUCCESS