oprf_assets/fleet/Systems/autopilot.xml
Nikolai V Chr eb205cc8ff power
2018-11-20 03:37:22 +01:00

54 lines
1.4 KiB
XML

<?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>