diff --git a/README b/README index 82a77efe6e..4239f4a8a6 100644 --- a/README +++ b/README @@ -1,33 +1,33 @@ # Paparazzi $Id$ -# Copyright (C) 2003-2006 Pascal Brisset Antoine Drouin +# Copyright (C) 2003-2010 The Paparazzi Team # -# This file is part of paparazzi. +# This file is part of Paparazzi. # -# paparazzi is free software; you can redistribute it and/or modify +# Paparazzi is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # -# paparazzi is distributed in the hope that it will be useful, +# Paparazzi is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with paparazzi; see the file COPYING. If not, write to +# along with Paparazzi; see the file COPYING. If not, write to # the Free Software Foundation, 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. + Intro ----- -Paparazzi is an attempt to develop a cheap fixed wing UAV (Unmanned Air -Vehicle). As of today we have successfully flown autonomously several small -electro powered fixed wing aircraft (Twinstar, Microjet, ...). +Paparazzi is an attempt to develop a free software Unmanned (Air) Vehicle System. + As of today the system is being used successfuly by a number of hobyists, universities and companies all over the world, on vehicle of various size ( 100g to 25Kg ) and of various nature ( fixed wing, rotorcrafts, boats and surface vehicles). Up to date informations are available from the wiki website - paparazzi.enac.fr + http://paparazzi.enac.fr and from the mailing list (http://savannah.nongnu.org/mail/?group=paparazzi) and the IRC channel (freenode, #paparazzi). @@ -62,15 +62,18 @@ For Debian or Ubuntu users, required packages are available at http://paparazzi.enac.fr/debian -Installation of the meta-package "paparazzi-dev" will install -everything needed to compile this project (if something is missing, -please ask) for simulation. "paparazzi-arm7" is required to compile -the code for the ARM based boards. + + - "paparazzi-dev" will provide everything needed to compile and run the ground segment and the simulator. If something is missing, please report it. + - "paparazzi-arm7" is required to compile the code for LPC21 based boards ( tiny, twog, booz, etc). + - "paparazzi-stm32" is needed for building code for STM32 based boards (lisa/L, lisa/M) + - "paparazzi-omap" is needed for building code for the optional Gumstix Overo module available on lisa/L + + - "paparazzi-jsbsim" is needed for using jsbsim as flight dynamic model for the simulator. Compilation and demo simulation ------------------------------- - 1) "make" in the top directory to compile all the libraries and tools. + 1) type "make" in the top directory to compile all the libraries and tools. 2) "./paparazzi" to run the Paparazzi Center diff --git a/conf/airframes/Poine/beth.xml b/conf/airframes/Poine/beth.xml index 4d9585943f..808669cb93 100644 --- a/conf/airframes/Poine/beth.xml +++ b/conf/airframes/Poine/beth.xml @@ -93,11 +93,12 @@ ARCH=stm32 FLASH_MODE = JTAG SRC_ARCH = $(ARCH) -SRC_BETH=beth +SRC_BETH=firmwares/beth SRC_BOOZ=booz SRC_BOOZ_ARCH=$(SRC_BOOZ)/arch/$(ARCH) SRC_LISA=lisa SRC_LISA_ARCH=$(SRC_LISA)/arch/$(ARCH) +SRC_FIRMWARE=subsystems main_stm32.ARCHDIR = stm32 #main_stm32.LDSCRIPT = $(SRC_ARCH)/stm32f103re_flash.ld @@ -136,13 +137,13 @@ main_stm32.srcs += lisa/lisa_overo_link.c lisa/arch/stm32/lisa_overo_link_arch.c #crista IMU main_stm32.srcs += math/pprz_trig_int.c main_stm32.CFLAGS += -DIMU_TYPE_H=\"imu/imu_crista.h\" -DIMU_OVERRIDE_CHANNELS -main_stm32.srcs += $(SRC_FIRMWARE)/imu.c \ - $(SRC_FIRMWARE)/imu/imu_crista.c \ - $(SRC_FIRMWARE)/imu/arch/$(ARCH)/imu_crista_arch.c +main_stm32.srcs += subsystems/imu.c \ + subsystems/imu/imu_crista.c \ + arch/$(ARCH)/subsystems/imu/imu_crista_arch.c main_stm32.CFLAGS += -DUSE_DMA1_C4_IRQ main_stm32.srcs += $(SRC_BOOZ)/booz2_commands.c -main_stm32.srcs += $(SRC_BOOZ)/actuators/actuators_asctec.c +main_stm32.srcs += firmwares/rotorcraft/actuators/actuators_asctec.c #\ # $(SRC_BOOZ_ARCH)/actuators/actuators_asctec_arch.c main_stm32.CFLAGS += -DACTUATORS_ASCTEC_DEVICE=i2c1 @@ -317,7 +318,7 @@ overo_sfb.srcs += $(SRC_BETH)/overo_sfb_controller.c # # # -include $(PAPARAZZI_SRC)/conf/autopilot/lisa_test_progs.makefile +include $(PAPARAZZI_SRC)/conf/autopilot/obsolete/lisa_test_progs.makefile diff --git a/conf/airframes/vor.xml b/conf/airframes/vor.xml index 99b625d096..ea7f66b737 100644 --- a/conf/airframes/vor.xml +++ b/conf/airframes/vor.xml @@ -4,13 +4,12 @@ ARCH=lpc21 -VOR=vor FLASH_MODE = IAP main.ARCHDIR = $(ARCH) -main.CFLAGS += -DBOARD_CONFIG=\"conf_demo.h\" -main.srcs = $(VOR)/lpc_vor_main.c +main.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\" +main.srcs = firmwares/vor/lpc_vor_main.c main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./29880.)' main.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c @@ -19,7 +18,7 @@ main.CFLAGS += -DLED main.srcs += $(SRC_ARCH)/armVIC.c -main.srcs += $(VOR)/lpc_vor_convertions.c +main.srcs += firmwares/vor/lpc_vor_convertions.c main.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B9600 main.srcs += $(SRC_ARCH)/uart_hw.c @@ -27,7 +26,7 @@ main.srcs += $(SRC_ARCH)/uart_hw.c main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart0 main.srcs += downlink.c pprz_transport.c -main.srcs += $(VOR)/vor_int_demod_decim.c +main.srcs += firmwares/vor/vor_int_demod_decim.c diff --git a/conf/autopilot/conf_demo.h b/conf/autopilot/conf_demo.h deleted file mode 100644 index 804b8def03..0000000000 --- a/conf/autopilot/conf_demo.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef CONFIG_DEMO_H -#define CONFIG_DEMO_H - -/* Master oscillator freq. */ -#define FOSC (12000000) -/* PLL multiplier */ -#define PLL_MUL (5) -/* CPU clock freq. */ -#define CCLK (FOSC * PLL_MUL) -/* Peripheral bus speed mask 0x00->4, 0x01-> 1, 0x02 -> 2 */ -#define PBSD_BITS 0x00 -#define PBSD_VAL 4 -/* Peripheral bus clock freq. */ -#define PCLK (CCLK / PBSD_VAL) - -#define LED_1_BANK 1 -#define LED_1_PIN 24 - - -#endif /* CONFIG_DEMO_H */ diff --git a/conf/messages.xml b/conf/messages.xml index efc4d578ed..3a69a1fb30 100644 --- a/conf/messages.xml +++ b/conf/messages.xml @@ -743,7 +743,12 @@ - + + + + + + @@ -1931,6 +1936,11 @@ + + + + + diff --git a/conf/settings/settings_beth.xml b/conf/settings/settings_beth.xml index b2cfa56c1a..135a0d60d8 100644 --- a/conf/settings/settings_beth.xml +++ b/conf/settings/settings_beth.xml @@ -4,7 +4,7 @@ - + diff --git a/conf/settings/settings_beth_full.xml b/conf/settings/settings_beth_full.xml index 5540784647..dea2c22efd 100644 --- a/conf/settings/settings_beth_full.xml +++ b/conf/settings/settings_beth_full.xml @@ -4,24 +4,24 @@ - + - + - + - + - + - + - + diff --git a/conf/settings/settings_beth_pid.xml b/conf/settings/settings_beth_pid.xml index b26c65f493..f59904e713 100644 --- a/conf/settings/settings_beth_pid.xml +++ b/conf/settings/settings_beth_pid.xml @@ -4,24 +4,24 @@ - + - + - + - + - + - + - + diff --git a/conf/settings/settings_beth_reduced.xml b/conf/settings/settings_beth_reduced.xml index 934b6a2574..a89f7cacf0 100644 --- a/conf/settings/settings_beth_reduced.xml +++ b/conf/settings/settings_beth_reduced.xml @@ -4,7 +4,7 @@ - + diff --git a/conf/settings/settings_beth_sfb.xml b/conf/settings/settings_beth_sfb.xml index 72524a21f6..9d213de5bb 100644 --- a/conf/settings/settings_beth_sfb.xml +++ b/conf/settings/settings_beth_sfb.xml @@ -4,27 +4,27 @@ - + - + - + - + - + - + - + - + diff --git a/conf/settings/settings_beth_twist.xml b/conf/settings/settings_beth_twist.xml index 606781002c..c9d13c8588 100644 --- a/conf/settings/settings_beth_twist.xml +++ b/conf/settings/settings_beth_twist.xml @@ -4,37 +4,37 @@ - + - + - + - + - + - + - + - + - + - + - + - + - +