pub struct AslObctrl {
pub timestamp: u64,
pub u_elev: f32,
pub u_throt: f32,
pub u_throt2: f32,
pub u_ail_l: f32,
pub u_ail_r: f32,
pub u_rud: f32,
pub obctrl_status: u8,
}Expand description
MAVLink ASL_OBCTRL message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Off-board controls/commands for ASLUAVs
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
AslObctrl (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§timestamp: u64MAVLink field timestamp.
Time since system start
u_elev: f32MAVLink field uElev.
Elevator command [~]
u_throt: f32MAVLink field uThrot.
Throttle command [~]
u_throt2: f32MAVLink field uThrot2.
Throttle 2 command [~]
u_ail_l: f32MAVLink field uAilL.
Left aileron command [~]
u_ail_r: f32MAVLink field uAilR.
Right aileron command [~]
u_rud: f32MAVLink field uRud.
Rudder command [~]
obctrl_status: u8MAVLink field obctrl_status.
Off-board computer status
Implementations§
Source§impl AslObctrl
impl AslObctrl
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
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<'de> Deserialize<'de> for AslObctrl
impl<'de> Deserialize<'de> for AslObctrl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl IntoPayload for AslObctrl
impl IntoPayload for AslObctrl
Source§impl MessageSpec for AslObctrl
impl MessageSpec for AslObctrl
Source§impl MessageSpecStatic for AslObctrl
impl MessageSpecStatic for AslObctrl
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for AslObctrl
impl NamedType for AslObctrl
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 Type for AslObctrl
impl Type for AslObctrl
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.