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

Go to the source code of this file.

Functions

SbgErrorCode sbgEComCmdSensorGetAidingAssignment (SbgEComHandle *pHandle, SbgEComAidingAssignConf *pConf)
 
SbgErrorCode sbgEComCmdSensorGetAlignmentAndLeverArm (SbgEComHandle *pHandle, SbgEComSensorAlignmentInfo *pAlignConf, float leverArm[3])
 
SbgErrorCode sbgEComCmdSensorGetInitCondition (SbgEComHandle *pHandle, SbgEComInitConditionConf *pConf)
 
SbgErrorCode sbgEComCmdSensorGetMotionProfileInfo (SbgEComHandle *pHandle, SbgEComModelInfo *pModelInfo)
 
SbgErrorCode sbgEComCmdSensorSetAidingAssignment (SbgEComHandle *pHandle, const SbgEComAidingAssignConf *pConf)
 
SbgErrorCode sbgEComCmdSensorSetAlignmentAndLeverArm (SbgEComHandle *pHandle, const SbgEComSensorAlignmentInfo *pAlignConf, const float leverArm[3])
 
SbgErrorCode sbgEComCmdSensorSetInitCondition (SbgEComHandle *pHandle, const SbgEComInitConditionConf *pConf)
 
SbgErrorCode sbgEComCmdSensorSetMotionProfile (SbgEComHandle *pHandle, const void *pBuffer, uint32 size)
 
SbgErrorCode sbgEComCmdSensorSetMotionProfileId (SbgEComHandle *pHandle, uint32 id)
 

Function Documentation

SbgErrorCode sbgEComCmdSensorGetAidingAssignment ( SbgEComHandle pHandle,
SbgEComAidingAssignConf pConf 
)

Retrieve the assignment of the aiding sensors.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pConfPointer to a SbgEComAidingAssignConf to contain the current assignment of the aiding sensors.
Returns
SBG_NO_ERROR if the command has been executed successfully.

< 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.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pAlignConfPointer to a SbgEComSensorAlignmentInfo struct to hold alignment configuration of the sensor.
[out]leverArmPointer to a table to contain lever arm X, Y, Z components in meters.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 400 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorGetInitCondition ( SbgEComHandle pHandle,
SbgEComInitConditionConf pConf 
)

Retrieve the initial conditions settings.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pConfPointer to a SbgEComInitConditionConf to contain the current initial conditions settings.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 61 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorGetMotionProfileInfo ( SbgEComHandle pHandle,
SbgEComModelInfo pModelInfo 
)

Retrieve Motion profile information.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pMotionProfileInfoPointer to a SbgEComModelInfo to contain the current motion profile info.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 30 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorSetAidingAssignment ( SbgEComHandle pHandle,
const SbgEComAidingAssignConf pConf 
)

Set the assignment of the aiding sensors.

Parameters
[in]pHandleA valid sbgECom handle.
[out]pConfPointer to a SbgEComAidingAssignConf containing the new assignment of the aiding sensors.
Returns
SBG_NO_ERROR if the command has been executed successfully.

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.

Parameters
[in]pHandleA valid sbgECom handle.
[in]pAlignConfPointer to a SbgEComSensorAlignmentInfo struct holding alignment configuration for the sensor.
[in]leverArmPointer to a table containing lever arm X, Y, Z components in meters.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 488 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorSetInitCondition ( SbgEComHandle pHandle,
const SbgEComInitConditionConf pConf 
)

Set the initial condition configuration.

Parameters
[in]pHandleA valid sbgECom handle.
[in]pConfPointer to a SbgEComInitConditionConf containing the new initial condition configuration.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 146 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorSetMotionProfile ( SbgEComHandle 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.

Parameters
[in]pHandleA valid sbgECom handle.
[in]pBufferRead only buffer containing the motion profile buffer.
[in]sizeSize of the buffer.
Returns
SBG_NO_ERROR if the command has been executed successfully.

Definition at line 47 of file sbgEComCmdSensor.c.

SbgErrorCode sbgEComCmdSensorSetMotionProfileId ( SbgEComHandle pHandle,
uint32  id 
)

Set a Motion profile ID

Parameters
[in]pHandleA valid sbgECom handle.

Definition at line 15 of file sbgEComCmdSensor.c.



sbg_driver
Author(s):
autogenerated on Sun Jan 27 2019 03:42:20