mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
removed some old GYRO_NB_SAMPLES defines, use configure of imu_analog subsystem instead. moved some old ENAC airframes to obsolete dir
This commit is contained in:
-11
@@ -53,17 +53,6 @@
|
||||
<define name="MAX_PITCH" value="0.6"/>
|
||||
</section>
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="IR1" value="ADC_1"/>
|
||||
<define name="IR2" value="ADC_2"/>
|
||||
<define name="IR_TOP" value="ADC_0"/>
|
||||
<define name="IR_NB_SAMPLES" value="16"/>
|
||||
|
||||
<define name="GYRO_ROLL" value="ADC_3"/>
|
||||
<define name="GYRO_NB_SAMPLES" value="16"/>
|
||||
|
||||
</section>
|
||||
|
||||
<section name="INFRARED" prefix="IR_">
|
||||
<define name="ADC_IR1_NEUTRAL" value="512"/>
|
||||
<define name="ADC_IR2_NEUTRAL" value="512"/>
|
||||
@@ -51,13 +51,6 @@
|
||||
</section>
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="IR_TOP" value="ADC_0"/>
|
||||
<define name="IR1" value="ADC_1"/>
|
||||
<define name="IR2" value="ADC_2"/>
|
||||
<define name="IR_NB_SAMPLES" value="16"/>
|
||||
<define name="GYRO_ROLL" value="ADC_4"/>
|
||||
<define name="GYRO_PITCH" value="ADC_5"/>
|
||||
<define name="GYRO_NB_SAMPLES" value="16"/>
|
||||
<define name="AIRSPEED" value="ADC_3"/>
|
||||
<define name="AIRSPEED_NB_SAMPLES" value="32"/>
|
||||
</section>
|
||||
|
||||
@@ -79,13 +79,6 @@
|
||||
<define name="MAX_PITCH" value="1.0"/>
|
||||
</section>
|
||||
|
||||
<!-- Configure the pinning of the ADC -->
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="GYRO_NB_SAMPLES" value="16" />
|
||||
<define name="ACCEL_NB_SAMPLES" value="32" />
|
||||
</section>
|
||||
|
||||
<!-- settings for the Analog IMU -->
|
||||
|
||||
<section name="INS" prefix="INS_">
|
||||
@@ -210,6 +203,7 @@
|
||||
<configure name="ACCEL_X" value="ADC_5"/>
|
||||
<configure name="ACCEL_Y" value="ADC_6"/>
|
||||
<configure name="ACCEL_Z" value="ADC_7"/>
|
||||
<configure name="ADC_ACCEL_NB_SAMPLES" value="32"/>
|
||||
</subsystem>
|
||||
|
||||
<subsystem name="ahrs" type="float_dcm"/>
|
||||
|
||||
@@ -90,15 +90,6 @@
|
||||
<define name="MAX_PITCH" value="0.6"/>
|
||||
</section>
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="IR1" value="ADC_1"/>
|
||||
<define name="IR2" value="ADC_2"/>
|
||||
<define name="IR_TOP" value="ADC_0"/>
|
||||
<define name="IR_NB_SAMPLES" value="16"/>
|
||||
<define name="GYRO_ROLL" value="ADC_3"/>
|
||||
<!--define name="GYRO_NB_SAMPLES" value="32"/-->
|
||||
</section>
|
||||
|
||||
<section name="INFRARED" prefix="IR_">
|
||||
<define name="ADC_IR1_NEUTRAL" value="512"/>
|
||||
<define name="ADC_IR2_NEUTRAL" value="512"/>
|
||||
|
||||
@@ -72,15 +72,6 @@
|
||||
<define name="MAX_PITCH" value="0.6"/>
|
||||
</section>
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="IR1" value="ADC_1"/>
|
||||
<define name="IR2" value="ADC_2"/>
|
||||
<define name="IR_TOP" value="ADC_0"/>
|
||||
<define name="IR_NB_SAMPLES" value="16"/>
|
||||
<define name="GYRO_ROLL" value="ADC_3"/>
|
||||
<define name="GYRO_NB_SAMPLES" value="16"/>
|
||||
</section>
|
||||
|
||||
<section name="INFRARED" prefix="IR_">
|
||||
<define name="ADC_IR1_NEUTRAL" value="512"/>
|
||||
<define name="ADC_IR2_NEUTRAL" value="512"/>
|
||||
|
||||
@@ -78,15 +78,6 @@
|
||||
<define name="MAX_PITCH" value="0.6"/>
|
||||
</section>
|
||||
|
||||
<section name="adc" prefix="ADC_CHANNEL_">
|
||||
<define name="IR1" value="ADC_1"/>
|
||||
<define name="IR2" value="ADC_2"/>
|
||||
<define name="IR_TOP" value="ADC_0"/>
|
||||
<define name="IR_NB_SAMPLES" value="16"/>
|
||||
<define name="GYRO_ROLL" value="ADC_3"/>
|
||||
<define name="GYRO_NB_SAMPLES" value="16"/>
|
||||
</section>
|
||||
|
||||
<section name="INFRARED" prefix="IR_">
|
||||
<define name="ADC_IR1_NEUTRAL" value="512"/>
|
||||
<define name="ADC_IR2_NEUTRAL" value="512"/>
|
||||
|
||||
Reference in New Issue
Block a user