mavsdk::Mission::ProgressDataOrMission Struct Reference ​
#include: mission.h
Progress data coming from mission download, or the mission itself (if the transfer succeeds).
Data Fields ​
bool has_progress { false} - Whether this ProgressData contains a 'progress' status or not.
float progress {float(NAN)} - Progress (0..1.0)
bool has_mission {} - Whether this ProgressData contains a 'mission_plan' or not.
MissionPlan mission_plan {} - Mission plan.
Field Documentation ​
has_progress ​
cpp
bool mavsdk::Mission::ProgressDataOrMission::has_progress { false}
Whether this ProgressData contains a 'progress' status or not.
progress ​
cpp
float mavsdk::Mission::ProgressDataOrMission::progress {float(NAN)}
Progress (0..1.0)
has_mission ​
cpp
bool mavsdk::Mission::ProgressDataOrMission::has_mission {}
Whether this ProgressData contains a 'mission_plan' or not.
mission_plan ​
cpp
MissionPlan mavsdk::Mission::ProgressDataOrMission::mission_plan {}
Mission plan.