From: Erik H. <eh...@us...> - 2016-07-06 08:00:43
|
Update of /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14242/Systems Modified Files: Controls.cpp LandingGear.cpp Log Message: Prevent stall behaviour on ground Index: Controls.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems/Controls.cpp,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -r1.40 -r1.41 *** Controls.cpp 11 Jun 2016 10:02:09 -0000 1.40 --- Controls.cpp 6 Jul 2016 08:00:40 -0000 1.41 *************** *** 695,698 **** --- 695,699 ---- file << " <property>metrics/bw-ft</property>" << std::endl; file << " <property>aero/alpha-rad</property>" << std::endl; + file << " <property>fcs/gear-no-wow</property>" << std::endl; file << " <table>" << std::endl; Index: LandingGear.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems/LandingGear.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** LandingGear.cpp 23 Dec 2015 09:30:40 -0000 1.13 --- LandingGear.cpp 6 Jul 2016 08:00:40 -0000 1.14 *************** *** 229,232 **** --- 229,240 ---- { file << " <channel name=\"" + _description[_subtype] + "\">" << std::endl; + file << " <switch name=\"fcs/gear-no-wow\">" << std::endl; + file << " <default value=\"1\"/>" << std::endl; + file << " <test logic=\"AND\" value=\"0\">" << std::endl; + file << " gear/unit[1]/WOW eq 1" << std::endl; + file << " gear/unit[2]/WOW eq 1" << std::endl; + file << " </test>" << std::endl; + file << " </switch>" << std::endl; + file << std::endl; file << " <kinematic name=\"" + _description[_subtype] + " Control\">" << std::endl; file << " <input>gear/gear-cmd-norm</input>" << std::endl; |