]> git.mxchange.org Git - flightgear.git/blobdiff - utils/GPSsmooth/gps_main.cxx
considering u,v,wbody-fps are the ECEF velocity expressed in body axis, change in...
[flightgear.git] / utils / GPSsmooth / gps_main.cxx
index d28f8f1f4c58b7613ed6e874c2b32e3f615a88a5..998a2351042de4b500cdfdbfc3bb0aeab4f8cddc 100644 (file)
@@ -150,9 +150,9 @@ static void gps2fg( const GPSPoint p, FGNetFDM *fdm, FGNetCtrls *ctrls )
     fdm->v_north = 0.0;
     fdm->v_east = 0.0;
     fdm->v_down = 0.0;
-    fdm->v_wind_body_north = 0.0;
-    fdm->v_wind_body_east = 0.0;
-    fdm->v_wind_body_down = 0.0;
+    fdm->v_body_u = 0.0;
+    fdm->v_body_v = 0.0;
+    fdm->v_body_w = 0.0;
     fdm->stall_warning = 0.0;
 
     fdm->A_X_pilot = 0.0;
@@ -226,9 +226,9 @@ static void gps2fg( const GPSPoint p, FGNetFDM *fdm, FGNetCtrls *ctrls )
     htonf(fdm->v_north);
     htonf(fdm->v_east);
     htonf(fdm->v_down);
-    htonf(fdm->v_wind_body_north);
-    htonf(fdm->v_wind_body_east);
-    htonf(fdm->v_wind_body_down);
+    htonf(fdm->v_body_u);
+    htonf(fdm->v_body_v);
+    htonf(fdm->v_body_w);
 
     htonf(fdm->A_X_pilot);
     htonf(fdm->A_Y_pilot);