Author: mkrose Date: 2005-10-16 12:37:41 -0700 (Sun, 16 Oct 2005) New Revision: 1643 Added: trunk/CSP/CSPSim/Include/StabilityFlightModel.h trunk/CSP/CSPSim/Source/F16/F16FlightModel.cpp trunk/CSP/CSPSim/Source/F16/F16FlightModel.h trunk/CSP/CSPSim/Source/StabilityFlightModel.cpp Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/channel_mirrors.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/fcs.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/fm.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/model.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/fcs.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/fm.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/model.xml trunk/CSP/CSPSim/Include/FlightDynamics.h trunk/CSP/CSPSim/Include/FlightModel.h trunk/CSP/CSPSim/Source/F16/F16System.cpp trunk/CSP/CSPSim/Source/F16/F16System.h trunk/CSP/CSPSim/Source/F16/FLCS.cpp trunk/CSP/CSPSim/Source/FlightDynamics.cpp trunk/CSP/CSPSim/Source/FlightModel.cpp trunk/CSP/CSPSim/Source/SConscript trunk/CSP/CSPSim/Source/Stores/Projectile.cpp trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/outputs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/pitch.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/roll.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/sensors.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/trailingedge.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/yaw.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/outputs.py trunk/CSP/CSPSim/Tools/HID/Maps/aircraft-core.map trunk/CSP/CSPSim/VisualStudio/CSPSimDLL/CSPSimDLL.vcproj Log: * Refactor existing flight model code and add a new flight model implementation for the f-16 based on NASA low speed wind tunnel data and Raptor/Mav-JP's high speed flight model data. The FlightModel class is now abstract, with StabilityFlightModel implementing a concrete subclass that is similar to the old FlightModel class (mostly linear stability derivatives). The F16FlightModel subclass implements more specialized routines based on the NASA 1979 paper, using tabular data for most coefficients over a broad range of AOA (-20 to +90 deg). This includes deep stall modeling. Improved modeling for the f-16 fcs yaw limiter. Also improved the pitch limiter in TO/landing gains. Changed the control surface deflection sense to match the literature. Updated the model animations accordingly. Updated animation gains to compensate for an earlier change to the deflection, limit, and rate scaling. Rotations are now assumed to be in degrees, so the control surface deflections need to be prescaled by 180/PI. Added the MPO switch and made minor realism tweaks to the f-16 flcs. This change breaks the air refueling door. That logic is moving to the new fuel system code which will be submitted in a later change. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1643 Diff omitted (243435 bytes). |