mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Enabling Crosstrack correction.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3278 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
6dbfd78197
commit
f905309999
@ -33,7 +33,7 @@ static void navigate()
|
|||||||
|
|
||||||
// nav_bearing will include xtrac correction
|
// nav_bearing will include xtrac correction
|
||||||
// -----------------------------------------
|
// -----------------------------------------
|
||||||
xtrack_enabled = false;
|
//xtrack_enabled = false;
|
||||||
if(xtrack_enabled){
|
if(xtrack_enabled){
|
||||||
nav_bearing = wrap_360(target_bearing + get_crosstrack_correction());
|
nav_bearing = wrap_360(target_bearing + get_crosstrack_correction());
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user