Enabling Crosstrack correction.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3278 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-09-05 18:47:27 +00:00
parent 6dbfd78197
commit f905309999

View File

@ -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{