pub struct RadioCalibration {
pub aileron: [u16; 3],
pub elevator: [u16; 3],
pub rudder: [u16; 3],
pub gyro: [u16; 2],
pub pitch: [u16; 5],
pub throttle: [u16; 5],
}Expand description
MAVLink RADIO_CALIBRATION message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Complete set of calibration parameters for the radio
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
RadioCalibration (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§aileron: [u16; 3]MAVLink field aileron.
Aileron setpoints: left, center, right
elevator: [u16; 3]MAVLink field elevator.
Elevator setpoints: nose down, center, nose up
rudder: [u16; 3]MAVLink field rudder.
Rudder setpoints: nose left, center, nose right
gyro: [u16; 2]MAVLink field gyro.
Tail gyro mode/gain setpoints: heading hold, rate mode
pitch: [u16; 5]MAVLink field pitch.
Pitch curve setpoints (every 25%)
throttle: [u16; 5]MAVLink field throttle.
Throttle curve setpoints (every 25%)
Implementations§
Source§impl RadioCalibration
impl RadioCalibration
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for RadioCalibration
impl Clone for RadioCalibration
Source§fn clone(&self) -> RadioCalibration
fn clone(&self) -> RadioCalibration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RadioCalibration
impl Debug for RadioCalibration
Source§impl Default for RadioCalibration
impl Default for RadioCalibration
Source§fn default() -> RadioCalibration
fn default() -> RadioCalibration
Source§impl<'de> Deserialize<'de> for RadioCalibration
impl<'de> Deserialize<'de> for RadioCalibration
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RadioCalibration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RadioCalibration, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<RadioCalibration> for Ualberta
impl From<RadioCalibration> for Ualberta
Source§fn from(value: RadioCalibration) -> Ualberta
fn from(value: RadioCalibration) -> Ualberta
Source§impl IntoPayload for RadioCalibration
impl IntoPayload for RadioCalibration
Source§impl MessageSpec for RadioCalibration
impl MessageSpec for RadioCalibration
Source§impl MessageSpecStatic for RadioCalibration
impl MessageSpecStatic for RadioCalibration
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for RadioCalibration
impl NamedType for RadioCalibration
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for RadioCalibration
impl PartialEq for RadioCalibration
Source§impl Serialize for RadioCalibration
impl Serialize for RadioCalibration
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TryFrom<&Payload> for RadioCalibration
impl TryFrom<&Payload> for RadioCalibration
Source§impl Type for RadioCalibration
impl Type for RadioCalibration
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.