sbgECom
1.11.920-stable
|
This file implements sbgECom commands related to AirData module. More...
Go to the source code of this file.
Data Structures | |
struct | _SbgEComAirDataRejectionConf |
Typedefs | |
typedef enum _SbgEComAirDataModelsIds | SbgEComAirDataModelsIds |
typedef struct _SbgEComAirDataRejectionConf | SbgEComAirDataRejectionConf |
Enumerations | |
enum | _SbgEComAirDataModelsIds { SBG_ECOM_AIR_DATA_MODEL_INTERNAL = 1, SBG_ECOM_AIR_DATA_MODEL_GENERIC_ECOM = 2, SBG_ECOM_AIR_DATA_MODEL_AHRS_500 = 3 } |
Functions | |
SbgErrorCode | sbgEComCmdAirDataSetModelId (SbgEComHandle *pHandle, SbgEComAirDataModelsIds modelId) |
SbgErrorCode | sbgEComCmdAirDataGetModelId (SbgEComHandle *pHandle, SbgEComAirDataModelsIds *pModelId) |
SbgErrorCode | sbgEComCmdAirDataSetLeverArm (SbgEComHandle *pHandle, const float *pLeverArm) |
SbgErrorCode | sbgEComCmdAirDataGetLeverArm (SbgEComHandle *pHandle, float *pLeverArm) |
SbgErrorCode | sbgEComCmdAirDataSetRejection (SbgEComHandle *pHandle, const SbgEComAirDataRejectionConf *pRejectConf) |
SbgErrorCode | sbgEComCmdAirDataGetRejection (SbgEComHandle *pHandle, SbgEComAirDataRejectionConf *pRejectConf) |
This file implements sbgECom commands related to AirData module.
Copyright (C) 2007-2019, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
typedef enum _SbgEComAirDataModelsIds SbgEComAirDataModelsIds |
This enum defines the different AirData model IDs available in standard
typedef struct _SbgEComAirDataRejectionConf SbgEComAirDataRejectionConf |
Holds all necessary information for AirData module data rejection.
This enum defines the different AirData model IDs available in standard
SbgErrorCode sbgEComCmdAirDataSetModelId | ( | SbgEComHandle * | pHandle, |
SbgEComAirDataModelsIds | modelId | ||
) |
Set the AirData model to use that both defines the protocol as well as the associated error model.
[in] | pHandle | A valid sbgECom handle. |
[in] | modelId | AirData model ID to set |
SbgErrorCode sbgEComCmdAirDataGetModelId | ( | SbgEComHandle * | pHandle, |
SbgEComAirDataModelsIds * | pModelId | ||
) |
Retrieve the AirData model id currently in use by the device.
[in] | pHandle | A valid sbgECom handle. |
[out] | pModelId | Returns the AirData model ID currently in use by the device. |
SbgErrorCode sbgEComCmdAirDataSetLeverArm | ( | SbgEComHandle * | pHandle, |
const float * | pLeverArm | ||
) |
Set the lever arm configuration of the AirData module.
[in] | pHandle | A valid sbgECom handle. |
[in] | pLeverArm | The X, Y, Z airspeed sensor lever arm in meters from the pitot sensor to the IMU. |
SbgErrorCode sbgEComCmdAirDataGetLeverArm | ( | SbgEComHandle * | pHandle, |
float * | pLeverArm | ||
) |
Retrieve the lever arm configuration of the AirData module.
[in] | pHandle | A valid sbgECom handle. |
[out] | pLeverArm | Returns the airspeed sensor X,Y,Z lever arm in meters from the pitot sensor to the IMU. |
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)
[in] | pHandle | A valid sbgECom handle. |
[out] | pRejectConf | The new rejection configuration to set. |
SbgErrorCode sbgEComCmdAirDataGetRejection | ( | SbgEComHandle * | pHandle, |
SbgEComAirDataRejectionConf * | pRejectConf | ||
) |
Retrieve the current rejection configuration of the AirData module.
[in] | pHandle | A valid sbgECom handle. |
[out] | pRejectConf | Return the rejection configuration currently in use. |