mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 08:55:51 +08:00
Rotorcraft static ap add option to use failsafe throttle setting (#3453)
This commit is contained in:
@@ -2,7 +2,15 @@
|
||||
|
||||
<airframe>
|
||||
|
||||
<section name="CTRL_EFF_SHED" prefix="ROTWING_EFF_SCHED_">
|
||||
<section name="AP_FAILSAFE">
|
||||
<!-- <define name="NO_GPS_LOST_WITH_DATALINK_TIME" value="20"/> --> <!-- Only commented out for navy testing -->
|
||||
<define name="NO_GPS_LOST_WITH_RC_VALID" value="FALSE"/> <!-- Set to FALSE for navy testing -->
|
||||
<define name="RC_LOST_MODE" value="AP_MODE_NAV"/>
|
||||
<define name="GPS_FIX_TIMEOUT" value="5"/>
|
||||
<define name="FAILSAFE_DESCENT_SPEED" value="1.0"/> <!-- Does not work as expected with AP static -->
|
||||
</section>
|
||||
|
||||
<section name="CTRL_EFF_SCHED" prefix="ROTWING_EFF_SCHED_">
|
||||
<define name="IXX_BODY" value="0.04780"/>
|
||||
<define name="IYY_BODY" value="0.7546"/>
|
||||
<define name="IZZ" value="0.9752"/>
|
||||
|
||||
@@ -242,6 +242,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5800"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
@@ -236,6 +236,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5300"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
@@ -236,6 +236,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5300"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
@@ -234,6 +234,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5300"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
@@ -236,6 +236,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5300"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
@@ -236,6 +236,9 @@
|
||||
</section>
|
||||
|
||||
<section name="CALIBRATION">
|
||||
<!-- Throttle value in AP_MODE_FAILSAFE -->
|
||||
<define name="FAILSAFE_THROTTLE" value="5300"/>
|
||||
|
||||
<!-- Voltage and current measurements -->
|
||||
<define name="VoltageOfAdc(adc)" value="((3.3f/65536.0f) * 11.98389 * adc)"/>
|
||||
<define name="VBoardOfAdc(adc)" value="((3.3f/65536.0f) * 1.89036 * adc)"/>
|
||||
|
||||
Reference in New Issue
Block a user