Functions
sbgEComCmdAirData.c File Reference
#include <streamBuffer/sbgStreamBuffer.h>
#include "transfer/sbgEComTransfer.h"
#include "sbgEComCmdAirData.h"
Include dependency graph for sbgEComCmdAirData.c:

Go to the source code of this file.

Functions

SbgErrorCode sbgEComCmdAirDataGetLeverArm (SbgEComHandle *pHandle, float *pLeverArm)
 
SbgErrorCode sbgEComCmdAirDataGetModelId (SbgEComHandle *pHandle, SbgEComAirDataModelsIds *pModelId)
 
SbgErrorCode sbgEComCmdAirDataGetRejection (SbgEComHandle *pHandle, SbgEComAirDataRejectionConf *pRejectConf)
 
SbgErrorCode sbgEComCmdAirDataSetLeverArm (SbgEComHandle *pHandle, const float *pLeverArm)
 
SbgErrorCode sbgEComCmdAirDataSetModelId (SbgEComHandle *pHandle, SbgEComAirDataModelsIds modelId)
 
SbgErrorCode sbgEComCmdAirDataSetRejection (SbgEComHandle *pHandle, const SbgEComAirDataRejectionConf *pRejectConf)
 

Function Documentation

SbgErrorCode sbgEComCmdAirDataGetLeverArm ( SbgEComHandle pHandle,
float *  pLeverArm 
)

Retrieve the lever arm configuration of the AirData module.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pLeverArmReturns the airspeed sensor X,Y,Z lever arm in meters from the pitot sensor to the IMU.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 112 of file sbgEComCmdAirData.c.

SbgErrorCode sbgEComCmdAirDataGetModelId ( SbgEComHandle pHandle,
SbgEComAirDataModelsIds pModelId 
)

Retrieve the AirData model id currently in use by the device.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pModelIdReturns the AirData model ID currently in use by the device.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 21 of file sbgEComCmdAirData.c.

SbgErrorCode sbgEComCmdAirDataGetRejection ( SbgEComHandle pHandle,
SbgEComAirDataRejectionConf pRejectConf 
)

Retrieve the current rejection configuration of the AirData module.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pRejectConfReturn the rejection configuration currently in use.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 248 of file sbgEComCmdAirData.c.

SbgErrorCode sbgEComCmdAirDataSetLeverArm ( SbgEComHandle pHandle,
const float *  pLeverArm 
)

Set the lever arm configuration of the AirData module.

Parameters
[in]pHandleA valid sbgECom handle.
[in]pLeverArmThe X, Y, Z airspeed sensor lever arm in meters from the pitot sensor to the IMU.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 39 of file sbgEComCmdAirData.c.

SbgErrorCode sbgEComCmdAirDataSetModelId ( SbgEComHandle pHandle,
SbgEComAirDataModelsIds  modelId 
)

Set the AirData model to use that both defines the protocol as well as the associated error model.

Parameters
[in]pHandleA valid sbgECom handle.
[in]modelIdAirData model ID to set
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 14 of file sbgEComCmdAirData.c.

SbgErrorCode sbgEComCmdAirDataSetRejection ( SbgEComHandle pHandle,
const SbgEComAirDataRejectionConf pRejectConf 
)

Set the rejection configuration of the AirData module (this command doesn't need a reboot to be applied)

Parameters
[in]pHandleA valid sbgECom handle.
[out]pRejectConfThe new rejection configuration to set.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 176 of file sbgEComCmdAirData.c.



sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22