mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Copter: Guided: Add terrain following initialization.
This commit is contained in:
parent
628206b5e8
commit
95601d42db
@ -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