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

View file

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

View file

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

View file

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