本文整理汇总了C++中UAVObjSetDataField函数的典型用法代码示例。如果您正苦于以下问题:C++ UAVObjSetDataField函数的具体用法?C++ UAVObjSetDataField怎么用?C++ UAVObjSetDataField使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了UAVObjSetDataField函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: OPLinkSettingsComSpeedSet
void OPLinkSettingsComSpeedSet( uint8_t *NewComSpeed )
{
UAVObjSetDataField(OPLinkSettingsHandle(), (void*)NewComSpeed, offsetof( OPLinkSettingsData, ComSpeed), sizeof(uint8_t));
}
示例2: AttitudeSettingsFilterChoiceSet
void AttitudeSettingsFilterChoiceSet( uint8_t *NewFilterChoice )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewFilterChoice, offsetof( AttitudeSettingsData, FilterChoice), sizeof(uint8_t));
}
示例3: AttitudeSettingsYawBiasRateSet
void AttitudeSettingsYawBiasRateSet( float *NewYawBiasRate )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewYawBiasRate, offsetof( AttitudeSettingsData, YawBiasRate), sizeof(float));
}
示例4: AttitudeSettingsZeroDuringArmingSet
void AttitudeSettingsZeroDuringArmingSet( uint8_t *NewZeroDuringArming )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewZeroDuringArming, offsetof( AttitudeSettingsData, ZeroDuringArming), sizeof(uint8_t));
}
示例5: OPLinkSettingsAESKeySet
void OPLinkSettingsAESKeySet( uint8_t *NewAESKey )
{
UAVObjSetDataField(OPLinkSettingsHandle(), (void*)NewAESKey, offsetof( OPLinkSettingsData, AESKey), 32*sizeof(uint8_t));
}
示例6: FlightPlanControlCommandSet
/**
* Get/Set object Functions
*/
void FlightPlanControlCommandSet( uint8_t *NewCommand )
{
UAVObjSetDataField(FlightPlanControlHandle(), (void*)NewCommand, offsetof( FlightPlanControlData, Command), sizeof(uint8_t));
}
示例7: OPLinkSettingsFrequencyCalibrationSet
void OPLinkSettingsFrequencyCalibrationSet( uint8_t *NewFrequencyCalibration )
{
UAVObjSetDataField(OPLinkSettingsHandle(), (void*)NewFrequencyCalibration, offsetof( OPLinkSettingsData, FrequencyCalibration), sizeof(uint8_t));
}
示例8: OPLinkSettingsMinPacketSizeSet
void OPLinkSettingsMinPacketSizeSet( uint8_t *NewMinPacketSize )
{
UAVObjSetDataField(OPLinkSettingsHandle(), (void*)NewMinPacketSize, offsetof( OPLinkSettingsData, MinPacketSize), sizeof(uint8_t));
}
示例9: OPLinkSettingsMaxRFPowerSet
void OPLinkSettingsMaxRFPowerSet( uint8_t *NewMaxRFPower )
{
UAVObjSetDataField(OPLinkSettingsHandle(), (void*)NewMaxRFPower, offsetof( OPLinkSettingsData, MaxRFPower), sizeof(uint8_t));
}
示例10: AttitudeSettingsAccelTauSet
void AttitudeSettingsAccelTauSet( float *NewAccelTau )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewAccelTau, offsetof( AttitudeSettingsData, AccelTau), sizeof(float));
}
示例11: AttitudeSettingsVertPositionTauSet
void AttitudeSettingsVertPositionTauSet( float *NewVertPositionTau )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewVertPositionTau, offsetof( AttitudeSettingsData, VertPositionTau), sizeof(float));
}
示例12: AttitudeSettingsBoardRotationSet
void AttitudeSettingsBoardRotationSet( int16_t *NewBoardRotation )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewBoardRotation, offsetof( AttitudeSettingsData, BoardRotation), 3*sizeof(int16_t));
}
示例13: RFM22BReceiverChannelSet
/**
* Get/Set object Functions
*/
void RFM22BReceiverChannelSet( int16_t *NewChannel )
{
UAVObjSetDataField(RFM22BReceiverHandle(), (void*)NewChannel, offsetof( RFM22BReceiverData, Channel), 8*sizeof(int16_t));
}
示例14: AttitudeSettingsBiasCorrectGyroSet
void AttitudeSettingsBiasCorrectGyroSet( uint8_t *NewBiasCorrectGyro )
{
UAVObjSetDataField(AttitudeSettingsHandle(), (void*)NewBiasCorrectGyro, offsetof( AttitudeSettingsData, BiasCorrectGyro), sizeof(uint8_t));
}
示例15: InertialSensorSettingsInitialGyroBiasSet
void InertialSensorSettingsInitialGyroBiasSet( float *NewInitialGyroBias )
{
UAVObjSetDataField(InertialSensorSettingsHandle(), (void*)NewInitialGyroBias, offsetof( InertialSensorSettingsData, InitialGyroBias), 3*sizeof(float));
}