| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
<system name="towbar"> |
| 8 |
<property type="bool" value="0">external_reactions/towbar/attached</property> |
| 9 |
<property type="double" value="0">external_reactions/towbar/steer-deg</property> |
| 10 |
<property type="double" value="0">external_reactions/towbar/mouse-handling/x</property> |
| 11 |
<property type="double" value="0">external_reactions/towbar/mouse-handling/y</property> |
| 12 |
|
| 13 |
<channel name="Towbar movement forces"> |
| 14 |
|
| 15 |
<fcs_function name="Towbar_Force_X"> |
| 16 |
<function> |
| 17 |
<cos> |
| 18 |
<toradians><property>fcs/steer-pos-deg[0]</property></toradians> |
| 19 |
</cos> |
| 20 |
</function> |
| 21 |
<output>external_reactions/towbar/x</output> |
| 22 |
</fcs_function> |
| 23 |
|
| 24 |
<fcs_function name="Towbar_Force_Y"> |
| 25 |
<function> |
| 26 |
<sin> |
| 27 |
<toradians><property>fcs/steer-pos-deg[0]</property></toradians> |
| 28 |
</sin> |
| 29 |
</function> |
| 30 |
<output>external_reactions/towbar/y</output> |
| 31 |
</fcs_function> |
| 32 |
|
| 33 |
</channel> |
| 34 |
|
| 35 |
</system> |