removed GPS ground speed calc - was causing some funny business during the transition.

This commit is contained in:
Jason Short 2012-07-03 17:16:14 -07:00
parent b2d932136a
commit c20c04ed24
1 changed files with 3 additions and 2 deletions

View File

@ -50,11 +50,12 @@ static void calc_XY_velocity(){
last_longitude = g_gps->longitude;
last_latitude = g_gps->latitude;
if(g_gps->ground_speed > 150){
/*if(g_gps->ground_speed > 150){
float temp = radians((float)g_gps->ground_course/100.0);
x_actual_speed = (float)g_gps->ground_speed * sin(temp);
y_actual_speed = (float)g_gps->ground_speed * cos(temp);
}
}*/
#if INERTIAL_NAV == ENABLED
// inertial_nav