From de16c7d222aed60927d31c3e8a4c0325cb9c16b9 Mon Sep 17 00:00:00 2001 From: mselig Date: Mon, 9 Jun 2003 06:15:46 +0000 Subject: [PATCH] putting back the pilot-g used by accel.xml gadget --- src/FDM/LaRCsim/LaRCsim.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FDM/LaRCsim/LaRCsim.cxx b/src/FDM/LaRCsim/LaRCsim.cxx index 73e8009c1..5c3026d2e 100644 --- a/src/FDM/LaRCsim/LaRCsim.cxx +++ b/src/FDM/LaRCsim/LaRCsim.cxx @@ -228,6 +228,9 @@ void FGLaRCsim::update( double dt ) { fgSetDouble("/surface-positions/flight/right-aileron-pos-norm", -1 * fgGetDouble("/controls/flight/aileron")); // FIXME: ignoring trim fgSetDouble("/surface-positions/flight/left-aileron-pos-norm", fgGetDouble("/controls/flight/aileron")); // FIXME: ignoring trim + // used by Instruments/accel.xml + fgSetDouble("/accelerations/pilot-g", -N_Z_cg); + Flap_handle = flap_max * globals->get_controls()->get_flaps(); // flaps with transition occuring in uiuc_aerodeflections.cpp