mirror of https://github.com/ArduPilot/ardupilot
Arducopter: Force nav_yaw to match auto_yaw when starting a mission
This commit is contained in:
parent
2b20c85279
commit
613849a8df
|
@ -412,6 +412,9 @@ static void reset_nav_params(void)
|
|||
|
||||
// We want to by default pass WPs
|
||||
slow_wp = false;
|
||||
|
||||
// make sure we stick to Nav yaw on takeoff
|
||||
auto_yaw = nav_yaw;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue