mirror of https://github.com/ArduPilot/ardupilot
Added SIMPLE mode reset outside of bounding box of 10M, will do more testing before enabling.
This commit is contained in:
parent
7c1a975a71
commit
f444aac706
|
@ -1260,7 +1260,7 @@ static void update_navigation()
|
||||||
if(home_distance > 1000){
|
if(home_distance > 1000){
|
||||||
// 10m
|
// 10m
|
||||||
// we reset the angular offset to be a vector from home to the quad
|
// we reset the angular offset to be a vector from home to the quad
|
||||||
initial_simple_bearing = home_to_copter_bearing;
|
//initial_simple_bearing = home_to_copter_bearing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue