pub struct MISSION_COUNT_DATA {
pub count: u16,
pub target_system: u8,
pub target_component: u8,
pub mission_type: MavMissionType,
pub opaque_id: u32,
}
avssuas
only.Expand description
id: 44 This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of waypoints.
Fields§
§count: u16
Number of mission items in the sequence
target_system: u8
System ID
target_component: u8
Component ID
mission_type: MavMissionType
Mission type.
opaque_id: u32
Id of current on-vehicle mission, fence, or rally point plan (on download from vehicle). This field is used when downloading a plan from a vehicle to a GCS. 0 on upload to the vehicle from GCS. 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. The ids are recalculated by the vehicle when any part of the on-vehicle plan changes (when a new plan is uploaded, the vehicle returns the new id to the GCS in MISSION_ACK).
Implementations§
Source§impl MISSION_COUNT_DATA
impl MISSION_COUNT_DATA
pub const ENCODED_LEN: usize = 9usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for MISSION_COUNT_DATA
impl Clone for MISSION_COUNT_DATA
Source§fn clone(&self) -> MISSION_COUNT_DATA
fn clone(&self) -> MISSION_COUNT_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more