mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
removed obsolete MILLIAMP_PER_PERCENT and BATTERY_SENS defines in airframe files, they don't do anything anymore
This commit is contained in:
@@ -74,9 +74,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -228,7 +228,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.025*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.025*adc)"/>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -193,9 +193,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.183" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -174,9 +174,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.183" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -207,9 +207,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.183" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -227,9 +227,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.183" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -198,9 +198,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9." unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.183" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -102,9 +102,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -178,9 +178,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.18" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -196,9 +196,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.18" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -169,9 +169,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -173,9 +173,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -74,9 +74,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -182,9 +182,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,6 @@
|
|||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_AT_FULL_THROTTLE" value="10000."/>
|
<define name="MILLIAMP_AT_FULL_THROTTLE" value="10000."/>
|
||||||
<!--define name="MILLIAMP_PER_PERCENT" value="0.86"/-->
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -76,9 +76,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -242,9 +242,7 @@ second attempt
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.25" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -74,9 +74,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -204,10 +204,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.0" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.0" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.18" integer="16"/>
|
|
||||||
<!-- <define name="BATTERY_SENS" value="1" integer="16"/>-->
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -204,10 +204,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.0" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.0" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.18" integer="16"/>
|
|
||||||
<!-- <define name="BATTERY_SENS" value="1" integer="16"/>-->
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -244,9 +244,7 @@ second attempt
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.25" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -71,9 +71,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86" />
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V" />
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V" />
|
||||||
<define name="MAX_BAT_LEVEL" value="12.0" unit="V" />
|
<define name="MAX_BAT_LEVEL" value="12.0" unit="V" />
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.0246*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.0246*adc)"/>
|
||||||
|
|||||||
@@ -179,10 +179,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="6.4" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="6.4" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.18" integer="16"/>
|
|
||||||
<!-- <define name="BATTERY_SENS" value="1" integer="16"/>-->
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="AUTOPILOT">
|
<section name="AUTOPILOT">
|
||||||
|
|||||||
@@ -69,7 +69,6 @@
|
|||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_AT_FULL_THROTTLE" value="10000."/>
|
<define name="MILLIAMP_AT_FULL_THROTTLE" value="10000."/>
|
||||||
<!--define name="MILLIAMP_PER_PERCENT" value="0.86"/-->
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -65,9 +65,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -81,9 +81,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -81,9 +81,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -95,9 +95,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -69,9 +69,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -72,9 +72,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<!-- 0.0247311828 -->
|
<!-- 0.0247311828 -->
|
||||||
<!-- 0.02432905 -->
|
<!-- 0.02432905 -->
|
||||||
|
|||||||
@@ -79,7 +79,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="5.45"/>
|
|
||||||
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
||||||
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
||||||
|
|||||||
@@ -78,7 +78,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<!-- 0.0247311828 -->
|
<!-- 0.0247311828 -->
|
||||||
<!-- 0.02432905 -->
|
<!-- 0.02432905 -->
|
||||||
|
|||||||
@@ -103,7 +103,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="VOLTAGE_ADC_A" value="0.0174"/>
|
<define name="VOLTAGE_ADC_A" value="0.0174"/>
|
||||||
<define name="VOLTAGE_ADC_B" value="3.43"/>
|
<define name="VOLTAGE_ADC_B" value="3.43"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(VOLTAGE_ADC_A * adc + VOLTAGE_ADC_B)"/>
|
<define name="VoltageOfAdc(adc)" value="(VOLTAGE_ADC_A * adc + VOLTAGE_ADC_B)"/>
|
||||||
|
|||||||
@@ -91,7 +91,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
||||||
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
||||||
|
|||||||
@@ -74,7 +74,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="VOLTAGE_ADC_A" value="0.0174"/>
|
<define name="VOLTAGE_ADC_A" value="0.0174"/>
|
||||||
<define name="VOLTAGE_ADC_B" value="3.43"/>
|
<define name="VOLTAGE_ADC_B" value="3.43"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(VOLTAGE_ADC_A * adc + VOLTAGE_ADC_B)"/>
|
<define name="VoltageOfAdc(adc)" value="(VOLTAGE_ADC_A * adc + VOLTAGE_ADC_B)"/>
|
||||||
|
|||||||
@@ -92,7 +92,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
||||||
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
<define name="LOW_BATTERY" value="9.0" unit="V"/>
|
||||||
|
|||||||
@@ -89,7 +89,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
|
|
||||||
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
||||||
|
|||||||
@@ -96,7 +96,6 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
<define name="ADC_CHANNEL_VSUPPLY" value="AdcBank1(6)"/>
|
||||||
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
<define name="VoltageOfAdc(adc)" value="(0.01787109375*adc)"/>
|
||||||
<define name="CurrentOfAdc(adc)" value="((adc-177.)*(3.27/0.058))"/>
|
<define name="CurrentOfAdc(adc)" value="((adc-177.)*(3.27/0.058))"/>
|
||||||
|
|||||||
@@ -81,9 +81,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section name="BAT">
|
<section name="BAT">
|
||||||
<define name="MILLIAMP_PER_PERCENT" value="0.86"/>
|
|
||||||
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
<define name="CATASTROPHIC_BAT_LEVEL" value="9.3" unit="V"/>
|
||||||
<define name="BATTERY_SENS" value="0.48" integer="16"/>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user