Author: mkrose Date: 2005-04-27 22:36:56 -0700 (Wed, 27 Apr 2005) New Revision: 1523 Added: trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/fcs.xml trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/ trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/__init__.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/constants.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/fcs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/inputs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/monitoring.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/nws.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/outputs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/pitch.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/roll.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/sensors.py trunk/CSP/CSPSim/Tools/FlightControlSystem/m2k/speedbrake.py Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/fcs.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/F16/DJ/gear.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/fm.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/gear.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/model.xml trunk/CSP/CSPSim/Data/XML/vehicles/aircraft/m2k/systems.xml trunk/CSP/CSPSim/Include/BaseDynamics.h trunk/CSP/CSPSim/Include/ControlNode.h trunk/CSP/CSPSim/Include/LandingGear.h trunk/CSP/CSPSim/Include/LandingGearChannels.h trunk/CSP/CSPSim/Include/PhysicsModel.h trunk/CSP/CSPSim/Source/BaseDynamics.cpp trunk/CSP/CSPSim/Source/Channels.cpp trunk/CSP/CSPSim/Source/Collision.cpp trunk/CSP/CSPSim/Source/F16/F16GearDynamics.cpp trunk/CSP/CSPSim/Source/F16/F16GearDynamics.h trunk/CSP/CSPSim/Source/FlightControlSystem.cpp trunk/CSP/CSPSim/Source/LandingGear.cpp trunk/CSP/CSPSim/Source/PhysicsModel.cpp trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/inputs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/nasa.py trunk/CSP/CSPSim/Tools/FlightControlSystem/F16/outputs.py trunk/CSP/CSPSim/Tools/FlightControlSystem/NodeConstructor.py Log: * Remove dead code from PhysicsModel and BaseDynamics. * Add a dynamics variable to PhysicsModel and BaseDynamics to access the center of mass offset in local coordinates during the numerical integration. This is useful for dynamics classes that need to compute force based on the physical location of the aircraft (e.g. ground collisions and landing gear). This position is also available via the Kinetics::ModelPosition channel, but the channel is only updated after each time step. * Added dedicated channels for wheel brake and steering command, one each per landing gear. The fcs is now used to connect the actual input channels (e.g., rudder input) to the corresponding landing gear channels. This makes it relatively easy to insert aircraft-specific logic, such as disabling nose wheel steering when no WOW signal from the front landing gear. Added corresponding fcs logic for the f16 and m2k. * Fixed a bug that prevented FCS output channels from binding to the data recorder. * Improved gear response modelling when the shock absorber is extending rapidly. * Implemented a LeadLagFilter control node for the fcs and added a BooleanSwitch class to select between two input channels using a boolean channel. * Added a FlightControlSystem based fcs for the m2k. Implements simple g-limiting using parts of the f16 fcs circuit. Also handle combining elevator and aileron signals to deflect the trailing edge control surfaces. Simplifies the m2k animation definitions somewhat. * Tweaked the m2k flight model slightly to allow the aircraft to reach higher AOA. The new values are entirely ad-hoc. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1523 Diff omitted (85731 bytes). |