Functions
sbgEComBinaryLogImu.c File Reference
#include "sbgEComBinaryLogImu.h"
Include dependency graph for sbgEComBinaryLogImu.c:

Go to the source code of this file.

Functions

SbgErrorCode sbgEComBinaryLogParseFastImuData (SbgStreamBuffer *pInputStream, SbgLogFastImuData *pOutputData)
 
SbgErrorCode sbgEComBinaryLogParseImuData (SbgStreamBuffer *pInputStream, SbgLogImuData *pOutputData)
 
SbgErrorCode sbgEComBinaryLogParseImuShort (SbgStreamBuffer *pInputStream, SbgLogImuShort *pOutputData)
 
SbgErrorCode sbgEComBinaryLogWriteFastImuData (SbgStreamBuffer *pOutputStream, const SbgLogFastImuData *pInputData)
 
SbgErrorCode sbgEComBinaryLogWriteImuData (SbgStreamBuffer *pOutputStream, const SbgLogImuData *pInputData)
 
SbgErrorCode sbgEComBinaryLogWriteImuShort (SbgStreamBuffer *pOutputStream, const SbgLogImuShort *pInputData)
 
float sbgLogImuShortGetDeltaAngle (const SbgLogImuShort *pImuShort, size_t idx)
 
float sbgLogImuShortGetDeltaVelocity (const SbgLogImuShort *pImuShort, size_t idx)
 
float sbgLogImuShortGetTemperature (const SbgLogImuShort *pImuShort)
 

Function Documentation

◆ sbgEComBinaryLogParseFastImuData()

SbgErrorCode sbgEComBinaryLogParseFastImuData ( SbgStreamBuffer pInputStream,
SbgLogFastImuData pOutputData 
)

Parse data for the SBG_ECOM_LOG_FAST_IMU_DATA message and fill the corresponding structure.

Parameters
[in]pInputStreamInput stream buffer to read the payload from.
[out]pOutputDataPointer on the output structure that stores parsed data.
Returns
SBG_NO_ERROR if the payload has been parsed.

Definition at line 205 of file sbgEComBinaryLogImu.c.

◆ sbgEComBinaryLogParseImuData()

SbgErrorCode sbgEComBinaryLogParseImuData ( SbgStreamBuffer pInputStream,
SbgLogImuData pOutputData 
)

Parse data for the SBG_ECOM_LOG_IMU_DATA message and fill the corresponding structure.

Parameters
[in]pInputStreamInput stream buffer to read the payload from.
[out]pOutputDataPointer on the output structure that stores parsed data.
Returns
SBG_NO_ERROR if the payload has been parsed.

Definition at line 57 of file sbgEComBinaryLogImu.c.

◆ sbgEComBinaryLogParseImuShort()

SbgErrorCode sbgEComBinaryLogParseImuShort ( SbgStreamBuffer pInputStream,
SbgLogImuShort pOutputData 
)

Parse data for the SBG_ECOM_LOG_IMU_SHORT message and fill the corresponding structure.

Parameters
[in]pInputStreamInput stream buffer to read the payload from.
[out]pOutputDataPointer on the output structure that stores parsed data.
Returns
SBG_NO_ERROR if the payload has been parsed.

Definition at line 139 of file sbgEComBinaryLogImu.c.

◆ sbgEComBinaryLogWriteFastImuData()

SbgErrorCode sbgEComBinaryLogWriteFastImuData ( SbgStreamBuffer pOutputStream,
const SbgLogFastImuData pInputData 
)

Write data for the SBG_ECOM_LOG_FAST_IMU_DATA message to the output stream buffer from the provided structure.

Parameters
[out]pOutputStreamOutput stream buffer to write the payload to.
[in]pInputDataPointer on the input structure that stores data to write.
Returns
SBG_NO_ERROR if the message has been generated in the provided buffer.

Definition at line 236 of file sbgEComBinaryLogImu.c.

◆ sbgEComBinaryLogWriteImuData()

SbgErrorCode sbgEComBinaryLogWriteImuData ( SbgStreamBuffer pOutputStream,
const SbgLogImuData pInputData 
)

Write data for the SBG_ECOM_LOG_IMU_DATA message to the output stream buffer from the provided structure.

Parameters
[out]pOutputStreamOutput stream buffer to write the payload to.
[in]pInputDataPointer on the input structure that stores data to write.
Returns
SBG_NO_ERROR if the message has been generated in the provided buffer.

Definition at line 98 of file sbgEComBinaryLogImu.c.

◆ sbgEComBinaryLogWriteImuShort()

SbgErrorCode sbgEComBinaryLogWriteImuShort ( SbgStreamBuffer pOutputStream,
const SbgLogImuShort pInputData 
)

Write data for the SBG_ECOM_LOG_IMU_SHORT message to the output stream buffer from the provided structure.

Parameters
[out]pOutputStreamOutput stream buffer to write the payload to.
[in]pInputDataPointer on the input structure that stores data to write.
Returns
SBG_NO_ERROR if the message has been generated in the provided buffer.

Definition at line 172 of file sbgEComBinaryLogImu.c.

◆ sbgLogImuShortGetDeltaAngle()

float sbgLogImuShortGetDeltaAngle ( const SbgLogImuShort pImuShort,
size_t  idx 
)

Return from an IMU Short log, the X, Y or Z delta angle value in rad.s^-1

Parameters
[in]pImuShortInput IMU short message instance.
[in]idxThe component to return from 0 to 2.
Returns
The delta angle value converted in rad.s^-1.

Definition at line 13 of file sbgEComBinaryLogImu.c.

◆ sbgLogImuShortGetDeltaVelocity()

float sbgLogImuShortGetDeltaVelocity ( const SbgLogImuShort pImuShort,
size_t  idx 
)

Return from an IMU Short log, the X, Y or Z delta velocity value in m.s^-2

Parameters
[in]pImuShortInput IMU short message instance.
[in]idxThe component to return from 0 to 2.
Returns
The delta velocity value converted in m.s^-2.

Definition at line 27 of file sbgEComBinaryLogImu.c.

◆ sbgLogImuShortGetTemperature()

float sbgLogImuShortGetTemperature ( const SbgLogImuShort pImuShort)

Return from an IMU Short log, the temperature in °C

Parameters
[in]pImuShortInput IMU short message instance.
Returns
The converted temperature in °C

Definition at line 40 of file sbgEComBinaryLogImu.c.



sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:36