From ec1ddbf1a9f77a23d7f323560357044291fa463b Mon Sep 17 00:00:00 2001 From: Pascal Brisset Date: Sat, 21 Oct 2006 06:19:17 +0000 Subject: [PATCH] *** empty log message *** --- conf/airframes/microjet7.xml | 11 +- conf/airframes/slayer1.xml | 251 ++++++++++++++++++----------------- conf/airframes/slayer3.xml | 14 +- conf/settings/tuning.xml | 5 +- 4 files changed, 150 insertions(+), 131 deletions(-) diff --git a/conf/airframes/microjet7.xml b/conf/airframes/microjet7.xml index 6c94c9a99a..9a59ec5525 100644 --- a/conf/airframes/microjet7.xml +++ b/conf/airframes/microjet7.xml @@ -110,7 +110,11 @@ - + + + + + @@ -133,6 +137,7 @@ + @@ -220,7 +225,7 @@ ap.srcs += gps_ubx.c gps.c ap.CFLAGS += -DINFRARED ap.srcs += infrared.c estimator.c -ap.CFLAGS += -DNAV -DH_CTL_RATE_LOOP -DAGR_CLIMB +ap.CFLAGS += -DNAV -DH_CTL_RATE_LOOP -DAGR_CLIMB -DLOITER_TRIM ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c @@ -236,7 +241,7 @@ ap.srcs += bomb.c # Config for SITL simulation include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile -sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DH_CTL_RATE_LOOP +sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DH_CTL_RATE_LOOP -DLOITER_TRIM sim.srcs += bomb.c diff --git a/conf/airframes/slayer1.xml b/conf/airframes/slayer1.xml index 5e5be51095..b019346845 100644 --- a/conf/airframes/slayer1.xml +++ b/conf/airframes/slayer1.xml @@ -1,26 +1,26 @@ - - + + - - - - + + + + - + - +
@@ -32,9 +32,9 @@ - - - + + +
@@ -65,134 +65,123 @@ - - - - - -
- -
- - - - - - - - -
- -
- - - + + + + + + + + +
+ +
+ + + + + + +
+ +
+
-
+
- - - - + + +
- -
- - - - - - - - - - - - - - - - - -
- - -
- - - -
- -
- - -
- -
- - + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
-
-
- - - -
-
- - - - +
+ + + +
-
- - - - - - - - -
- +
- + include $(PAPARAZZI_SRC)/conf/autopilot/tiny.makefile - - FLASH_MODE=IAP ap.CFLAGS += -DFBW -DAP -DCONFIG=\"tiny_1_1.h\" -DLED -DTIME_LED=1 @@ -206,44 +195,60 @@ ap.srcs += $(SRC_ARCH)/servos_4015_MAT_hw.c actuators.c ap.CFLAGS += -DRADIO_CONTROL -DRADIO_CONTROL_TYPE=RC_FUTABA ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c -ap.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_FBW_DEVICE=Uart0 -DDOWNLINK_AP_DEVICE=Uart0 -DPPRZ_UART=Uart0 -DDATALINK=PPRZ -DUART0_BAUD=B9600 -ap.srcs += downlink.c pprz_transport.c $(SRC_ARCH)/uart_hw.c datalink.c +ap.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=XBeeTransport -DDOWNLINK_FBW_DEVICE=Uart0 -DDOWNLINK_AP_DEVICE=Uart0 -DXBEE_UART=Uart0 -DDATALINK=XBEE -DUART0_BAUD=B9600 +ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c xbee.c + +#TRANSPARENT ap.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_FBW_DEVICE=Uart0 -DDOWNLINK_AP_DEVICE=Uart0 -DPPRZ_UART=Uart0 -DDATALINK=PPRZ -DUART0_BAUD=B9600 +#TRANSPARENT ap.srcs += downlink.c $(SRC_ARCH)/uart_hw.c datalink.c pprz_transport.c + ap.CFLAGS += -DINTER_MCU ap.srcs += inter_mcu.c -ap.CFLAGS += -DADC -DUSE_ADC_0 -DUSE_ADC_1 -DUSE_ADC_4 -DUSE_ADC_5 -DUSE_ADC_6 +ap.CFLAGS += -DADC -DUSE_ADC_0 -DUSE_ADC_1 -DUSE_ADC_4 -DUSE_ADC_5 -DUSE_ADC_6 ap.srcs += $(SRC_ARCH)/adc_hw.c - ap.CFLAGS += -DGPS -DUBX -DUSE_UART1 -DGPS_LINK=Uart1 -DUART1_BAUD=B19200 ap.srcs += gps_ubx.c gps.c - -ap.CFLAGS += -DINFRARED +ap.CFLAGS += -DINFRARED ap.srcs += infrared.c estimator.c -ap.CFLAGS += -DNAV -ap.srcs += nav.c pid.c +ap.CFLAGS += -DNAV -DH_CTL_RATE_LOOP -DAGR_CLIMB -DLOITER_TRIM +ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c -ap.CFLAGS += -DGYRO -DIDG300 -DPID_RATE_LOOP -ap.srcs += gyro.c +ap.CFLAGS += -DGYRO -DIDG300 +ap.srcs += gyro.c bomb.c # Harware In The Loop #ap.CFLAGS += -DHITL -test.CFLAGS += -DFBW -DCONFIG=\"tiny.h\" -DLED -DTIME_LED=1 -DACTUATORS=\"servos_4015_hw.h\" -DSERVOS_4015 -DUSE_UART0 -DUART0_BAUD=B9600 -DDATALINK=PPRZ -DPPRZ_UART=Uart0 -test.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c pprz_transport.c setup_actuators.c $(SRC_ARCH)/uart_hw.c $(SRC_ARCH)/servos_4015_hw.c main.c -#tunel.CFLAGS += -DFBW -DCONFIG=\"tiny.h\" -DLED -DTIME_LED=1 -tunnel.srcs += $(SRC_ARCH)/uart_tunnel.c - -# config for SITL simulation +# Config for SITL simulation include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile -sim.CFLAGS += -DCONFIG=\"tiny.h\" +sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DH_CTL_RATE_LOOP -DLOITER_TRIM + +# a test program to setup actuators +setup_actuators.ARCHDIR = $(ARCHI) +setup_actuators.ARCH = arm7tdmi +setup_actuators.TARGET = setup_actuators +setup_actuators.TARGETDIR = setup_actuators + +setup_actuators.CFLAGS += -DFBW -DCONFIG=\"tiny.h\" -DLED -DTIME_LED=1 -DACTUATORS=\"servos_4015_hw.h\" -DSERVOS_4015 -DUSE_UART0 -DUART0_BAUD=B9600 -DDATALINK=PPRZ -DPPRZ_UART=Uart0 +setup_actuators.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c pprz_transport.c setup_actuators.c $(SRC_ARCH)/uart_hw.c $(SRC_ARCH)/servos_4015_hw.c main.c + + +# a test program to tunnel between both uart +tunnel.ARCHDIR = $(ARCHI) +tunnel.ARCH = arm7tdmi +tunnel.TARGET = tunnel +tunnel.TARGETDIR = tunnel + +tunnel.CFLAGS += -DFBW -DCONFIG=\"tiny.h\" -DLED -DTIME_LED=1 +tunnel.srcs += $(SRC_ARCH)/uart_tunnel.c diff --git a/conf/airframes/slayer3.xml b/conf/airframes/slayer3.xml index f578cf4e57..47f04e9c56 100755 --- a/conf/airframes/slayer3.xml +++ b/conf/airframes/slayer3.xml @@ -12,6 +12,7 @@ + @@ -104,7 +105,11 @@ - + + + + + @@ -128,6 +133,7 @@ + @@ -209,12 +215,12 @@ ap.srcs += gps_ubx.c gps.c ap.CFLAGS += -DINFRARED ap.srcs += infrared.c estimator.c -ap.CFLAGS += -DNAV -DH_CTL_RATE_LOOP -DAGR_CLIMB +ap.CFLAGS += -DNAV -DH_CTL_RATE_LOOP -DAGR_CLIMB -DLOITER_TRIM ap.srcs += nav.c fw_h_ctl.c fw_v_ctl.c ap.CFLAGS += -DGYRO -DADXRS150 -ap.srcs += gyro.c +ap.srcs += gyro.c bomb.c # Harware In The Loop @@ -223,7 +229,7 @@ ap.srcs += gyro.c # Config for SITL simulation include $(PAPARAZZI_SRC)/conf/autopilot/sitl.makefile -sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DH_CTL_RATE_LOOP +sim.CFLAGS += -DCONFIG=\"tiny.h\" -DAGR_CLIMB -DH_CTL_RATE_LOOP -DLOITER_TRIM # a test program to setup actuators diff --git a/conf/settings/tuning.xml b/conf/settings/tuning.xml index 3116c3f80d..912ddee436 100644 --- a/conf/settings/tuning.xml +++ b/conf/settings/tuning.xml @@ -34,6 +34,7 @@ + @@ -49,9 +50,11 @@ - + + +