Copter: Guided: Add terrain following initialization.

This commit is contained in:
Leonard Hall 2021-08-04 12:42:13 +09:30 committed by Andrew Tridgell
parent 628206b5e8
commit 95601d42db
1 changed files with 3 additions and 0 deletions

View File

@ -153,6 +153,9 @@ void ModeGuided::pva_control_start()
// initialise yaw
auto_yaw.set_mode_to_default(false);
// initialise terain alt
guided_pos_terrain_alt = false;
}
// initialise guided mode's position controller