A3XX: Add autobrakes!

This commit is contained in:
Joshua Davidson 2017-10-04 15:53:07 -04:00
parent 5e61de5c65
commit 5530ce043f
21 changed files with 1039 additions and 287 deletions

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -1189,6 +1189,7 @@
<file>Aircraft/IDG-A32X/Nasal/engines.nas</file> <file>Aircraft/IDG-A32X/Nasal/engines.nas</file>
<file>Aircraft/IDG-A32X/Nasal/ADIRS.nas</file> <file>Aircraft/IDG-A32X/Nasal/ADIRS.nas</file>
<file>Aircraft/IDG-A32X/Nasal/fire.nas</file> <file>Aircraft/IDG-A32X/Nasal/fire.nas</file>
<file>Aircraft/IDG-A32X/Nasal/autobrake.nas</file>
</systems> </systems>
<thrust> <thrust>
<file>Aircraft/IDG-A32X/Nasal/fadec-common.nas</file> <file>Aircraft/IDG-A32X/Nasal/fadec-common.nas</file>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -106,8 +106,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 0 </y> <y> 0 </y>
<z> -4.31395 </z> <z> -4.31395 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff> <spring_coeff unit="LBS/FT"> 30935.5 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 16978.5 </damping_coeff>
@ -121,8 +121,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> -4.25855 </y> <y> -4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -136,8 +136,8 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<y> 4.25855 </y> <y> 4.25855 </y>
<z> -4.51844 </z> <z> -4.51844 </z>
</location> </location>
<static_friction> 0.8 </static_friction> <static_friction> 0.4 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.6 </dynamic_friction>
<rolling_friction> 0.02 </rolling_friction> <rolling_friction> 0.02 </rolling_friction>
<spring_coeff unit="LBS/FT"> 59785 </spring_coeff> <spring_coeff unit="LBS/FT"> 59785 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 23957 </damping_coeff>
@ -261,7 +261,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<z> -3.1750887 </z> <z> -3.1750887 </z>
</location> </location>
<static_friction> 1.0 </static_friction> <static_friction> 1.0 </static_friction>
<dynamic_friction> 0.5 </dynamic_friction> <dynamic_friction> 0.4 </dynamic_friction>
<rolling_friction> 0.4 </rolling_friction> <rolling_friction> 0.4 </rolling_friction>
<spring_coeff unit="LBS/FT"> 50000 </spring_coeff> <spring_coeff unit="LBS/FT"> 50000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff> <damping_coeff unit="LBS/FT/SEC"> 50000 </damping_coeff>

View file

