Struct mavlink::matrixpilot::MISSION_ITEM_DATA
source · pub struct MISSION_ITEM_DATA {}
matrixpilot
only.Expand description
id: 39 Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN may be used to indicate an optional/default value (e.g. to use the system’s current latitude or yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html..
Fields§
§param1: f32
PARAM1, see MAV_CMD enum.
param2: f32
PARAM2, see MAV_CMD enum.
param3: f32
PARAM3, see MAV_CMD enum.
param4: f32
PARAM4, see MAV_CMD enum.
x: f32
PARAM5 / local: X coordinate, global: latitude.
y: f32
PARAM6 / local: Y coordinate, global: longitude.
z: f32
PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame)..
seq: u16
Sequence.
command: MavCmd
The scheduled action for the waypoint..
target_system: u8
System ID.
target_component: u8
Component ID.
frame: MavFrame
The coordinate system of the waypoint..
current: u8
false:0, true:1.
autocontinue: u8
Autocontinue to next waypoint. 0: false, 1: true. Set false to pause mission after the item completes..
mission_type: MavMissionType
Mission type..
Implementations§
source§impl MISSION_ITEM_DATA
impl MISSION_ITEM_DATA
pub const ENCODED_LEN: usize = 38usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for MISSION_ITEM_DATA
impl Clone for MISSION_ITEM_DATA
source§fn clone(&self) -> MISSION_ITEM_DATA
fn clone(&self) -> MISSION_ITEM_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MISSION_ITEM_DATA
impl Debug for MISSION_ITEM_DATA
source§impl Default for MISSION_ITEM_DATA
impl Default for MISSION_ITEM_DATA
source§impl<'de> Deserialize<'de> for MISSION_ITEM_DATA
impl<'de> Deserialize<'de> for MISSION_ITEM_DATA
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 MessageData for MISSION_ITEM_DATA
impl MessageData for MISSION_ITEM_DATA
const ID: u32 = 39u32
const NAME: &'static str = "MISSION_ITEM"
const EXTRA_CRC: u8 = 254u8
const ENCODED_LEN: usize = 38usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for MISSION_ITEM_DATA
impl PartialEq for MISSION_ITEM_DATA
source§impl Serialize for MISSION_ITEM_DATA
impl Serialize for MISSION_ITEM_DATA
impl StructuralPartialEq for MISSION_ITEM_DATA
Auto Trait Implementations§
impl Freeze for MISSION_ITEM_DATA
impl RefUnwindSafe for MISSION_ITEM_DATA
impl Send for MISSION_ITEM_DATA
impl Sync for MISSION_ITEM_DATA
impl Unpin for MISSION_ITEM_DATA
impl UnwindSafe for MISSION_ITEM_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)