mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Copter: Guided: Add terrain following initialization.
This commit is contained in:
parent
492967a3fc
commit
5c7b05f345
@ -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
Block a user