mavsdk::Calibration::ProgressData Struct Reference
#include: calibration.h
Progress data coming from calibration.
Can be a progress percentage, or an instruction text.
Public Member Functions
Type | Name | Description |
---|---|---|
ProgressData (const bool _has_progress, const float _progress, const bool _has_status_text, const std::string & _status_text) |
Data Fields
bool has_progress - Whether or not this struct contains progress information.
float progress - The actual progress.
bool has_status_text - Whether or not this struct contains an instruction text.
std::string status_text - The actual instruction text.
Constructor & Destructor Documentation
ProgressData()
mavsdk::Calibration::ProgressData::ProgressData(const bool _has_progress, const float _progress, const bool _has_status_text, const std::string &_status_text)
Constructor for ProgressData.
Parameters
- const bool _has_progress - Whether or not this struct contains progress information.
- const float _progress - The actual progress.
- const bool _has_status_text - Whether or not this struct contains an instruction text.
- const std::string& _status_text - The actual instruction text.
Field Documentation
has_progress
bool mavsdk::Calibration::ProgressData::has_progress
Whether or not this struct contains progress information.
progress
float mavsdk::Calibration::ProgressData::progress
The actual progress.
has_status_text
bool mavsdk::Calibration::ProgressData::has_status_text
Whether or not this struct contains an instruction text.
status_text
std::string mavsdk::Calibration::ProgressData::status_text
The actual instruction text.