mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
53 lines
4.0 KiB
XML
53 lines
4.0 KiB
XML
|
<xml>
|
||
|
<object name="FixedWingPathFollowerSettings" singleinstance="true" settings="true">
|
||
|
<description>Settings for the @ref FixedWingPathFollowerModule</description>
|
||
|
|
||
|
<!-- these coefficients control desired movement in airspace -->
|
||
|
<field name="AirSpeedMax" units="m/s" type="float" elements="1" defaultvalue="15"/>
|
||
|
<!-- maximum speed the aircraft can reach in level flight at full throttle without loosing altitude - leave some safety margin -->
|
||
|
<field name="AirSpeedMin" units="m/s" type="float" elements="1" defaultvalue="10"/>
|
||
|
<!-- stall speed - leave some safety margin -->
|
||
|
<field name="VerticalVelMax" units="m/s" type="float" elements="1" defaultvalue="10"/>
|
||
|
<!-- maximum allowed climb or sink rate in guided flight-->
|
||
|
|
||
|
<field name="HorizontalPosP" units="(m/s)/m" type="float" elements="1" defaultvalue="0.05"/>
|
||
|
<!-- proportional coefficient for correction vector in path vector field to get back on course - reduce for fast planes to prevent course oscillations -->
|
||
|
<field name="VerticalPosP" units="(m/s)/m" type="float" elements="1" defaultvalue="0.05"/>
|
||
|
<!-- proportional coefficient for desired vertical speed in relation to altitude displacement-->
|
||
|
|
||
|
<!-- these coefficients control actual control outputs -->
|
||
|
<field name="CoursePI" units="deg/deg" type="float" elements="3" elementnames="Kp,Ki,ILimit" defaultvalue="0.2, 0, 0"/>
|
||
|
<!-- coefficients for desired bank angle in relation to ground heading error - this controls heading -->
|
||
|
|
||
|
<field name="SpeedP" units="(m/s^2) / ((m/s)/(m/s)" type="float" elementnames="Kp,Max" defaultvalue="10,10"/>
|
||
|
<!-- coefficients for desired acceleration
|
||
|
in relation to relative airspeed error (IASerror/IASactual)-->
|
||
|
<field name="AccelPI" units="deg / (m/s^2)" type="float" elements="3" elementnames="Kp,Ki,ILimit" defaultvalue="1.5, 1.5, 20"/>
|
||
|
<!-- coefficients for desired pitch
|
||
|
in relation to acceleration error -->
|
||
|
<field name="VerticalToPitchCrossFeed" units="deg / ((m/s)/(m/s))" type="float" elementnames="Kp,Max" defaultvalue="50, 5"/>
|
||
|
<!-- coefficients for adjusting desired pitch
|
||
|
in relation to "vertical speed error relative to airspeed" (verror/IASactual) -->
|
||
|
<field name="AirspeedToVerticalCrossFeed" units="(m/s) / ((m/s)/(m/s))" type="float" elementnames="Kp,Max" defaultvalue="100, 100"/>
|
||
|
<!-- proportional coefficient for adjusting vertical speed error for power calculation
|
||
|
in relation to relative airspeed error (IASerror/IASactual) -->
|
||
|
<field name="PowerPI" units="1/(m/s)" type="float" elements="3" elementnames="Kp,Ki,ILimit" defaultvalue="0.01,0.01,0.8"/>
|
||
|
<!-- proportional coefficient for desired throttle
|
||
|
in relation to vertical speed error (absolute but including crossfeed) -->
|
||
|
|
||
|
<!-- output limits -->
|
||
|
<field name="RollLimit" units="deg" type="float" elements="3" elementnames="Min,Neutral,Max" defaultvalue="-35,0,35" />
|
||
|
<!-- maximum allowed bank angles in navigates flight -->
|
||
|
<field name="PitchLimit" units="deg" type="float" elements="3" elementnames="Min,Neutral,Max" defaultvalue="-10,5,20" />
|
||
|
<!-- maximum allowed pitch angles and setpoint for neutral pitch -->
|
||
|
<field name="ThrottleLimit" units="" type="float" elements="3" elementnames="Min,Neutral,Max" defaultvalue="0.1,0.5,0.9" />
|
||
|
<!-- minimum and maximum allowed throttle and setpoint for cruise speed -->
|
||
|
|
||
|
<field name="UpdatePeriod" units="ms" type="int32" elements="1" defaultvalue="100"/>
|
||
|
<access gcs="readwrite" flight="readwrite"/>
|
||
|
<telemetrygcs acked="true" updatemode="onchange" period="0"/>
|
||
|
<telemetryflight acked="true" updatemode="onchange" period="0"/>
|
||
|
<logging updatemode="manual" period="0"/>
|
||
|
</object>
|
||
|
</xml>
|