mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
land_detector: set max height to 100
This commit is contained in:
committed by
Lorenz Meier
parent
6939583650
commit
7f54f891c1
@@ -288,7 +288,7 @@ float MulticopterLandDetector::_get_takeoff_throttle()
|
||||
|
||||
float MulticopterLandDetector::_get_max_altitude()
|
||||
{
|
||||
/* ToDo: add meaningful heights */
|
||||
/* ToDo: add a meaningful altitude */
|
||||
float valid_altitude_max = _params.altitude_max;
|
||||
|
||||
if (_battery.warning == battery_status_s::BATTERY_WARNING_LOW) {
|
||||
|
||||
Reference in New Issue
Block a user