sbgECom Library
4.0.1987-stable
C library to interface SBG Systems IMU/AHRS/INS
|
AirData aiding module configuration commands. 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) |
AirData aiding module configuration commands.
The MIT license
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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. |