mirror of https://github.com/ArduPilot/ardupilot
Copter: Guided: Add terrain following initialization.
This commit is contained in:
parent
8d41b2225b
commit
7525b7b997
|
@ -153,6 +153,9 @@ void ModeGuided::pva_control_start()
|
||||||
|
|
||||||
// initialise yaw
|
// initialise yaw
|
||||||
auto_yaw.set_mode_to_default(false);
|
auto_yaw.set_mode_to_default(false);
|
||||||
|
|
||||||
|
// initialise terain alt
|
||||||
|
guided_pos_terrain_alt = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// initialise guided mode's position controller
|
// initialise guided mode's position controller
|
||||||
|
|
Loading…
Reference in New Issue