pub struct MISSION_ACK_DATA {
pub target_system: u8,
pub target_component: u8,
pub mavtype: MavMissionResult,
pub mission_type: MavMissionType,
pub opaque_id: u32,
}
common
only.Expand description
id: 47 Acknowledgment message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).
Fields§
§target_system: u8
System ID
target_component: u8
Component ID
mavtype: MavMissionResult
Mission result.
mission_type: MavMissionType
Mission type.
opaque_id: u32
Id of new on-vehicle mission, fence, or rally point plan (on upload to vehicle). The id is calculated and returned by a vehicle when a new plan is uploaded by a GCS. The only requirement on the id is that it must change when there is any change to the on-vehicle plan type (there is no requirement that the id be globally unique). 0 on download from the vehicle to the GCS (on download the ID is set in MISSION_COUNT). 0 if plan ids are not supported. The current on-vehicle plan ids are streamed in MISSION_CURRENT
, allowing a GCS to determine if any part of the plan has changed and needs to be re-uploaded.
Implementations§
Source§impl MISSION_ACK_DATA
impl MISSION_ACK_DATA
pub const ENCODED_LEN: usize = 8usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for MISSION_ACK_DATA
impl Clone for MISSION_ACK_DATA
Source§fn clone(&self) -> MISSION_ACK_DATA
fn clone(&self) -> MISSION_ACK_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more