some changes and fixes, AP DISABLED DUE TO FDM ISSUES

This commit is contained in:
it0uchpods 2016-11-05 00:53:20 -04:00
parent b33bc26f20
commit 2fe2fa69e9
4 changed files with 51 additions and 45 deletions

View file

@ -9,7 +9,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<email> bicyus@gmail.com </email>
<filecreationdate> 2012-02-15 </filecreationdate>
<version> 0.99 </version>
<description> Airbus A320neo With Sharklets and CFM LEAP-X High ByPass Turbofan Engine </description>
<description> Airbus A320-200 with IAE V2500 Engines </description>
<note> Fork from the A320-Family aircraft project (Thanks to all authors) </note>
<limitation></limitation>
</fileheader>
@ -423,9 +423,9 @@ YAW MOI_________3950000______23089847_______24848934
<pitch> 2.2 </pitch>
<yaw> 1 </yaw>
</orient>
<feed>4</feed>
<feed>2</feed>
<feed>3</feed>
<feed>4</feed>
<thruster file="direct">
<location unit="IN">
<x> 589.735 </x>
@ -450,9 +450,9 @@ YAW MOI_________3950000______23089847_______24848934
<pitch> 2.2 </pitch>
<yaw> -1 </yaw>
</orient>
<feed>4</feed>
<feed>6</feed>
<feed>5</feed>
<feed>4</feed>
<thruster file="direct">
<location unit="IN">
<x> 589.735 </x>
@ -577,10 +577,10 @@ YAW MOI_________3950000______23089847_______24848934
<aerosurface_scale name="Elevator Control">
<input>fcs/pitch-trim-sum</input>
<gain>0.018</gain>
<gain>0.025</gain>
<range>
<min>-30</min>
<max>15</max>
<min>-10</min>
<max>10</max>
</range>
<output>fcs/elevator-pos-rad</output>
</aerosurface_scale>
@ -588,8 +588,8 @@ YAW MOI_________3950000______23089847_______24848934
<aerosurface_scale name="Elevator position normalized">
<input>fcs/elevator-pos-deg</input>
<domain>
<min>-30</min>
<max>15</max>
<min>-10</min>
<max>10</max>
</domain>
<range>
<min>-1</min>
@ -612,8 +612,8 @@ YAW MOI_________3950000______23089847_______24848934
<input>fcs/roll-trim-sum</input>
<gain>0.02</gain>
<range>
<min>-25</min>
<max>25</max>
<min>-15</min>
<max>15</max>
</range>
<output>fcs/left-aileron-pos-rad</output>
</aerosurface_scale>
@ -622,8 +622,8 @@ YAW MOI_________3950000______23089847_______24848934
<input>-fcs/roll-trim-sum</input>
<gain>0.02</gain>
<range>
<min>-25</min>
<max>25</max>
<min>-15</min>
<max>15</max>
</range>
<output>fcs/right-aileron-pos-rad</output>
</aerosurface_scale>
@ -631,11 +631,11 @@ YAW MOI_________3950000______23089847_______24848934
<aerosurface_scale name="Left Aileron position normalized">
<input>fcs/left-aileron-pos-deg</input>
<domain>
<min>-25</min>
<max>25</max>
<min>-15</min>
<max>15</max>
</domain>
<range>
<min>-0.75</min>
<min>-1</min>
<max>1</max>
</range>
<output>fcs/left-aileron-pos-norm</output>
@ -644,11 +644,11 @@ YAW MOI_________3950000______23089847_______24848934
<aerosurface_scale name="Right Aileron position normalized">
<input>fcs/right-aileron-pos-deg</input>
<domain>
<min>-25</min>
<max>25</max>
<min>-15</min>
<max>15</max>
</domain>
<range>
<min>-0.75</min>
<min>-1</min>
<max>1</max>
</range>
<output>fcs/right-aileron-pos-norm</output>
@ -970,7 +970,7 @@ YAW MOI_________3950000______23089847_______24848934
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<value>0.30</value>
<value>0.40</value>
</product>
</function>
@ -1459,7 +1459,7 @@ YAW MOI_________3950000______23089847_______24848934
<property>metrics/cbarw-ft</property>
<property>aero/alpha-rad</property>
<!-- value>-4.0000</value> -->
<value>-0.6</value>
<value>-0.8</value>
</product>
</function>
<function name="aero/moment/Pitch_elevator">

