mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
ACM : Commands Logic
Altitude cleanup
This commit is contained in:
parent
98b8866215
commit
d796814dfc
@ -363,8 +363,7 @@ static bool verify_takeoff()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// are we above our target altitude?
|
// are we above our target altitude?
|
||||||
//return (current_loc.alt > next_WP.alt);
|
return (current_loc.alt > next_WP.alt);
|
||||||
return (current_loc.alt > target_altitude);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// called at 10hz
|
// called at 10hz
|
||||||
|
Loading…
Reference in New Issue
Block a user