mirror of
https://github.com/l0k1/oprf_assets.git
synced 2024-11-21 15:08:03 +08:00
54 lines
1.4 KiB
XML
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> |