mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 08:23:33 +08:00
rtl: keep rtl altitude below max altitude
land_detector: delete unused class enum
This commit is contained in:
committed by
Lorenz Meier
parent
b887654d69
commit
1774e01c00
@@ -61,10 +61,6 @@ public:
|
||||
GROUND_CONTACT = 3
|
||||
};
|
||||
|
||||
enum class BatteryLevel {
|
||||
|
||||
};
|
||||
|
||||
LandDetector();
|
||||
virtual ~LandDetector();
|
||||
|
||||
@@ -128,7 +124,7 @@ protected:
|
||||
virtual bool _get_freefall_state() = 0;
|
||||
|
||||
/**
|
||||
* @return
|
||||
* @return maximum altitude that can be reached
|
||||
*/
|
||||
virtual float _get_max_altitude() = 0;
|
||||
|
||||
@@ -164,8 +160,6 @@ protected:
|
||||
|
||||
float _altitude_max;
|
||||
|
||||
|
||||
|
||||
private:
|
||||
static void _cycle_trampoline(void *arg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user