mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Arducopter: Wrong define used, caused Copter to Yaw to home when flying missions
This commit is contained in:
parent
34cf0b4c24
commit
ce0de98144
@ -2404,7 +2404,7 @@ static void update_auto_yaw()
|
|||||||
if(wp_control == LOITER_MODE)
|
if(wp_control == LOITER_MODE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(control_mode == CIRCLE_MODE){
|
if(control_mode == CIRCLE){
|
||||||
auto_yaw = get_bearing(¤t_loc, &circle_WP);
|
auto_yaw = get_bearing(¤t_loc, &circle_WP);
|
||||||
|
|
||||||
}else if(yaw_tracking == MAV_ROI_LOCATION){
|
}else if(yaw_tracking == MAV_ROI_LOCATION){
|
||||||
|
Loading…
Reference in New Issue
Block a user