@ -157,6 +157,7 @@ var systemsReset = func {
systems.hyd_init(); systems.hyd_init();
systems.fuel_init(); systems.fuel_init();
systems.eng_init(); systems.eng_init();
systems.autobrake_init();
fmgc.FMGCinit(); fmgc.FMGCinit();
mcdu1.MCDU_reset(); mcdu1.MCDU_reset();
mcdu2.MCDU_reset(); mcdu2.MCDU_reset();

View file

@ -1189,7 +1189,7 @@
</action> </action>
</animation> </animation>
<!-- FCU Screen Power On --> <!-- FCU Screen/Lights Power On -->
<animation> <animation>
<type>select</type> <type>select</type>
@ -1214,6 +1214,13 @@
<object-name>apprlt</object-name> <object-name>apprlt</object-name>
<object-name>fd2lt</object-name> <object-name>fd2lt</object-name>
<object-name>ils2lt</object-name> <object-name>ils2lt</object-name>
<!-- Lights -->
<object-name>abs_low2</object-name>
<object-name>abs_med2</object-name>
<object-name>abs_max2</object-name>
<object-name>dec_low2</object-name>
<object-name>dec_med2</object-name>
<object-name>dec_max2</object-name>
<condition> <condition>
<or> <or>
<greater-than-equals> <greater-than-equals>
@ -4424,137 +4431,6 @@
</transform> </transform>
</animation> </animation>
<!-- Autobrake System -->
<animation>
<type>textranslate</type>
<object-name>abs_low</object-name>
<property>hydraulics/brakes/indicator/low</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>abs_med</object-name>
<property>hydraulics/brakes/indicator/med</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>abs_max</object-name>
<property>hydraulics/brakes/indicator/max</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>dec_low</object-name>
<property>hydraulics/brakes/indicator/low-dec</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>dec_med</object-name>
<property>hydraulics/brakes/indicator/med-dec</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>dec_max</object-name>
<property>hydraulics/brakes/indicator/max-dec</property>
<factor>0.125</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>abs_low</object-name>
<object-name>dec_low</object-name>
<action>
<button>0</button>
<button>1</button>
<button>3</button>
<button>4</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>property-cycle</command>
<property>hydraulics/brakes/autobrake-setting</property>
<value>1</value>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>abs_med</object-name>
<object-name>dec_med</object-name>
<action>
<button>0</button>
<button>1</button>
<button>3</button>
<button>4</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>property-cycle</command>
<property>hydraulics/brakes/autobrake-setting</property>
<value>2</value>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>abs_max</object-name>
<object-name>dec_max</object-name>
<action>
<button>0</button>
<button>1</button>
<button>3</button>
<button>4</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>property-cycle</command>
<property>hydraulics/brakes/autobrake-setting</property>
<value>3</value>
<value>0</value>
</binding>
</action>
</animation>
<!-- Tiller enable switch --> <!-- Tiller enable switch -->
@ -5395,6 +5271,229 @@
</action> </action>
</animation> </animation>
<!-- Autobrakes -->
<animation>
<type>select</type>
<object-name>dec_low2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<and>
<equals>
<property>controls/autobrake/mode</property>
<value>1</value>
</equals>
<equals>
<property>controls/autobrake/active</property>
<value>1</value>
</equals>
</and>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>dec_med2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<and>
<equals>
<property>controls/autobrake/mode</property>
<value>2</value>
</equals>
<equals>
<property>controls/autobrake/active</property>
<value>1</value>
</equals>
</and>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>dec_max2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<and>
<equals>
<property>controls/autobrake/mode</property>
<value>3</value>
</equals>
<equals>
<property>controls/autobrake/active</property>
<value>1</value>
</equals>
</and>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>abs_low2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<equals>
<property>controls/autobrake/mode</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>abs_med2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<equals>
<property>controls/autobrake/mode</property>
<value>2</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>abs_max2</object-name>
<condition>
<or>
<equals>
<property>controls/switches/annun-test</property>
<value>1</value>
</equals>
<equals>
<property>controls/autobrake/mode</property>
<value>3</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>pick</type>
<object-name>abs_low</object-name>
<object-name>abs_low2</object-name>
<object-name>dec_low</object-name>
<action>
<button>0</button>
<binding>
<condition>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc1</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</condition>
<command>nasal</command>
<script>
if (getprop("/controls/autobrake/mode") != 1) {
systems.arm_autobrake(1);
} else {
systems.arm_autobrake(0);
}
setprop("/sim/sounde/btn1", 1);
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>abs_med</object-name>
<object-name>abs_med2</object-name>
<object-name>dec_med</object-name>
<action>
<button>0</button>
<binding>
<condition>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc1</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</condition>
<command>nasal</command>
<script>
if (getprop("/controls/autobrake/mode") != 2) {
systems.arm_autobrake(2);
} else {
systems.arm_autobrake(0);
}
setprop("/sim/sounde/btn1", 1);
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>abs_max</object-name>
<object-name>abs_max2</object-name>
<object-name>dec_max</object-name>
<action>
<button>0</button>
<binding>
<condition>
<or>
<greater-than-equals>
<property>systems/electrical/bus/dc1</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</condition>
<command>nasal</command>
<script>
if (getprop("/controls/autobrake/mode") != 3) {
systems.arm_autobrake(3);
} else {
systems.arm_autobrake(0);
}
setprop("/sim/sounde/btn1", 1);
</script>
</binding>
</action>
</animation>
<!-- Trays -->
<animation> <animation>
<type>translate</type> <type>translate</type>
<object-name>tray</object-name> <object-name>tray</object-name>

View file

@ -16,7 +16,508 @@ MATERIAL "ac3dmat1.022" rgb 1 0.9098 0.7882 amb 0.8915 0.8915 0.8915 emis 0.91
MATERIAL "ac3dmat1.024" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.2 0.2 0.2 shi 0 trans 0 MATERIAL "ac3dmat1.024" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.2 0.2 0.2 shi 0 trans 0
MATERIAL "ac3dmat4" rgb 1 0.4667 0 amb 0.515 0.515 0.515 emis 0 0 0 spec 0 0 0 shi 128 trans 0 MATERIAL "ac3dmat4" rgb 1 0.4667 0 amb 0.515 0.515 0.515 emis 0 0 0 spec 0 0 0 shi 128 trans 0
OBJECT world OBJECT world
kids 353 kids 362
OBJECT poly
name "dec_max2"
loc 0.000188796 -0.00037 0
texture "main_labels2.png"
crease 45.000000
numvert 5
-0.588312 -0.0129876 -0.159218
-0.588312 -0.0129876 -0.174093
-0.587671 -0.0155592 -0.159218
-0.587671 -0.0155592 -0.174093
-0.587671 -0.0155592 -0.166655
numsurf 1
SURF 0x30
mat 3
refs 5
0 0.75338 0.205402
2 0.75338 0.185254
4 0.804515 0.185254
3 0.855649 0.185254
1 0.855649 0.205402
kids 0
OBJECT poly
name "dec_low2"
loc 0.000188796 -0.00037 0
texture "main_labels2.png"
crease 45.000000
numvert 5
-0.588312 -0.0129876 -0.133202
-0.588312 -0.0129876 -0.118326
-0.587671 -0.0155592 -0.118326
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.125764
numsurf 1
SURF 0x30
mat 3
refs 5
1 0.752404 0.206192
2 0.752404 0.186044
4 0.803542 0.186044
3 0.85468 0.186044
0 0.85468 0.206192
kids 0
OBJECT poly
name "dec_med2"
loc 0.000188617 -0.000369951 -0.018142
texture "main_labels2.png"
crease 45.000000
numvert 5
-0.588312 -0.0129877 -0.133202
-0.588312 -0.0129877 -0.118326
-0.587671 -0.0155592 -0.125764
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.118326
numsurf 1
SURF 0x30
mat 3
refs 5
1 0.752404 0.206191
4 0.752404 0.186044
2 0.803542 0.186044
3 0.85468 0.186044
0 0.85468 0.206191
kids 0
OBJECT poly
name "abs_med2"
loc 0.000188796 -0.00037 0
texture "main_labels2.png"
crease 45.000000
numvert 17
-0.587671 -0.0155592 -0.143906
-0.586058 -0.0220289 -0.143906
-0.587671 -0.0155592 -0.136468
-0.589284 -0.0090895 -0.143906
-0.587671 -0.0155592 -0.151344
-0.590905 -0.0246944 -0.152758
-0.587051 -0.0237341 -0.135054
-0.590905 -0.0246944 -0.135054
-0.587051 -0.0237341 -0.152758
-0.590961 -0.00805 -0.152758
-0.594815 -0.0090103 -0.135054
-0.590961 -0.00805 -0.135054
-0.594815 -0.0090103 -0.152758
-0.586058 -0.0220289 -0.136468
-0.589284 -0.0090895 -0.151344
-0.589284 -0.0090895 -0.136468
-0.586058 -0.0220289 -0.151344
numsurf 19
SURF 0x30
mat 3
refs 6
0 0.803913 0.185254
2 0.752775 0.185254
13 0.752775 0.134565
1 0.803913 0.134565
16 0.855051 0.134565
4 0.855051 0.185254
SURF 0x30
mat 3
refs 3
5 0.864773 0.123815
6 0.743053 0.123814
7 0.743053 0.123815
SURF 0x30
mat 3
refs 3
6 0.743053 0.123814
5 0.864773 0.123815
8 0.864773 0.123814
SURF 0x30
mat 3
refs 3
9 0.864773 0.246694
10 0.743053 0.246694
11 0.743053 0.246694
SURF 0x30
mat 3
refs 3
10 0.743053 0.246694
9 0.864773 0.246694
12 0.864773 0.246694
SURF 0x30
mat 3
refs 3
11 0.743053 0.246694
7 0.743053 0.123815
6 0.743053 0.123814
SURF 0x30
mat 3
refs 3
7 0.743053 0.123815
11 0.743053 0.246694
10 0.743053 0.246694
SURF 0x30
mat 3
refs 3
5 0.864773 0.123815
9 0.864773 0.246694
8 0.864773 0.123814
SURF 0x30
mat 3
refs 3
9 0.864773 0.246694
5 0.864773 0.123815
12 0.864773 0.246694
SURF 0x30
mat 3
refs 3
5 0.864773 0.123815
10 0.743053 0.246694
12 0.864773 0.246694
SURF 0x30
mat 3
refs 3
10 0.743053 0.246694
5 0.864773 0.123815
7 0.743053 0.123815
SURF 0x30
mat 3
refs 4
2 0.752775 0.185254
15 0.752775 0.235943
6 0.743053 0.123814
13 0.752775 0.134565
SURF 0x30
mat 3
refs 3
6 0.743053 0.123814
15 0.752775 0.235943
11 0.743053 0.246694
SURF 0x30
mat 3
refs 4
6 0.743053 0.123814
16 0.855051 0.134565
1 0.803913 0.134565
13 0.752775 0.134565
SURF 0x30
mat 3
refs 3
16 0.855051 0.134565
6 0.743053 0.123814
8 0.864773 0.123814
SURF 0x30
mat 3
refs 4
8 0.864773 0.123814
14 0.855051 0.235943
4 0.855051 0.185254
16 0.855051 0.134565
SURF 0x30
mat 3
refs 3
14 0.855051 0.235943
8 0.864773 0.123814
9 0.864773 0.246694
SURF 0x30
mat 3
refs 4
3 0.803913 0.235943
14 0.855051 0.235943
11 0.743053 0.246694
15 0.752775 0.235943
SURF 0x30
mat 3
refs 3
11 0.743053 0.246694
14 0.855051 0.235943
9 0.864773 0.246694
kids 0
OBJECT poly
name "abs_max2"
loc 0.000188796 -0.00037 0
texture "main_labels2.png"
crease 45.000000
numvert 17
-0.587671 -0.0155592 -0.166655
-0.586058 -0.0220289 -0.166655
-0.589284 -0.0090895 -0.166655
-0.587671 -0.0155592 -0.174093
-0.587671 -0.0155592 -0.159218
-0.589284 -0.0090895 -0.174093
-0.590961 -0.00805 -0.157803
-0.589284 -0.0090895 -0.159218
-0.590961 -0.00805 -0.175507
-0.587051 -0.0237341 -0.175507
-0.586058 -0.0220289 -0.174093
-0.587051 -0.0237341 -0.157803
-0.586058 -0.0220289 -0.159218
-0.590905 -0.0246944 -0.175507
-0.594815 -0.0090103 -0.157803
-0.594815 -0.0090103 -0.175507
-0.590905 -0.0246944 -0.157803
numsurf 19
SURF 0x30
mat 3
refs 6
4 0.75338 0.185254
12 0.75338 0.134565
1 0.804515 0.134565
10 0.855649 0.134565
3 0.855649 0.185254
0 0.804515 0.185254
SURF 0x30
mat 3
refs 4
2 0.804515 0.235943
5 0.855649 0.235943
6 0.743651 0.246694
7 0.75338 0.235943
SURF 0x30
mat 3
refs 3
6 0.743651 0.246694
5 0.855649 0.235943
8 0.865371 0.246694
SURF 0x30
mat 3
refs 4
9 0.865371 0.123814
5 0.855649 0.235943
3 0.855649 0.185254
10 0.855649 0.134565
SURF 0x30
mat 3
refs 3
5 0.855649 0.235943
9 0.865371 0.123814
8 0.865371 0.246694
SURF 0x30
mat 3
refs 4
11 0.743651 0.123814
10 0.855649 0.134565
1 0.804515 0.134565
12 0.75338 0.134565
SURF 0x30
mat 3
refs 3
10 0.855649 0.134565
11 0.743651 0.123814
9 0.865371 0.123814
SURF 0x30
mat 3
refs 4
4 0.75338 0.185254
7 0.75338 0.235943
11 0.743651 0.123814
12 0.75338 0.134565
SURF 0x30
mat 3
refs 3
11 0.743651 0.123814
7 0.75338 0.235943
6 0.743651 0.246694
SURF 0x30
mat 3
refs 3
13 0.865371 0.123815
14 0.743651 0.246694
15 0.865371 0.246694
SURF 0x30
mat 3
refs 3
14 0.743651 0.246694
13 0.865371 0.123815
16 0.743651 0.123815
SURF 0x30
mat 3
refs 3
13 0.865371 0.123815
8 0.865371 0.246694
9 0.865371 0.123814
SURF 0x30
mat 3
refs 3
8 0.865371 0.246694
13 0.865371 0.123815
15 0.865371 0.246694
SURF 0x30
mat 3
refs 3
6 0.743651 0.246694
16 0.743651 0.123815
11 0.743651 0.123814
SURF 0x30
mat 3
refs 3
16 0.743651 0.123815
6 0.743651 0.246694
14 0.743651 0.246694
SURF 0x30
mat 3
refs 3
8 0.865371 0.246694
14 0.743651 0.246694
6 0.743651 0.246694
SURF 0x30
mat 3
refs 3
14 0.743651 0.246694
8 0.865371 0.246694
15 0.865371 0.246694
SURF 0x30
mat 3
refs 3
13 0.865371 0.123815
11 0.743651 0.123814
16 0.743651 0.123815
SURF 0x30
mat 3
refs 3
11 0.743651 0.123814
13 0.865371 0.123815
9 0.865371 0.123814
kids 0
OBJECT poly
name "abs_low2"
loc 0.000188796 -0.00037 0
texture "main_labels2.png"
crease 45.000000
numvert 17
-0.587671 -0.0155592 -0.125764
-0.586058 -0.0220289 -0.125764
-0.589284 -0.0090895 -0.125764
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.118326
-0.589284 -0.0090895 -0.133202
-0.590961 -0.00805 -0.116912
-0.589284 -0.0090895 -0.118326
-0.590961 -0.00805 -0.134616
-0.587051 -0.0237341 -0.134616
-0.586058 -0.0220289 -0.133202
-0.587051 -0.0237341 -0.116912
-0.586058 -0.0220289 -0.118326
-0.590905 -0.0246944 -0.134616
-0.594815 -0.0090103 -0.116912
-0.594815 -0.0090103 -0.134616
-0.590905 -0.0246944 -0.116912
numsurf 19
SURF 0x30
mat 3
refs 6
0 0.803542 0.186044
4 0.752404 0.186044
12 0.752404 0.135356
1 0.803542 0.135356
10 0.85468 0.135356
3 0.85468 0.186044
SURF 0x30
mat 3
refs 4
2 0.803542 0.236733
5 0.85468 0.236733
6 0.742683 0.247484
7 0.752404 0.236733
SURF 0x30
mat 3
refs 3
6 0.742683 0.247484
5 0.85468 0.236733
8 0.864402 0.247484
SURF 0x30
mat 3
refs 4
9 0.864402 0.124605
5 0.85468 0.236733
3 0.85468 0.186044
10 0.85468 0.135356
SURF 0x30
mat 3
refs 3
5 0.85468 0.236733
9 0.864402 0.124605
8 0.864402 0.247484
SURF 0x30
mat 3
refs 4
11 0.742683 0.124605
10 0.85468 0.135356
1 0.803542 0.135356
12 0.752404 0.135356
SURF 0x30
mat 3
refs 3
10 0.85468 0.135356
11 0.742683 0.124605
9 0.864402 0.124605
SURF 0x30
mat 3
refs 4
4 0.752404 0.186044
7 0.752404 0.236733
11 0.742683 0.124605
12 0.752404 0.135356
SURF 0x30
mat 3
refs 3
11 0.742683 0.124605
7 0.752404 0.236733
6 0.742683 0.247484
SURF 0x30
mat 3
refs 3
13 0.864402 0.124605
14 0.742683 0.247484
15 0.864402 0.247484
SURF 0x30
mat 3
refs 3
14 0.742683 0.247484
13 0.864402 0.124605
16 0.742683 0.124605
SURF 0x30
mat 3
refs 3
13 0.864402 0.124605
8 0.864402 0.247484
9 0.864402 0.124605
SURF 0x30
mat 3
refs 3
8 0.864402 0.247484
13 0.864402 0.124605
15 0.864402 0.247484
SURF 0x30
mat 3
refs 3
6 0.742683 0.247484
16 0.742683 0.124605
11 0.742683 0.124605
SURF 0x30
mat 3
refs 3
16 0.742683 0.124605
6 0.742683 0.247484
14 0.742683 0.247484
SURF 0x30
mat 3
refs 3
8 0.864402 0.247484
14 0.742683 0.247484
6 0.742683 0.247484
SURF 0x30
mat 3
refs 3
14 0.742683 0.247484
8 0.864402 0.247484
15 0.864402 0.247484
SURF 0x30
mat 3
refs 3
13 0.864402 0.124605
11 0.742683 0.124605
16 0.742683 0.124605
SURF 0x30
mat 3
refs 3
11 0.742683 0.124605
13 0.864402 0.124605
9 0.864402 0.124605
kids 0
OBJECT poly OBJECT poly
name "a-thr" name "a-thr"
loc 6.69e-005 -8.96e-005 0 loc 6.69e-005 -8.96e-005 0
@ -93681,75 +94182,6 @@ refs 3
60 0.022938 0.817279 60 0.022938 0.817279
kids 0 kids 0
OBJECT poly OBJECT poly
name "dec_low"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 6
-0.587671 -0.0155592 -0.125764
-0.589284 -0.0090895 -0.125764
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.118326
-0.589284 -0.0090895 -0.133202
-0.589284 -0.0090895 -0.118326
numsurf 1
SURF 0x30
mat 3
refs 6
5 0.752404 0.236733
3 0.752404 0.186044
0 0.803542 0.186044
2 0.85468 0.186044
4 0.85468 0.236733
1 0.803542 0.236733
kids 0
OBJECT poly
name "dec_max"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 6
-0.587671 -0.0155592 -0.166655
-0.589284 -0.0090895 -0.166655
-0.587671 -0.0155592 -0.174093
-0.587671 -0.0155592 -0.159218
-0.589284 -0.0090895 -0.174093
-0.589284 -0.0090895 -0.159218
numsurf 1
SURF 0x30
mat 3
refs 6
5 0.75338 0.235943
3 0.75338 0.185254
0 0.804515 0.185254
2 0.855649 0.185254
4 0.855649 0.235943
1 0.804515 0.235943
kids 0
OBJECT poly
name "dec_med"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 6
-0.587671 -0.0155592 -0.143906
-0.587671 -0.0155592 -0.136468
-0.589284 -0.0090895 -0.143906
-0.587671 -0.0155592 -0.151344
-0.589284 -0.0090895 -0.151344
-0.589284 -0.0090895 -0.136468
numsurf 1
SURF 0x30
mat 10
refs 6
5 0.752775 0.235943
1 0.752775 0.185254
0 0.803913 0.185254
3 0.855051 0.185254
4 0.855051 0.235943
2 0.803913 0.235943
kids 0
OBJECT poly
name "door" name "door"
loc -0.0059102 0.0033855 0.0146721 loc -0.0059102 0.0033855 0.0146721
texture "ped_xtra.png" texture "ped_xtra.png"
@ -138430,6 +138862,7 @@ OBJECT poly
name "object.001" name "object.001"
texture "cpit_3.png" texture "cpit_3.png"
crease 45.000000 crease 45.000000
hidden
numvert 114 numvert 114
-0.31241 0.617035 0.137513 -0.31241 0.617035 0.137513
-0.31249 0.617035 -0.133106 -0.31249 0.617035 -0.133106
@ -484018,3 +484451,129 @@ refs 3
130 0.065927 0.561417 130 0.065927 0.561417
129 0.070102 0.561419 129 0.070102 0.561419
kids 0 kids 0
OBJECT poly
name "abslt_med"
loc 7.35212e-005 -0.000369951 -0.018142
texture "main_labels.png"
crease 45.000000
numvert 5
-0.588312 -0.0129877 -0.133202
-0.588312 -0.0129877 -0.118326
-0.589284 -0.0090895 -0.125764
-0.589284 -0.0090895 -0.133202
-0.589284 -0.0090895 -0.118326
numsurf 1
SURF 0x30
mat 3
refs 5
0 0.85468 0.206191
3 0.85468 0.236733
2 0.803542 0.236733
4 0.752404 0.236733
1 0.752404 0.206191
kids 0
OBJECT poly
name "abslt_low"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 5
-0.588312 -0.0129876 -0.133202
-0.588312 -0.0129876 -0.118326
-0.589284 -0.0090895 -0.118326
-0.589284 -0.0090895 -0.133202
-0.589284 -0.0090895 -0.125764
numsurf 1
SURF 0x30
mat 3
refs 5
0 0.85468 0.206192
3 0.85468 0.236733
4 0.803542 0.236733
2 0.752404 0.236733
1 0.752404 0.206192
kids 0
OBJECT poly
name "abslt_max"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 5
-0.588312 -0.0129876 -0.159218
-0.588312 -0.0129876 -0.174093
-0.589284 -0.0090895 -0.159218
-0.589284 -0.0090895 -0.174093
-0.589284 -0.0090895 -0.166655
numsurf 1
SURF 0x30
mat 3
refs 5
1 0.855649 0.205402
3 0.855649 0.235943
4 0.804515 0.235943
2 0.75338 0.235943
0 0.75338 0.205402
kids 0
OBJECT poly
name "dec_med"
loc 7.35212e-005 -0.000369951 -0.018142
texture "main_labels.png"
crease 45.000000
numvert 5
-0.587671 -0.0155592 -0.118326
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.125764
-0.588312 -0.0129877 -0.118326
-0.588312 -0.0129877 -0.133202
numsurf 1
SURF 0x30
mat 3
refs 5
3 0.752404 0.206191
0 0.752404 0.186044
2 0.803542 0.186044
1 0.85468 0.186044
4 0.85468 0.206191
kids 0
OBJECT poly
name "dec_low"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 5
-0.587671 -0.0155592 -0.125764
-0.587671 -0.0155592 -0.133202
-0.587671 -0.0155592 -0.118326
-0.588312 -0.0129876 -0.118326
-0.588312 -0.0129876 -0.133202
numsurf 1
SURF 0x30
mat 3
refs 5
3 0.752404 0.206192
2 0.752404 0.186044
0 0.803542 0.186044
1 0.85468 0.186044
4 0.85468 0.206192
kids 0
OBJECT poly
name "dec_max"
loc 7.37e-005 -0.00037 0
texture "main_labels.png"
crease 45.000000
numvert 5
-0.587671 -0.0155592 -0.166655
-0.587671 -0.0155592 -0.174093
-0.587671 -0.0155592 -0.159218
-0.588312 -0.0129876 -0.174093
-0.588312 -0.0129876 -0.159218
numsurf 1
SURF 0x30
mat 3
refs 5
4 0.75338 0.205402
2 0.75338 0.185254
0 0.804515 0.185254
1 0.855649 0.185254
3 0.855649 0.205402
kids 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

91
Nasal/autobrake.nas Normal file
View file

@ -0,0 +1,91 @@
# A3XX Autobrake
# Joshua Davidson (it0uchpods)
#########################################
# Copyright (c) it0uchpods Design Group #
#########################################
setprop("/controls/autobrake/active", 0);
setprop("/controls/autobrake/mode", 0);
setlistener("/sim/signals/fdm-initialized", func {
var rev1 = 0;
var rev2 = 0;
var thr1 = 0;
var thr2 = 0;
var wow1 = getprop("/gear/gear[1]/wow");
var wow2 = getprop("/gear/gear[2]/wow");
var gnd_speed = getprop("/velocities/groundspeed-kt");
});
var autobrake_init = func {
setprop("/controls/autobrake/active", 0);
setprop("/controls/autobrake/mode", 0);
}
# Override FG's generic brake, so we can use toe brakes to disconnect autobrake
controls.applyBrakes = func(v, which = 0) {
wow1 = getprop("/gear/gear[1]/wow");
wow2 = getprop("/gear/gear[2]/wow");
if (getprop("/controls/autobrake/mode") != 0 and (wow1 or wow2)) {
arm_autobrake(0);
}
if (which <= 0) {
interpolate("/controls/gear/brake-left", v, 0.5);
}
if (which >= 0) {
interpolate("/controls/gear/brake-right", v, 0.5);
}
}
# Set autobrake mode
var arm_autobrake = func(mode) {
if (mode == 0) { # OFF
absChk.stop();
if (getprop("/controls/autobrake/active") == 1) {
setprop("/controls/autobrake/active", 0);
setprop("/controls/gear/brake-left", 0);
setprop("/controls/gear/brake-right", 0);
}
setprop("/controls/autobrake/mode", 0);
} else if (mode == 1) { # LO
setprop("/controls/autobrake/mode", 1);
absChk.start();
} else if (mode == 2) { # MED
setprop("/controls/autobrake/mode", 2);
absChk.start();
} else if (mode == 3) { # MAX
setprop("/controls/autobrake/mode", 3);
absChk.start();
}
}
# Autobrake enable if armed
var absChk = maketimer(0.2, func {
rev1 = getprop("/engines/engine[0]/reverser-pos-norm");
rev2 = getprop("/engines/engine[1]/reverser-pos-norm");
thr1 = getprop("/controls/engines/engine[0]/throttle");
thr2 = getprop("/controls/engines/engine[1]/throttle");
wow1 = getprop("/gear/gear[1]/wow");
wow2 = getprop("/gear/gear[2]/wow");
gnd_speed = getprop("/velocities/groundspeed-kt");
if (gnd_speed > 60 and rev1 < 0.01 and rev2 < 0.01) {
if (getprop("/controls/autobrake/mode") != 0 and thr1 < 0.15 and thr2 < 0.15 and wow1 and wow2) {
setprop("/controls/autobrake/active", 1);
if (getprop("/controls/autobrake/mode") == 1) { # LO
interpolate("/controls/gear/brake-left", 0.4, 0.5);
interpolate("/controls/gear/brake-right", 0.4, 0.5);
} else if (getprop("/controls/autobrake/mode") == 2) { # MED
interpolate("/controls/gear/brake-left", 0.65, 0.5);
interpolate("/controls/gear/brake-right", 0.65, 0.5);
} else if (getprop("/controls/autobrake/mode") == 3) { # MAX
interpolate("/controls/gear/brake-left", 0.9, 0.5);
interpolate("/controls/gear/brake-right", 0.9, 0.5);
}
} else {
setprop("/controls/autobrake/active", 0);
setprop("/controls/gear/brake-left", 0);
setprop("/controls/gear/brake-right", 0);
}
}
});

View file

@ -203,6 +203,7 @@ setlistener("/sim/signals/fdm-initialized", func {
systems.fuel_init(); systems.fuel_init();
systems.fire_init(); systems.fire_init();
systems.eng_init(); systems.eng_init();
systems.autobrake_init();
fmgc.APinit(); fmgc.APinit();
librariesLoop.start(); librariesLoop.start();
fmgc.FMGCinit(); fmgc.FMGCinit();

View file

@ -1 +1 @@
2022 2023