Copter: Guided: Add terrain following initialization.

This commit is contained in:
Leonard Hall 2021-08-04 12:42:13 +09:30 committed by Randy Mackay
parent 492967a3fc
commit 5c7b05f345
1 changed files with 3 additions and 0 deletions

View File

@ -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