View file

@ -25,9 +25,9 @@
<electrical>
<path></path>
</electrical>
<autopilot>
<!--autopilot>
<path>Aircraft/A320Family/Systems/it-autoflight.xml</path>
</autopilot>
</autopilot-->
<!-- Uses slightly modified IT-AUTOFLIGHT Thrust controller. -->
<autopilot>
<path>Aircraft/A320Family/Systems/custom-autothrust.xml</path>
@ -169,20 +169,24 @@
<altitude-dial-mode>0</altitude-dial-mode>
<no-generics>1</no-generics>
<roll>
<umin>-0.5</umin>
<umax>0.5</umax>
<kp>0.10</kp>
<kp-vorloc>0.10</kp-vorloc>
<umin>-0.40</umin>
<umax>0.40</umax>
<kp>0.06</kp>
<kp-vorloc>0.07</kp-vorloc>
<ti>0.0001</ti>
<ti-vorloc>0.0001</ti-vorloc>
</roll>
<pitch>
<umin>-0.30</umin>
<umax>0.30</umax>
<kp>-0.10</kp>
<umin>-0.18</umin>
<umax>0.18</umax>
<kp>-0.05</kp>
<ti>0.0001</ti>
</pitch>
<flch>
<umin>-0.30</umin>
<umax>0.30</umax>
<kp>-0.09</kp>
<umin>-0.18</umin>
<umax>0.18</umax>
<kp>-0.05</kp>
<ti>0.0001</ti>
</flch>
<gs>
<kp>0.10</kp>

View file

@ -9,9 +9,9 @@
<name>Left elevator</name>
<type>rotate</type>
<object-name>ElevatorL</object-name>
<property>/fdm/jsbsim/fcs/elevator-fbw-output</property>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-30.0</dep></entry>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
@ -28,9 +28,9 @@
<name>Right elevator</name>
<type>rotate</type>
<object-name>ElevatorR</object-name>
<property>/fdm/jsbsim/fcs/elevator-fbw-output</property>
<property>/controls/flight/elevator</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-30.0</dep></entry>
<entry><ind>-1.0</ind><dep>-15.0</dep></entry>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>1.0</ind><dep>15.0</dep></entry>
</interpolation>
@ -48,10 +48,10 @@
<animation>
<name>Horizontal Stabilizer</name>
<type>rotate</type>
<property>/fdm/jsbsim/fcs/elevator-fbw-output-trim</property>
<property>/controls/flight/elevator-trim</property>
<interpolation>
<entry><ind>-1.0</ind><dep>-4.0</dep></entry>
<entry><ind>1.0</ind><dep>14.0</dep></entry>
<entry><ind>-1.0</ind><dep>-10.0</dep></entry>
<entry><ind>1.0</ind><dep>10.0</dep></entry>
</interpolation>
<axis>
<x>0</x>

View file

@ -48,9 +48,10 @@
<input>
<expression>
<table>
<property>/engines/engine[0]/egt-degc</property>
<entry><ind>700</ind><dep>302</dep></entry>
<entry><ind>765</ind><dep>765</dep></entry>
<property>/engines/engine[0]/egt-degf</property>
<entry><ind>0000</ind><dep>000</dep></entry>
<entry><ind>0700</ind><dep>302</dep></entry>
<entry><ind>1500</ind><dep>765</dep></entry>
</table>
</expression>
</input>
@ -65,9 +66,10 @@
<input>
<expression>
<table>
<property>/engines/engine[1]/egt-degc</property>
<entry><ind>700</ind><dep>302</dep></entry>
<entry><ind>765</ind><dep>765</dep></entry>
<property>/engines/engine[1]/egt-degf</property>
<entry><ind>0000</ind><dep>000</dep></entry>
<entry><ind>0700</ind><dep>302</dep></entry>
<entry><ind>1500</ind><dep>765</dep></entry>
</table>
</expression>
</input>