ACM : switched to get_bearing_cd

This commit is contained in:
Jason Short 2012-08-09 17:04:30 -07:00
parent 132ac7d412
commit be0559864c
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static void update_commands()
if(tmp_loc.lat == 0){
fast_corner = false;
}else{
int32_t temp = get_bearing(&next_WP, &tmp_loc) - original_target_bearing;
int32_t temp = get_bearing_cd(&next_WP, &tmp_loc) - original_target_bearing;
temp = wrap_180(temp);
fast_corner = abs(temp) < 6000;
}