pub struct CommandIntStamped {}Expand description
MAVLink COMMAND_INT_STAMPED message.
The minimum supported MAVLink version is MAVLink 1.
§Description
Message encoding a command with parameters as scaled integers and additional metadata. Scaling depends on the actual command value.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
CommandIntStamped (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 ID
target_component: u8MAVLink field target_component.
Component ID
frame: MavFrameMAVLink field frame.
The coordinate system of the COMMAND, as defined by MAV_FRAME enum
command: MavCmdMAVLink field command.
The scheduled action for the mission item, as defined by MAV_CMD enum
current: u8MAVLink field current.
false:0, true:1
autocontinue: u8MAVLink field autocontinue.
autocontinue to next wp
param1: f32MAVLink field param1.
PARAM1, see MAV_CMD enum
param2: f32MAVLink field param2.
PARAM2, see MAV_CMD enum
param3: f32MAVLink field param3.
PARAM3, see MAV_CMD enum
param4: f32MAVLink field param4.
PARAM4, see MAV_CMD enum
x: i32MAVLink field x.
PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7
y: i32MAVLink field y.
PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7
z: f32MAVLink field z.
PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame).
Implementations§
Source§impl CommandIntStamped
impl CommandIntStamped
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 CommandIntStamped
impl Clone for CommandIntStamped
Source§fn clone(&self) -> CommandIntStamped
fn clone(&self) -> CommandIntStamped
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommandIntStamped
impl Debug for CommandIntStamped
Source§impl Default for CommandIntStamped
impl Default for CommandIntStamped
Source§impl<'de> Deserialize<'de> for CommandIntStamped
impl<'de> Deserialize<'de> for CommandIntStamped
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<CommandIntStamped> for All
impl From<CommandIntStamped> for All
Source§fn from(value: CommandIntStamped) -> Self
fn from(value: CommandIntStamped) -> Self
Source§impl IntoPayload for CommandIntStamped
impl IntoPayload for CommandIntStamped
Source§impl MessageSpec for CommandIntStamped
impl MessageSpec for CommandIntStamped
Source§impl MessageSpecStatic for CommandIntStamped
impl MessageSpecStatic for CommandIntStamped
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 CommandIntStamped
impl NamedType for CommandIntStamped
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 CommandIntStamped
impl PartialEq for CommandIntStamped
Source§impl Serialize for CommandIntStamped
impl Serialize for CommandIntStamped
Source§impl TryFrom<&Payload> for CommandIntStamped
impl TryFrom<&Payload> for CommandIntStamped
Source§impl Type for CommandIntStamped
impl Type for CommandIntStamped
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.