]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsim/navion_gear.c
Update VS2008 projects : use Boost 1.44.0 available in last 3rd Party archive
[flightgear.git] / src / FDM / LaRCsim / navion_gear.c
index 91de63c52cfea6bc50069c84b4e61c7697064c30..995955c889285765c7024d3caebe58e55410c627 100644 (file)
 
 $Header$
 $Log$
+Revision 1.1  2002/09/10 01:14:02  curt
+Initial revision
+
+Revision 1.4  2001/07/30 20:53:54  curt
+Various MSVC tweaks and warning fixes.
+
+Revision 1.3  2000/06/12 18:52:37  curt
+Added differential braking (Alex and David).
+
 Revision 1.2  2000/04/10 18:09:41  curt
 David Megginson made a few (mostly minor) mods to the LaRCsim files, and
 it's now possible to choose the LaRCsim model at runtime, as in
@@ -210,7 +219,7 @@ char rcsid[] = "$Id$";
     DATA d_wheel_cg_body_v[3];         /* wheel offset from cg,  X-Y-Z */
     DATA d_wheel_cg_local_v[3];                /* wheel offset from cg,  N-E-D */
     DATA d_wheel_rwy_local_v[3];       /* wheel offset from rwy, N-E-U */
-    DATA v_wheel_body_v[3];            /* wheel velocity,        X-Y-Z */
+    // DATA v_wheel_body_v[3];         /* wheel velocity,        X-Y-Z */
     DATA v_wheel_local_v[3];           /* wheel velocity,        N-E-D */
     DATA f_wheel_local_v[3];           /* wheel reaction force,  N-E-D */
     DATA temp3a[3], temp3b[3], tempF[3], tempM[3];     
@@ -235,9 +244,8 @@ char rcsid[] = "$Id$";
    * Put aircraft specific executable code here
    */
    
-    /* replace with cockpit brake handle connection code */
-    percent_brake[1] = Brake_pct;
-    percent_brake[2] = percent_brake[1];
+    percent_brake[1] = Brake_pct[0];
+    percent_brake[2] = Brake_pct[1];
     
     caster_angle_rad[0] = 0.03*Rudder_pedal;