mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Soaring: Add accessor for SOAR_ALT_CUTOFF.
This commit is contained in:
parent
dd8361ba33
commit
440d17e0de
@ -125,6 +125,8 @@ public:
|
|||||||
|
|
||||||
void set_pilot_desired_state(ActiveStatus pilot_desired_state) {_pilot_desired_state = pilot_desired_state;};
|
void set_pilot_desired_state(ActiveStatus pilot_desired_state) {_pilot_desired_state = pilot_desired_state;};
|
||||||
|
|
||||||
|
float get_alt_cutoff() const {return alt_cutoff;}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// slow down messages if they are the same. During loiter we could smap the same message. Only show new messages during loiters
|
// slow down messages if they are the same. During loiter we could smap the same message. Only show new messages during loiters
|
||||||
LoiterStatus _cruise_criteria_msg_last;
|
LoiterStatus _cruise_criteria_msg_last;
|
||||||
|
Loading…
Reference in New Issue
Block a user