improve autopilot, add spoilers to flight recorder

This commit is contained in:
Joshua Davidson 2017-05-03 17:25:26 -04:00
parent 6ccda69ca9
commit 3f0980d2ec
3 changed files with 20 additions and 12 deletions

View file

@ -265,23 +265,23 @@
<roll> <roll>
<umin>-0.40</umin> <umin>-0.40</umin>
<umax>0.40</umax> <umax>0.40</umax>
<kp>0.08</kp> <kp>0.05</kp>
<kp-vloc>0.09</kp-vloc> <kp-vloc>0.07</kp-vloc>
<ti>10.0</ti> <ti>10.0</ti>
<td>0.00001</td> <td>0.00001</td>
<kp-cws>0.09</kp-cws> <kp-cws>0.05</kp-cws>
</roll> </roll>
<pitch> <pitch>
<umin>-0.60</umin> <umin>-0.60</umin>
<umax>0.60</umax> <umax>0.60</umax>
<kp>-0.12</kp> <kp>-0.09</kp>
<ti>10.0</ti> <ti>5.0</ti>
<td>0.0001</td> <td>0.00001</td>
<kp-cws>-0.12</kp-cws> <kp-cws>-0.09</kp-cws>
</pitch> </pitch>
<cmd> <cmd>
<roll-kp>-1.0</roll-kp> <roll-kp>-1.4</roll-kp>
<roll-scale>1.4</roll-scale> <roll-scale>1.7</roll-scale>
<vorloc>-4.0</vorloc> <vorloc>-4.0</vorloc>
<alt>0.025</alt> <alt>0.025</alt>
<vs>0.05</vs> <vs>0.05</vs>

View file

@ -74,6 +74,14 @@
<type>float</type> <type>float</type>
<property>/controls/flight/aileron-right</property> <property>/controls/flight/aileron-right</property>
</signal> </signal>
<signal>
<type>float</type>
<property>/controls/flight/spoiler-left</property>
</signal>
<signal>
<type>float</type>
<property>/controls/flight/spoiler-right</property>
</signal>
<signal> <signal>
<type>float</type> <type>float</type>
<property>/controls/flight/rudder-fdm</property> <property>/controls/flight/rudder-fdm</property>

View file

@ -201,7 +201,7 @@
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/aileron-fbw</property>
<entry><ind>0</ind><dep> 0</dep></entry> <entry><ind>0</ind><dep> 0</dep></entry>
<entry><ind>1</ind><dep>-0.5</dep></entry> <entry><ind>1</ind><dep>-0.5</dep></entry>
</table> </table>
</sum> </sum>
@ -246,7 +246,7 @@
<expression> <expression>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/aileron-fbw</property>
<entry><ind>-0.1</ind><dep> 0</dep></entry> <entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry> <entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table> </table>
</expression> </expression>
@ -341,7 +341,7 @@
<expression> <expression>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/aileron-fbw</property>
<entry><ind>0.1</ind><dep> 0</dep></entry> <entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry> <entry><ind>1.0</ind><dep>0.5</dep></entry>
</table> </table>
</expression> </expression>