pub struct CommandLongStamped {}Expand description
MAVLink COMMAND_LONG_STAMPED message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Send a command with up to seven parameters to the MAV and additional metadata
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
CommandLongStamped (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§utc_time: u32MAVLink field utc_time.
UTC time, seconds elapsed since 01.01.1970
vehicle_timestamp: u64MAVLink field vehicle_timestamp.
Microseconds elapsed since vehicle boot
target_system: u8MAVLink field target_system.
System which should execute the command
target_component: u8MAVLink field target_component.
Component which should execute the command, 0 for all components
command: MavCmdMAVLink field command.
Command ID, as defined by MAV_CMD enum.
confirmation: u8MAVLink field confirmation.
0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)
param1: f32MAVLink field param1.
Parameter 1, as defined by MAV_CMD enum.
param2: f32MAVLink field param2.
Parameter 2, as defined by MAV_CMD enum.
param3: f32MAVLink field param3.
Parameter 3, as defined by MAV_CMD enum.
param4: f32MAVLink field param4.
Parameter 4, as defined by MAV_CMD enum.
param5: f32MAVLink field param5.
Parameter 5, as defined by MAV_CMD enum.
param6: f32MAVLink field param6.
Parameter 6, as defined by MAV_CMD enum.
param7: f32MAVLink field param7.
Parameter 7, as defined by MAV_CMD enum.
Implementations§
Source§impl CommandLongStamped
impl CommandLongStamped
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 Clone for CommandLongStamped
impl Clone for CommandLongStamped
Source§fn clone(&self) -> CommandLongStamped
fn clone(&self) -> CommandLongStamped
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommandLongStamped
impl Debug for CommandLongStamped
Source§impl Default for CommandLongStamped
impl Default for CommandLongStamped
Source§impl<'de> Deserialize<'de> for CommandLongStamped
impl<'de> Deserialize<'de> for CommandLongStamped
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 From<CommandLongStamped> for All
impl From<CommandLongStamped> for All
Source§fn from(value: CommandLongStamped) -> Self
fn from(value: CommandLongStamped) -> Self
Source§impl IntoPayload for CommandLongStamped
impl IntoPayload for CommandLongStamped
Source§impl MessageSpec for CommandLongStamped
impl MessageSpec for CommandLongStamped
Source§impl MessageSpecStatic for CommandLongStamped
impl MessageSpecStatic for CommandLongStamped
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 CommandLongStamped
impl NamedType for CommandLongStamped
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 CommandLongStamped
impl PartialEq for CommandLongStamped
Source§impl Serialize for CommandLongStamped
impl Serialize for CommandLongStamped
Source§impl TryFrom<&Payload> for CommandLongStamped
impl TryFrom<&Payload> for CommandLongStamped
Source§impl Type for CommandLongStamped
impl Type for CommandLongStamped
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.