This file implements SbgECom commands related to sensor. More...
#include "sbgEComCmdCommon.h"
Go to the source code of this file.
Classes | |
struct | _SbgEComAidingAssignConf |
struct | _SbgEComInitConditionConf |
struct | _SbgEComSensorAlignmentInfo |
Typedefs | |
typedef struct _SbgEComAidingAssignConf | SbgEComAidingAssignConf |
typedef struct _SbgEComInitConditionConf | SbgEComInitConditionConf |
typedef enum _SbgEComModulePortAssignment | SbgEComModulePortAssignment |
typedef enum _SbgEComModuleSyncAssignment | SbgEComModuleSyncAssignment |
typedef enum _SbgEComMotionProfileStdIds | SbgEComMotionProfileStdIds |
typedef enum _SbgEComOdometerPinAssignment | SbgEComOdometerPinAssignment |
typedef struct _SbgEComSensorAlignmentInfo | SbgEComSensorAlignmentInfo |
Enumerations | |
enum | _SbgEComModulePortAssignment { SBG_ECOM_MODULE_PORT_B = 1, SBG_ECOM_MODULE_PORT_C = 2, SBG_ECOM_MODULE_PORT_D = 3, SBG_ECOM_MODULE_INTERNAL = 5, SBG_ECOM_MODULE_DISABLED = 0xFF } |
enum | _SbgEComModuleSyncAssignment { SBG_ECOM_MODULE_SYNC_DISABLED = 0, SBG_ECOM_MODULE_SYNC_IN_A = 1, SBG_ECOM_MODULE_SYNC_IN_B = 2, SBG_ECOM_MODULE_SYNC_IN_C = 3, SBG_ECOM_MODULE_SYNC_IN_D = 4, SBG_ECOM_MODULE_SYNC_INTERNAL = 5, SBG_ECOM_MODULE_SYNC_OUT_A = 6, SBG_ECOM_MODULE_SYNC_OUT_B = 7 } |
enum | _SbgEComMotionProfileStdIds { SBG_ECOM_MOTION_PROFILE_GENERAL_PURPOSE = 1, SBG_ECOM_MOTION_PROFILE_AUTOMOTIVE = 2, SBG_ECOM_MOTION_PROFILE_MARINE = 3, SBG_ECOM_MOTION_PROFILE_AIRPLANE = 4, SBG_ECOM_MOTION_PROFILE_HELICOPTER = 5, SBG_ECOM_MOTION_PROFILE_UAV_ROTARY_WING = 7 } |
enum | _SbgEComOdometerPinAssignment { SBG_ECOM_MODULE_ODO_DISABLED = 0, SBG_ECOM_MODULE_ODO_A = 1, SBG_ECOM_MODULE_ODO_A_B = 2 } |
This file implements SbgECom commands related to sensor.
Copyright (C) 2007-2013, 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.
Definition in file sbgEComCmdSensor.h.
typedef struct _SbgEComAidingAssignConf SbgEComAidingAssignConf |
Helper structure for module assignments
typedef struct _SbgEComInitConditionConf SbgEComInitConditionConf |
Helper structure for sensor Initial condition details
typedef enum _SbgEComModulePortAssignment SbgEComModulePortAssignment |
Ports available for the modules.
typedef enum _SbgEComModuleSyncAssignment SbgEComModuleSyncAssignment |
Synchronization signals available for the modules.
typedef enum _SbgEComMotionProfileStdIds SbgEComMotionProfileStdIds |
This enum defines the different motion profile IDs available in standard
List of configurations available for the odometer.
typedef struct _SbgEComSensorAlignmentInfo SbgEComSensorAlignmentInfo |
Helper structure for sensor alignment details
Ports available for the modules.
Definition at line 32 of file sbgEComCmdSensor.h.
Synchronization signals available for the modules.
Definition at line 44 of file sbgEComCmdSensor.h.
This enum defines the different motion profile IDs available in standard
Definition at line 69 of file sbgEComCmdSensor.h.
List of configurations available for the odometer.
Definition at line 59 of file sbgEComCmdSensor.h.
SBG_DEPRECATED | ( | SbgErrorCode | sbgEComCmdSensorSetMotionProfileSbgEComHandle *pHandle, const void *pBuffer, uint32 size | ) |
DEPRECATED FUNCTION. Please use sbgEComCmdSensorSetMotionProfileId instead Set the motion profile (as a raw buffer) to use by the device. The new configuration will only be applied after SBG_ECOM_CMD_SETTINGS_ACTION (01) command is issued, with SBG_ECOM_SAVE_SETTINGS parameter.
[in] | pHandle | A valid sbgECom handle. |
[in] | pBuffer | Read only buffer containing the motion profile buffer. |
[in] | size | Size of the buffer. |
SbgErrorCode sbgEComCmdSensorGetAidingAssignment | ( | SbgEComHandle * | pHandle, |
SbgEComAidingAssignConf * | pConf | ||
) |
Retrieve the assignment of the aiding sensors.
[in] | pHandle | A valid sbgECom handle. |
[out] | pConf | Pointer to a SbgEComAidingAssignConf to contain the current assignment of the aiding sensors. |
< Reserved fields to ignore
< Reserved field to ignore
Definition at line 230 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorGetAlignmentAndLeverArm | ( | SbgEComHandle * | pHandle, |
SbgEComSensorAlignmentInfo * | pAlignConf, | ||
float | leverArm[3] | ||
) |
Retrieve the alignment and lever arm configuration of the sensor.
[in] | pHandle | A valid sbgECom handle. |
[out] | pAlignConf | Pointer to a SbgEComSensorAlignmentInfo struct to hold alignment configuration of the sensor. |
[out] | leverArm | Pointer to a table to contain lever arm X, Y, Z components in meters. |
Definition at line 400 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorGetInitCondition | ( | SbgEComHandle * | pHandle, |
SbgEComInitConditionConf * | pConf | ||
) |
Retrieve the initial conditions settings.
[in] | pHandle | A valid sbgECom handle. |
[out] | pConf | Pointer to a SbgEComInitConditionConf to contain the current initial conditions settings. |
Definition at line 61 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorGetMotionProfileInfo | ( | SbgEComHandle * | pHandle, |
SbgEComModelInfo * | pModelInfo | ||
) |
Retrieve Motion profile information.
[in] | pHandle | A valid sbgECom handle. |
[out] | pMotionProfileInfo | Pointer to a SbgEComModelInfo to contain the current motion profile info. |
Definition at line 30 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorSetAidingAssignment | ( | SbgEComHandle * | pHandle, |
const SbgEComAidingAssignConf * | pConf | ||
) |
Set the assignment of the aiding sensors.
[in] | pHandle | A valid sbgECom handle. |
[out] | pConf | Pointer to a SbgEComAidingAssignConf containing the new assignment of the aiding sensors. |
Definition at line 315 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorSetAlignmentAndLeverArm | ( | SbgEComHandle * | pHandle, |
const SbgEComSensorAlignmentInfo * | pAlignConf, | ||
const float | leverArm[3] | ||
) |
Set the alignment and lever arm configuration of the sensor.
[in] | pHandle | A valid sbgECom handle. |
[in] | pAlignConf | Pointer to a SbgEComSensorAlignmentInfo struct holding alignment configuration for the sensor. |
[in] | leverArm | Pointer to a table containing lever arm X, Y, Z components in meters. |
Definition at line 488 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorSetInitCondition | ( | SbgEComHandle * | pHandle, |
const SbgEComInitConditionConf * | pConf | ||
) |
Set the initial condition configuration.
[in] | pHandle | A valid sbgECom handle. |
[in] | pConf | Pointer to a SbgEComInitConditionConf containing the new initial condition configuration. |
Definition at line 146 of file sbgEComCmdSensor.c.
SbgErrorCode sbgEComCmdSensorSetMotionProfileId | ( | SbgEComHandle * | pHandle, |
uint32 | id | ||
) |
Set a Motion profile ID
[in] | pHandle | A valid sbgECom handle. |
Definition at line 15 of file sbgEComCmdSensor.c.