pub struct AslctrlData {Show 25 fields
pub timestamp: u64,
pub aslctrl_mode: u8,
pub h: f32,
pub h_ref: f32,
pub h_ref_t: f32,
pub pitch_angle: f32,
pub pitch_angle_ref: f32,
pub q: f32,
pub q_ref: f32,
pub u_elev: f32,
pub u_throt: f32,
pub u_throt2: f32,
pub n_z: f32,
pub airspeed_ref: f32,
pub spoilers_engaged: u8,
pub yaw_angle: f32,
pub yaw_angle_ref: f32,
pub roll_angle: f32,
pub roll_angle_ref: f32,
pub p: f32,
pub p_ref: f32,
pub r: f32,
pub r_ref: f32,
pub u_ail: f32,
pub u_rud: f32,
}Expand description
MAVLink ASLCTRL_DATA message.
The minimum supported MAVLink version is MAVLink 2.
§Description
ASL-fixed-wing controller data
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
AslctrlData (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§timestamp: u64MAVLink field timestamp.
Timestamp
aslctrl_mode: u8MAVLink field aslctrl_mode.
ASLCTRL control-mode (manual, stabilized, auto, etc…)
h: f32MAVLink field h.
See sourcecode for a description of these values…
h_ref: f32MAVLink field hRef.
h_ref_t: f32MAVLink field hRef_t.
pitch_angle: f32MAVLink field PitchAngle.
Pitch angle
pitch_angle_ref: f32MAVLink field PitchAngleRef.
Pitch angle reference
q: f32MAVLink field q.
q_ref: f32MAVLink field qRef.
u_elev: f32MAVLink field uElev.
u_throt: f32MAVLink field uThrot.
u_throt2: f32MAVLink field uThrot2.
n_z: f32MAVLink field nZ.
airspeed_ref: f32MAVLink field AirspeedRef.
Airspeed reference
spoilers_engaged: u8MAVLink field SpoilersEngaged.
yaw_angle: f32MAVLink field YawAngle.
Yaw angle
yaw_angle_ref: f32MAVLink field YawAngleRef.
Yaw angle reference
roll_angle: f32MAVLink field RollAngle.
Roll angle
roll_angle_ref: f32MAVLink field RollAngleRef.
Roll angle reference
p: f32MAVLink field p.
p_ref: f32MAVLink field pRef.
r: f32MAVLink field r.
r_ref: f32MAVLink field rRef.
u_ail: f32MAVLink field uAil.
u_rud: f32MAVLink field uRud.
Implementations§
Source§impl AslctrlData
impl AslctrlData
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 AslctrlData
impl Clone for AslctrlData
Source§fn clone(&self) -> AslctrlData
fn clone(&self) -> AslctrlData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AslctrlData
impl Debug for AslctrlData
Source§impl Default for AslctrlData
impl Default for AslctrlData
Source§fn default() -> AslctrlData
fn default() -> AslctrlData
Source§impl<'de> Deserialize<'de> for AslctrlData
impl<'de> Deserialize<'de> for AslctrlData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AslctrlData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AslctrlData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Flatten for AslctrlData
Source§impl From<AslctrlData> for Asluav
impl From<AslctrlData> for Asluav
Source§fn from(value: AslctrlData) -> Asluav
fn from(value: AslctrlData) -> Asluav
Source§impl IntoPayload for AslctrlData
impl IntoPayload for AslctrlData
impl Message for AslctrlData
Source§impl MessageSpec for AslctrlData
impl MessageSpec for AslctrlData
Source§impl MessageSpecStatic for AslctrlData
impl MessageSpecStatic for AslctrlData
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 AslctrlData
impl NamedType for AslctrlData
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 AslctrlData
impl PartialEq for AslctrlData
Source§fn eq(&self, other: &AslctrlData) -> bool
fn eq(&self, other: &AslctrlData) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for AslctrlData
impl Serialize for AslctrlData
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,
impl StructuralPartialEq for AslctrlData
Source§impl TryFrom<&Payload> for AslctrlData
impl TryFrom<&Payload> for AslctrlData
Source§impl Type for AslctrlData
impl Type for AslctrlData
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.