mirror of https://github.com/ArduPilot/ardupilot
Copter: RTL ignores terrain during terrain failsafe
This commit is contained in:
parent
273b9acad8
commit
3688636736
|
@ -13,7 +13,7 @@
|
|||
bool Copter::rtl_init(bool ignore_checks)
|
||||
{
|
||||
if (position_ok() || ignore_checks) {
|
||||
rtl_build_path(true);
|
||||
rtl_build_path(!failsafe.terrain);
|
||||
rtl_climb_start();
|
||||
return true;
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue