diff --git a/conf/airframes/microjet_example.xml b/conf/airframes/microjet_example.xml index c5dee5b8a71..f6d09d30de0 100644 --- a/conf/airframes/microjet_example.xml +++ b/conf/airframes/microjet_example.xml @@ -67,13 +67,19 @@ -
+ + +
+ + +
@@ -186,9 +192,11 @@ - - - + + + + + diff --git a/conf/autopilot/subsystems/fixedwing/gyro_pitch.makefile b/conf/autopilot/subsystems/fixedwing/gyro_pitch.makefile index 89844138096..4fd106ef8a0 100644 --- a/conf/autopilot/subsystems/fixedwing/gyro_pitch.makefile +++ b/conf/autopilot/subsystems/fixedwing/gyro_pitch.makefile @@ -1,14 +1,8 @@ -# Hey Emacs, this is a -*- makefile -*- - -# additional pitch stabilization with gyro -# -# this assumes you are already using a roll gyro -# -# default values for tiny and twog are: -# ADC_GYRO_PITCH = ADC_4 -# -# to change just redefine these before including this file -# - -ap.CFLAGS += -DADC_CHANNEL_GYRO_PITCH=$(ADC_GYRO_PITCH) -DUSE_$(ADC_GYRO_PITCH) +$(info Error: Please replace with) +$(info ) +$(info ) +$(info ) +$(info ) +$(info in your airframe file.) +$(error The gyro_pitch subsystem has been removed) diff --git a/conf/autopilot/subsystems/fixedwing/gyro_roll.makefile b/conf/autopilot/subsystems/fixedwing/gyro_roll.makefile index 78310a527db..7697c522a82 100644 --- a/conf/autopilot/subsystems/fixedwing/gyro_roll.makefile +++ b/conf/autopilot/subsystems/fixedwing/gyro_roll.makefile @@ -1,17 +1,7 @@ -# Hey Emacs, this is a -*- makefile -*- +$(info Error: Please replace with) +$(info ) +$(info ) +$(info ) +$(info in your airframe file.) -# roll stabilization with gyro - -# -# default values for tiny and twog are: -# ADC_GYRO_ROLL = ADC_3 -# ADC_GYRO_NB_SAMPLES = 16 -# -# to change just redefine these before including this file -# - -ap.CFLAGS += -DADC_CHANNEL_GYRO_ROLL=$(ADC_GYRO_ROLL) -DUSE_$(ADC_GYRO_ROLL) -ap.CFLAGS += -DADC_CHANNEL_GYRO_NB_SAMPLES=$(ADC_GYRO_NB_SAMPLES) - -ap.CFLAGS += -DUSE_GYRO -DADXRS150 -ap.srcs += $(SRC_FIXEDWING)/gyro.c +$(error The gyro_pitch subsystem has been removed)