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
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).
ID: 47
Fields§
§target_system: u8System ID
target_component: u8Component ID
mavtype: MavMissionResultMission result.
mission_type: MavMissionTypeMission type.
opaque_id: u32Id 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§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for MISSION_ACK_DATA
impl<'arbitrary> Arbitrary<'arbitrary> for MISSION_ACK_DATA
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured this type
needs to construct itself. Read moreSource§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