oprf_assets/fleet/Systems/autopilot.xml

54 lines
1.4 KiB
XML
Raw Normal View History

2018-11-20 10:37:22 +08:00
<?xml version="1.0"?>
<PropertyList>
<pid-controller>
<debug>false</debug>
<enable>
<prop>/autopilot/locks/heading</prop>
<value>dg-heading-hold</value>
</enable>
<input>
<prop>/orientation/heading-deg</prop>
</input>
<reference>
<prop>/autopilot/internal/heading-deg</prop>
</reference>
<output>
<prop>/controls/flight/rudder</prop>
</output>
<config>
<Kp>0.00</Kp>
<Ti>100.0</Ti>
<Td>0.0</Td>
<u_min>-1.0</u_min>
<u_max>1.0</u_max>
</config>
</pid_controller>
<pid-controller>
<name>Auto throttle</name>
<debug>false</debug>
<enable>
<prop>/autopilot/locks/speed</prop>
<value>speed-with-throttle</value>
</enable>
<input>
<prop>/velocities/groundspeed-kt</prop>
</input>
<reference>
<prop>/autopilot/settings/target-speed-kt</prop>
</reference>
<output>
<prop>/controls/engines/engine[0]/throttle</prop>
</output>
<config>
<Kp>0.15</Kp>
<Ti>20.0</Ti>
<Td>0.00001</Td>
<u_min>0.0</u_min>
<u_max>1.0</u_max>
</config>
</pid-controller>
</PropertyList>