pub type MissionAck = MissionAck;
Expand description

Originally defined in common::messages::mission_ack.

Aliased Type§

struct MissionAck {
    pub target_system: u8,
    pub target_component: u8,
    pub type_: MavMissionResult,
    pub mission_type: MavMissionType,
    pub opaque_id: u32,
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID

§target_component: u8

MAVLink field target_component.

Component ID

§type_: MavMissionResult

MAVLink field type.

Mission result.

§mission_type: MavMissionType

MAVLink field mission_type.

Mission type.

§opaque_id: u32

MAVLink field opaque_id.

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.