Merge remote-tracking branch 'paparazzi/master'

This commit is contained in:
Gautier Hattenberger
2011-11-02 15:16:16 +01:00
153 changed files with 2655 additions and 1402 deletions
+14
View File
@@ -59,6 +59,8 @@
/sw/ground_segment/cockpit/gtk_setting_time.ml /sw/ground_segment/cockpit/gtk_setting_time.ml
/sw/ground_segment/cockpit/gcs /sw/ground_segment/cockpit/gcs
/sw/ground_segment/cockpit/gtk_strip.ml /sw/ground_segment/cockpit/gtk_strip.ml
/sw/ground_segment/cockpit/ant_track
# /sw/ground_segment/lpc21iap/ # /sw/ground_segment/lpc21iap/
/sw/ground_segment/lpc21iap/lpc21iap /sw/ground_segment/lpc21iap/lpc21iap
@@ -80,11 +82,16 @@
/sw/ground_segment/tmtc/ivy2udp /sw/ground_segment/tmtc/ivy2udp
/sw/ground_segment/tmtc/server /sw/ground_segment/tmtc/server
/sw/ground_segment/tmtc/diadec /sw/ground_segment/tmtc/diadec
/sw/ground_segment/tmtc/ivy_serial_bridge
/sw/ground_segment/tmtc/GSM/SMS_GS
# /sw/ground_segment/joystick # /sw/ground_segment/joystick
/sw/ground_segment/joystick/input2ivy /sw/ground_segment/joystick/input2ivy
/sw/ground_segment/joystick/test_stick /sw/ground_segment/joystick/test_stick
/sw/in_progress/fdm/fdm_step
/sw/in_progress/fdm/fms_steps_attitude
# /sw/lib/ocaml/ # /sw/lib/ocaml/
/sw/lib/ocaml/gtk_papget_editor.ml /sw/lib/ocaml/gtk_papget_editor.ml
/sw/lib/ocaml/gtk_papget_text_editor.ml /sw/lib/ocaml/gtk_papget_text_editor.ml
@@ -102,6 +109,13 @@
/sw/logalizer/gtk_export.ml /sw/logalizer/gtk_export.ml
/sw/logalizer/sd2log /sw/logalizer/sd2log
/sw/logalizer/plotprofile /sw/logalizer/plotprofile
/sw/logalizer/ahrsview
/sw/logalizer/ctrlstick
/sw/logalizer/ffjoystick
/sw/logalizer/imuview
/sw/logalizer/ivy_example
/sw/logalizer/motor_bench
/sw/logalizer/tmclient
# /sw/simulator/ # /sw/simulator/
/sw/simulator/gaia /sw/simulator/gaia
+12 -2
View File
@@ -61,14 +61,24 @@ UBX_XML = $(CONF)/ubx.xml
MTK_XML = $(CONF)/mtk.xml MTK_XML = $(CONF)/mtk.xml
XSENS_XML = $(CONF)/xsens_MTi-G.xml XSENS_XML = $(CONF)/xsens_MTi-G.xml
TOOLS=$(PAPARAZZI_SRC)/sw/tools TOOLS=$(PAPARAZZI_SRC)/sw/tools
OCAML=$(shell which ocaml)
OCAMLRUN=$(shell which ocamlrun)
# try to find the paparazzi multilib toolchain
TOOLCHAIN=$(shell find -L /opt/paparazzi/arm-multilib ~/sat -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1)
ifneq ($(TOOLCHAIN),)
TOOLCHAIN_DIR=$(shell dirname $(TOOLCHAIN))
#found the compiler from the paparazzi multilib package
ARMGCC=$(TOOLCHAIN_DIR)/bin/arm-none-eabi-gcc
else
#try picking up the arm-none-eabi compiler from the path, otherwise use arm-elf
HAVE_ARM_NONE_EABI_GCC := $(shell which arm-none-eabi-gcc) HAVE_ARM_NONE_EABI_GCC := $(shell which arm-none-eabi-gcc)
ifeq ($(strip $(HAVE_ARM_NONE_EABI_GCC)),) ifeq ($(strip $(HAVE_ARM_NONE_EABI_GCC)),)
ARMGCC=$(shell which arm-elf-gcc) ARMGCC=$(shell which arm-elf-gcc)
else else
ARMGCC=$(HAVE_ARM_NONE_EABI_GCC) ARMGCC=$(HAVE_ARM_NONE_EABI_GCC)
endif endif
OCAML=$(shell which ocaml) endif
OCAMLRUN=$(shell which ocamlrun)
all: conf commands static all: conf commands static
+3 -2
View File
@@ -71,8 +71,9 @@ endif
all_ac_h: $(AIRFRAME_H) $(MODULES_H) $(SETTINGS_H) $(TUNING_H) $(MAKEFILE_AC) $(PERIODIC_H) all_ac_h: $(AIRFRAME_H) $(MODULES_H) $(SETTINGS_H) $(TUNING_H) $(MAKEFILE_AC) $(PERIODIC_H)
@echo "TARGET: " $(TARGET) "\n" > $(ACINCLUDE)/$(TARGET)_srcs.list @echo "TARGET: " $(TARGET)"\n" > $(ACINCLUDE)/$(TARGET)_srcs.list
@echo "CFLAGS: " $($(TARGET).CFLAGS) "\n" >> $(ACINCLUDE)/$(TARGET)_srcs.list @echo "CFLAGS: " $($(TARGET).CFLAGS)"\n" >> $(ACINCLUDE)/$(TARGET)_srcs.list
@echo "LDFLAGS: " $($(TARGET).LDFLAGS)"\n" >> $(ACINCLUDE)/$(TARGET)_srcs.list
@echo "srcs: " $($(TARGET).srcs) >> $(ACINCLUDE)/$(TARGET)_srcs.list @echo "srcs: " $($(TARGET).srcs) >> $(ACINCLUDE)/$(TARGET)_srcs.list
radio_ac_h : $(RADIO_H) radio_ac_h : $(RADIO_H)
+5 -5
View File
@@ -1,5 +1,5 @@
# Hey Emacs, this is a -*- makefile -*- # Hey Emacs, this is a -*- makefile -*-
# #
# $Id: Makefile.sim 3505 2009-06-17 12:59:32Z hecto $ # $Id: Makefile.sim 3505 2009-06-17 12:59:32Z hecto $
# Copyright (C) 2006 Pascal Brisset, Antoine Drouin # Copyright (C) 2006 Pascal Brisset, Antoine Drouin
# #
@@ -18,8 +18,8 @@
# You should have received a copy of the GNU General Public License # 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, # the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA. # Boston, MA 02111-1307, USA.
# #
# #
# This is the Makefile for the JSBSim target. # This is the Makefile for the JSBSim target.
@@ -93,8 +93,8 @@ $(OBJDIR)/.depend:
@echo DEPEND $@ @echo DEPEND $@
$(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@ $(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@
ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),erase) ifneq ($(MAKECMDGOALS),erase)
-include $(OBJDIR)/.depend -include $(OBJDIR)/.depend
endif endif
endif endif
+43 -16
View File
@@ -31,25 +31,52 @@
# only define here or elsewhere? # only define here or elsewhere?
SRC_ARCH = arch/lpc21 SRC_ARCH = arch/lpc21
# Define programs and commands.
# Programs location
# try to find the paparazzi multilib toolchain
TOOLCHAIN=$(shell find -L /opt/paparazzi/arm-multilib ~/sat -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1)
#
# found the new paparazzi toolchain, use it
#
ifneq ($(TOOLCHAIN),)
TOOLCHAIN_DIR=$(shell dirname $(TOOLCHAIN))
GCC_BIN_DIR=$(TOOLCHAIN_DIR)/bin
GCC_LIB_DIR=$(TOOLCHAIN_DIR)/arm-none-eabi/lib
GCC_BIN_PREFIX=$(GCC_BIN_DIR)/arm-none-eabi
CC = $(GCC_BIN_PREFIX)-gcc
LD = $(GCC_BIN_PREFIX)-gcc
OBJCOPY = $(GCC_BIN_PREFIX)-objcopy
OBJDUMP = $(GCC_BIN_PREFIX)-objdump
NM = $(GCC_BIN_PREFIX)-nm
SIZE = $(GCC_BIN_PREFIX)-size
OOCD = $(TOOLCHAIN_DIR)/bin/openocd
#
# If we can't find the toolchain (in /opt/paparazzi/arm-multilib or ~/sat) then try picking up the compilers from the path
#
else
# see if we can find the new arm-none-eabi, otherwise use the older arm-elf
HAVE_ARM_NONE_EABI_GCC := $(shell which arm-none-eabi-gcc) HAVE_ARM_NONE_EABI_GCC := $(shell which arm-none-eabi-gcc)
ifeq ($(strip $(HAVE_ARM_NONE_EABI_GCC)),) ifeq ($(strip $(HAVE_ARM_NONE_EABI_GCC)),)
CC = arm-elf-gcc GCC_PREFIX = arm-elf
LD = $(CC)
SHELL = sh
OBJCOPY = arm-elf-objcopy
OBJDUMP = arm-elf-objdump
SIZE = arm-elf-size
NM = arm-elf-nm
else else
CC = arm-none-eabi-gcc GCC_PREFIX = arm-none-eabi
LD = $(CC) GCC_LIB_DIR=$(shell dirname `which arm-none-eabi-gcc`)/../arm-none-eabi/lib
SHELL = sh
OBJCOPY = arm-none-eabi-objcopy
OBJDUMP = arm-none-eabi-objdump
SIZE = arm-none-eabi-size
NM = arm-none-eabi-nm
endif endif
CC = $(shell which $(GCC_PREFIX)-gcc)
LD = $(shell which $(GCC_PREFIX)-gcc)
OBJCOPY = $(shell which $(GCC_PREFIX)-objcopy)
OBJDUMP = $(shell which $(GCC_PREFIX)-objdump)
NM = $(shell which $(GCC_PREFIX)-nm)
SIZE = $(shell which $(GCC_PREFIX)-size)
OOCD = $(shell which openocd)
endif
# Define some other programs and commands.
SHELL = sh
REMOVE = rm -f REMOVE = rm -f
COPY = cp COPY = cp
@@ -87,7 +114,7 @@ CINCS = $(INCLUDES) -I $(SRC_ARCH)/include
CFLAGS = $(CINCS) CFLAGS = $(CINCS)
CFLAGS += -O$(OPT) CFLAGS += -O$(OPT)
# CFLAGS += -malignment-traps # CFLAGS += -malignment-traps
CFLAGS += -Wall -Wcast-qual -Wimplicit -Wcast-align -Winline CFLAGS += -Wall -Wcast-qual -Wimplicit -Wcast-align
CFLAGS += -Wpointer-arith -Wswitch CFLAGS += -Wpointer-arith -Wswitch
CFLAGS += -Wredundant-decls -Wreturn-type -Wshadow -Wunused CFLAGS += -Wredundant-decls -Wreturn-type -Wshadow -Wunused
CFLAGS += -Wa,-adhlns=$(OBJDIR)/$(notdir $(subst $(suffix $<),.lst,$<)) CFLAGS += -Wa,-adhlns=$(OBJDIR)/$(notdir $(subst $(suffix $<),.lst,$<))
+13 -13
View File
@@ -18,8 +18,8 @@
# You should have received a copy of the GNU General Public License # 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, # the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA. # Boston, MA 02111-1307, USA.
# #
# Define programs and commands. # Define programs and commands.
@@ -56,17 +56,17 @@ CFLAGS += -Wredundant-decls -Wreturn-type -Wshadow -Wunused
# flags only for C # flags only for C
CFLAGS + = -Wstrict-prototypes -Wmissing-declarations CFLAGS + = -Wstrict-prototypes -Wmissing-declarations
CFLAGS += -Wmissing-prototypes -Wnested-externs CFLAGS += -Wmissing-prototypes -Wnested-externs
CFLAGS += $(CSTANDARD) CFLAGS += $(CSTANDARD)
CFLAGS += $($(TARGET).CFLAGS) CFLAGS += $($(TARGET).CFLAGS)
CXX = /opt/paparazzi/omap/overo-oe/tmp/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-g++ CXX = /opt/paparazzi/omap/overo-oe/tmp/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-g++
CXXFLAGS = -pipe -O3 -fshow-column -ffast-math -fPIC CXXFLAGS = -pipe -O3 -fshow-column -ffast-math -fPIC
CXXFLAGS += -g -ffunction-sections -fdata-sections CXXFLAGS += -g -ffunction-sections -fdata-sections
CXXFLAGS += -mfloat-abi=softfp -mtune=cortex-a8 -mfpu=vfp -march=armv7-a CXXFLAGS += -mfloat-abi=softfp -mtune=cortex-a8 -mfpu=vfp -march=armv7-a
CXXFLAGS += -Wall -Wextra CXXFLAGS += -Wall -Wextra
CXXFLAGS += $($(TARGET).CXXFLAGS) CXXFLAGS += $($(TARGET).CXXFLAGS)
SRC_C_OMAP = $($(TARGET).srcs) SRC_C_OMAP = $($(TARGET).srcs)
@@ -81,7 +81,7 @@ build: elf
elf: $(OBJDIR)/$(TARGET).elf elf: $(OBJDIR)/$(TARGET).elf
# Program the device. # Program the device.
load upload program: $(OBJDIR)/$(TARGET).elf load upload program: $(OBJDIR)/$(TARGET).elf
scp $(OBJDIR)/$(TARGET).elf $(USER)@$(HOST):$(TARGET_DIR) scp $(OBJDIR)/$(TARGET).elf $(USER)@$(HOST):$(TARGET_DIR)
@@ -91,20 +91,20 @@ load upload program: $(OBJDIR)/$(TARGET).elf
%.elf: $(OBJ_C_OMAP) $(OBJ_CPP_OMAP) %.elf: $(OBJ_C_OMAP) $(OBJ_CPP_OMAP)
@echo LD $@ @echo LD $@
$(Q)if (expr "$($(TARGET).cpp_srcs)"); \ $(Q)if (expr "$($(TARGET).cpp_srcs)"); \
then $(CXX) $(CXXFLAGS) $(OBJ_CPP_OMAP) $(OBJ_C_OMAP) --output $@ $(LDFLAGS) $($(TARGET).LDFLAGS); \ then $(CXX) $(CXXFLAGS) $(OBJ_CPP_OMAP) $(OBJ_C_OMAP) --output $@ $(LDFLAGS) $($(TARGET).LDFLAGS); \
else $(CC) $(CFLAGS) $(OBJ_C_OMAP) --output $@ $(LDFLAGS) $($(TARGET).LDFLAGS); fi else $(CC) $(CFLAGS) $(OBJ_C_OMAP) --output $@ $(LDFLAGS) $($(TARGET).LDFLAGS); fi
# Compile: create object files from C source files # Compile: create object files from C source files
$(OBJDIR)/%.o : %.c $(OBJDIR)/../Makefile.ac $(OBJDIR)/%.o : %.c $(OBJDIR)/../Makefile.ac
@echo CC $@ @echo CC $@
$(Q)test -d $(dir $@) || mkdir -p $(dir $@) $(Q)test -d $(dir $@) || mkdir -p $(dir $@)
$(Q)$(CC) -c $(CFLAGS) $< -o $@ $(Q)$(CC) -c $(CFLAGS) $< -o $@
# Compile: create object files from C++ source files # Compile: create object files from C++ source files
$(OBJDIR)/%.o : %.cpp $(OBJDIR)/../Makefile.ac $(OBJDIR)/%.o : %.cpp $(OBJDIR)/../Makefile.ac
@echo CXX $@ @echo CXX $@
$(Q)test -d $(dir $@) || mkdir -p $(dir $@) $(Q)test -d $(dir $@) || mkdir -p $(dir $@)
$(Q)$(CXX) -c $(CXXFLAGS) $< -o $@ $(Q)$(CXX) -c $(CXXFLAGS) $< -o $@
# Listing of phony targets. # Listing of phony targets.
.PHONY : all build elf clean clean_list .PHONY : all build elf clean clean_list
@@ -118,8 +118,8 @@ $(OBJDIR)/.depend:
@test -d $(OBJDIR) || mkdir -p $(OBJDIR) @test -d $(OBJDIR) || mkdir -p $(OBJDIR)
$(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@ $(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@
ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),erase) ifneq ($(MAKECMDGOALS),erase)
-include $(OBJDIR)/.depend -include $(OBJDIR)/.depend
endif endif
endif endif
+8 -8
View File
@@ -18,8 +18,8 @@
# You should have received a copy of the GNU General Public License # 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, # the Free Software Foundation, 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA. # Boston, MA 02111-1307, USA.
# #
# Define programs and commands. # Define programs and commands.
CC = gcc CC = gcc
@@ -54,9 +54,9 @@ CFLAGS += -m32
# flags only for C # flags only for C
CFLAGS += -Wstrict-prototypes -Wmissing-declarations CFLAGS += -Wstrict-prototypes -Wmissing-declarations
CFLAGS += -Wmissing-prototypes -Wnested-externs CFLAGS += -Wmissing-prototypes -Wnested-externs
CFLAGS += $(CSTANDARD) CFLAGS += $(CSTANDARD)
CFLAGS += $($(TARGET).CFLAGS) $(LOCAL_CFLAGS) CFLAGS += $($(TARGET).CFLAGS) $(LOCAL_CFLAGS)
#Additional libraries. #Additional libraries.
MATH_LIB = -lm MATH_LIB = -lm
@@ -72,7 +72,7 @@ build: elf
elf: $(OBJDIR)/$(TARGET).elf elf: $(OBJDIR)/$(TARGET).elf
# Program the device. # Program the device.
load upload program: $(OBJDIR)/$(TARGET).elf load upload program: $(OBJDIR)/$(TARGET).elf
ifdef USER ifdef USER
ssh $(USER)@$(HOST) "sudo mount -o remount,rw /" ssh $(USER)@$(HOST) "sudo mount -o remount,rw /"
@@ -93,7 +93,7 @@ endif
$(OBJDIR)/%.o : %.c $(OBJDIR)/../Makefile.ac $(OBJDIR)/%.o : %.c $(OBJDIR)/../Makefile.ac
@echo CC $@ @echo CC $@
$(Q)test -d $(dir $@) || mkdir -p $(dir $@) $(Q)test -d $(dir $@) || mkdir -p $(dir $@)
$(Q)$(CC) -c $(CFLAGS) $< -o $@ $(Q)$(CC) -c $(CFLAGS) $< -o $@
# Listing of phony targets. # Listing of phony targets.
.PHONY : all build elf clean clean_list .PHONY : all build elf clean clean_list
@@ -107,8 +107,8 @@ $(OBJDIR)/.depend:
@test -d $(OBJDIR) || mkdir -p $(OBJDIR) @test -d $(OBJDIR) || mkdir -p $(OBJDIR)
$(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@ $(Q)$(CC) -MM -MG $(CFLAGS) $($(TARGET).CFLAGS) $($(TARGET).srcs) | sed 's|\([^\.]*\.o\)|$(OBJDIR)/\1|' > $@
ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),erase) ifneq ($(MAKECMDGOALS),erase)
-include $(OBJDIR)/.depend -include $(OBJDIR)/.depend
endif endif
endif endif
+6 -4
View File
@@ -38,7 +38,9 @@ OPT = s
#OPT = 0 #OPT = 0
# Programs location # Programs location
TOOLCHAIN_DIR=$(shell find -L ~/sat /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1 | xargs dirname ) TOOLCHAIN=$(shell find -L /opt/paparazzi/arm-multilib ~/sat /opt/paparazzi/stm32 -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1)
ifneq ($(TOOLCHAIN),)
TOOLCHAIN_DIR=$(shell dirname $(TOOLCHAIN))
GCC_BIN_DIR=$(TOOLCHAIN_DIR)/bin GCC_BIN_DIR=$(TOOLCHAIN_DIR)/bin
GCC_LIB_DIR=$(TOOLCHAIN_DIR)/arm-none-eabi/lib GCC_LIB_DIR=$(TOOLCHAIN_DIR)/arm-none-eabi/lib
@@ -54,7 +56,7 @@ RM = rm
OOCD = $(TOOLCHAIN_DIR)/bin/openocd OOCD = $(TOOLCHAIN_DIR)/bin/openocd
# If we can't find the toolchain then try picking up the compilers from the path # If we can't find the toolchain then try picking up the compilers from the path
ifeq ($(TOOLCHAIN_DIR),) else
CC = $(shell which arm-none-eabi-gcc) CC = $(shell which arm-none-eabi-gcc)
LD = $(shell which arm-none-eabi-gcc) LD = $(shell which arm-none-eabi-gcc)
CP = $(shell which arm-none-eabi-objcopy) CP = $(shell which arm-none-eabi-objcopy)
@@ -254,8 +256,8 @@ endif
start_gdb: start_gdb:
xterm -e "$(OOCD) -f interface/$(OOCD_INTERFACE).cfg -f target/$(OOCD_TARGET).cfg" & xterm -e "$(OOCD) -f interface/$(OOCD_INTERFACE).cfg -f target/$(OOCD_TARGET).cfg" &
xterm -e "/opt/paparazzi/stm32/bin/openocd -f interface/lisa-l.cfg -f board/lisa-l.cfg"& xterm -e "$(OOCD) -f interface/lisa-l.cfg -f board/lisa-l.cfg"&
xterm -e "/opt/paparazzi/stm32/bin/openocd -f interface/flossjtag.cfg -f board/lisa-l.cfg"& xterm -e "$(OOCD) -f interface/flossjtag.cfg -f board/lisa-l.cfg"&
start_telnet: start_telnet:
xterm -e "telnet localhost 4444" & xterm -e "telnet localhost 4444" &
+2 -1
View File
@@ -171,6 +171,7 @@
<define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/> <define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/>
<define name="NAV_LIGHT_MODE_DEFAULT" value="0"/> <define name="NAV_LIGHT_MODE_DEFAULT" value="0"/>
</load> </load>
<load name="infrared_adc.xml"/>
</modules> </modules>
<firmware name="fixedwing"> <firmware name="fixedwing">
@@ -193,7 +194,7 @@
<!-- Sensors --> <!-- Sensors -->
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<!--<subsystem name="attitude" type="infrared"> <!--<subsystem name="ahrs" type="infrared">
<configure name="ADC_IR1" value="ADC_1"/> <configure name="ADC_IR1" value="ADC_1"/>
<configure name="ADC_IR2" value="ADC_2"/> <configure name="ADC_IR2" value="ADC_2"/>
<configure name="ADC_IR_TOP" value="ADC_0"/> <configure name="ADC_IR_TOP" value="ADC_0"/>
+2 -1
View File
@@ -166,6 +166,7 @@
<define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/> <define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/>
<define name="NAV_LIGHT_MODE_DEFAULT" value="0"/> <define name="NAV_LIGHT_MODE_DEFAULT" value="0"/>
</load> </load>
<load name="infrared_adc.xml"/>
</modules> </modules>
<firmware name="fixedwing"> <firmware name="fixedwing">
@@ -186,7 +187,7 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="gyro" type="roll"/> <subsystem name="gyro" type="roll"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
+1 -1
View File
@@ -19,7 +19,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<!--subsystem name="attitude" type="infrared"/--> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
+1 -1
View File
@@ -22,7 +22,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="navigation" /> <subsystem name="navigation" />
<!-- <subsystem name="attitude" type="infrared"/>--> <!-- <subsystem name="ahrs" type="infrared"/>-->
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
</firmware> </firmware>
+2 -1
View File
@@ -20,6 +20,7 @@
</load> </load>
<!--load name="enose.xml"/--> <!--load name="enose.xml"/-->
<load name="light.xml"/> <load name="light.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<firmware name="fixedwing"> <firmware name="fixedwing">
@@ -33,7 +34,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control" type="new"/> <subsystem name="control" type="new"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
+6 -5
View File
@@ -23,11 +23,7 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"> <subsystem name="ahrs" type="infrared"/>
<configure name="ADC_IR1" value="ADC_1"/>
<configure name="ADC_IR2" value="ADC_0"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</subsystem>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -43,6 +39,11 @@
<!-- <load name="tcas.xml"/> --> <!-- <load name="tcas.xml"/> -->
<!--load name="potential.xml"/--> <!--load name="potential.xml"/-->
<load name="cartography.xml"/> <load name="cartography.xml"/>
<load name="infrared_adc.xml">
<configure name="ADC_IR1" value="ADC_1"/>
<configure name="ADC_IR2" value="ADC_0"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</load>
</modules> </modules>
+6 -5
View File
@@ -23,11 +23,7 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"> <subsystem name="ahrs" type="infrared"/>
<configure name="ADC_IR1" value="ADC_0"/>
<configure name="ADC_IR2" value="ADC_1"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</subsystem>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -42,6 +38,11 @@
<load name="formation_flight.xml"/> <load name="formation_flight.xml"/>
<load name="tcas.xml"/> <load name="tcas.xml"/>
<!--load name="potential.xml"/--> <!--load name="potential.xml"/-->
<load name="infrared_adc.xml">
<configure name="ADC_IR1" value="ADC_0"/>
<configure name="ADC_IR2" value="ADC_1"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</load>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+6 -5
View File
@@ -23,11 +23,7 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"> <subsystem name="ahrs" type="infrared"/>
<configure name="ADC_IR1" value="ADC_0"/>
<configure name="ADC_IR2" value="ADC_1"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</subsystem>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -42,6 +38,11 @@
<load name="formation_flight.xml"/> <load name="formation_flight.xml"/>
<load name="tcas.xml"/> <load name="tcas.xml"/>
<!--load name="potential.xml"/--> <!--load name="potential.xml"/-->
<load name="infrared_adc.xml">
<configure name="ADC_IR1" value="ADC_0"/>
<configure name="ADC_IR2" value="ADC_1"/>
<configure name="ADC_IR_TOP" value="ADC_2"/>
</load>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
-20
View File
@@ -1,20 +0,0 @@
<airframe name="FuckYou_1">
<makefile>
HOST=auto3
# test 1
test42.ARCHDIR = omap
test42.CFLAGS += -I$(ACINCLUDE) -I. -I$(PAPARAZZI_HOME)/var/include
test42.srcs = fms/libeknav/hello_world.c
# test1.srcs += fms/bla.c
</makefile>
</airframe>
+5 -1
View File
@@ -15,11 +15,15 @@
<subsystem name="radio_control" type="spektrum"/> <subsystem name="radio_control" type="spektrum"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="lisa_l_test_progs"> <firmware name="lisa_l_test_progs">
<target name="tunnel" board="lisa_l_1.0"/> <target name="tunnel" board="lisa_l_1.0"/>
<target name="test_led" board="lisa_l_1.0"/> <target name="test_led" board="lisa_l_1.0"/>
+6 -2
View File
@@ -15,11 +15,15 @@
<subsystem name="radio_control" type="spektrum"/> <subsystem name="radio_control" type="spektrum"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="lisa_l_test_progs"> <firmware name="lisa_l_test_progs">
<target name="test_led" board="lisa_m_1.0"/> <target name="test_led" board="lisa_m_1.0"/>
<target name="test_uart" board="lisa_m_1.0"/> <target name="test_uart" board="lisa_m_1.0"/>
@@ -195,4 +199,4 @@
</airframe> </airframe>
--> -->
+4 -1
View File
@@ -5,7 +5,7 @@ ARCH=lpc21
FLASH_MODE = IAP FLASH_MODE = IAP
MB=motor_bench MB=firmwares/motor_bench
main.ARCHDIR = $(ARCH) main.ARCHDIR = $(ARCH)
@@ -13,6 +13,8 @@ main.CFLAGS += -DBOARD_CONFIG=\"boards/olimex_lpc_h2148.h\" -I$(MB)
main.CFLAGS += -DPERIPHERALS_AUTO_INIT main.CFLAGS += -DPERIPHERALS_AUTO_INIT
main.srcs = $(MB)/main_turntable.c main.srcs = $(MB)/main_turntable.c
main.srcs += $(SRC_ARCH)/armVIC.c main.srcs += $(SRC_ARCH)/armVIC.c
main.srcs += mcu.c
main.srcs += $(SRC_ARCH)/mcu_arch.c
main.CFLAGS += -DUSE_LED main.CFLAGS += -DUSE_LED
main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1 main.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC((1./512.))' -DTIME_LED=1
@@ -25,6 +27,7 @@ main.srcs += sys_time.c $(MB)/turntable_systime.c
#main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=UsbS #main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=UsbS
main.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B115200 main.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B115200
main.srcs += mcu_periph/uart.c
main.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c main.srcs += $(SRC_ARCH)/mcu_periph/uart_arch.c
main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart0 main.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_DEVICE=Uart0
+2 -1
View File
@@ -232,6 +232,7 @@
<define name="LIGHT_LED_STROBE" value="3"/> <define name="LIGHT_LED_STROBE" value="3"/>
<define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/> <define name="STROBE_LIGHT_MODE_DEFAULT" value="6"/>
</load> </load>
<load name="infrared_adc.xml"/>
</modules> </modules>
<firmware name="fixedwing"> <firmware name="fixedwing">
@@ -260,7 +261,7 @@
<!-- <subsystem name="gyro" type="roll"> <!-- <subsystem name="gyro" type="roll">
<configure name="ADC_GYRO_ROLL" value="ADC_3" /> <configure name="ADC_GYRO_ROLL" value="ADC_3" />
</subsystem> </subsystem>
--> <subsystem name="attitude" type="infrared"/> --> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="control" /> <subsystem name="control" />
<subsystem name="navigation" type="extra"/> <subsystem name="navigation" type="extra"/>
@@ -17,11 +17,15 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="setup"> <firmware name="setup">
<target name="tunnel" board="tiny_2.11"/> <target name="tunnel" board="tiny_2.11"/>
<target name="setup_actuators" board="tiny_2.11"/> <target name="setup_actuators" board="tiny_2.11"/>
+2 -1
View File
@@ -168,7 +168,7 @@
<!-- Actuators are automatically chosen according to board --> <!-- Actuators are automatically chosen according to board -->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
@@ -182,6 +182,7 @@
<load name="adc_generic.xml"> <load name="adc_generic.xml">
<configure name="ADC_CHANNEL_GENERIC1" value="ADC_7"/> <!-- current sensor --> <configure name="ADC_CHANNEL_GENERIC1" value="ADC_7"/> <!-- current sensor -->
</load> </load>
<load name="infrared_adc.xml"/>
</modules> </modules>
</airframe> </airframe>
+2 -1
View File
@@ -24,7 +24,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation" type="extra"/> <subsystem name="navigation" type="extra"/>
</firmware> </firmware>
@@ -37,6 +37,7 @@
<modules> <modules>
<load name="airspeed_ets.xml"/> <load name="airspeed_ets.xml"/>
<load name="baro_ets.xml"/> <load name="baro_ets.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+1 -1
View File
@@ -23,7 +23,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
+5 -4
View File
@@ -32,6 +32,7 @@ http://paparazzi.enac.fr/w/index.php?title=Theory_of_Operation
<!-- Communication --> <!-- Communication -->
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<!--subsystem name="settings" type="rc"/-->
<!-- Control --> <!-- Control -->
<subsystem name="control" type="new"/> <subsystem name="control" type="new"/>
@@ -287,10 +288,10 @@ http://paparazzi.enac.fr/w/index.php?title=Theory_of_Operation
<define name="AUTO_GROUNDSPEED_IGAIN" value="0."/--> <define name="AUTO_GROUNDSPEED_IGAIN" value="0."/-->
<!-- Loiter and Dash trimming --> <!-- Loiter and Dash trimming -->
<define name="AUTO_THROTTLE_LOITER_TRIM" value="1000" unit="pprz_t"/> <define name="AUTO_THROTTLE_LOITER_TRIM" value="0" unit="pprz_t"/>
<define name="AUTO_THROTTLE_DASH_TRIM" value="-2000" unit="pprz_t"/> <define name="AUTO_THROTTLE_DASH_TRIM" value="0" unit="pprz_t"/>
<define name="PITCH_LOITER_TRIM" value="1000" unit="pprz_t"/> <define name="PITCH_LOITER_TRIM" value="0" unit="pprz_t"/>
<define name="PITCH_DASH_TRIM" value="-2000" unit="pprz_t"/> <define name="PITCH_DASH_TRIM" value="0" unit="pprz_t"/>
</section> </section>
+2 -1
View File
@@ -27,7 +27,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation" type="extra"/> <subsystem name="navigation" type="extra"/>
@@ -48,6 +48,7 @@
<define name="DC_SHUTTER_LED" value="3"/> <define name="DC_SHUTTER_LED" value="3"/>
</load> </load>
<load name="sys_mon.xml"/> <load name="sys_mon.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+4 -1
View File
@@ -27,12 +27,15 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="setup"> <firmware name="setup">
<target name="tunnel" board="tiny_2.11"/> <target name="tunnel" board="tiny_2.11"/>
+4 -1
View File
@@ -216,12 +216,15 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="gyro" type="roll"/> <subsystem name="gyro" type="roll"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="setup"> <firmware name="setup">
<target name="tunnel" board="tiny_2.1" /> <target name="tunnel" board="tiny_2.1" />
+2 -1
View File
@@ -23,7 +23,7 @@
<!--<define name="TELEMETRY_MODE_FBW" value="1"/>--> <!--<define name="TELEMETRY_MODE_FBW" value="1"/>-->
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation" type="extra"/> <subsystem name="navigation" type="extra"/>
</firmware> </firmware>
@@ -41,6 +41,7 @@
<define name="SERVO_SWITCH_SERVO" value="SERVO_SWITCH"/> <define name="SERVO_SWITCH_SERVO" value="SERVO_SWITCH"/>
</load> </load>
<load name="sys_mon.xml"/> <load name="sys_mon.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+5 -1
View File
@@ -187,12 +187,16 @@
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="gyro" type="roll"/> <subsystem name="gyro" type="roll"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<firmware name="setup"> <firmware name="setup">
<target name="tunnel" board="tiny_1.1" /> <target name="tunnel" board="tiny_1.1" />
+2 -1
View File
@@ -16,7 +16,7 @@
</target> </target>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
@@ -30,6 +30,7 @@
<!-- modules --> <!-- modules -->
<modules> <modules>
<load name="max11040.xml"/> <load name="max11040.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+2 -1
View File
@@ -9,7 +9,7 @@
</target> </target>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
</firmware> </firmware>
@@ -23,6 +23,7 @@
<!-- modules --> <!-- modules -->
<modules> <modules>
<load name="trigger_ext.xml"/> <load name="trigger_ext.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<servos> <servos>
+5 -1
View File
@@ -22,7 +22,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control_adaptive"/> <subsystem name="control_adaptive"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
<subsystem name="navigation_bomb"/> <subsystem name="navigation_bomb"/>
@@ -32,6 +32,10 @@
</subsystem> </subsystem>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<!-- commands section --> <!-- commands section -->
<servos> <servos>
<servo name="MOTOR_LEFT" no="0" min="1000" neutral="1000" max="2000"/> <servo name="MOTOR_LEFT" no="0" min="1000" neutral="1000" max="2000"/>
+2 -1
View File
@@ -20,7 +20,7 @@
<subsystem name="radio_control" type="spektrum"/> <subsystem name="radio_control" type="spektrum"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<!--subsystem name="attitude" type="infrared"/--> <!--subsystem name="ahrs" type="infrared"/-->
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
<!-- Interfaces --> <!-- Interfaces -->
@@ -30,6 +30,7 @@
<modules> <modules>
<load name="ins_arduimu.xml"> <load name="ins_arduimu.xml">
</load> </load>
<!--load name="infrared_adc.xml"/-->
</modules> </modules>
<firmware name="lisa_l_test_progs"> <firmware name="lisa_l_test_progs">
+2 -1
View File
@@ -33,7 +33,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -51,6 +51,7 @@
<modules> <modules>
<!--load name="formation_flight.xml"/--> <!--load name="formation_flight.xml"/-->
<load name="tcas.xml"/> <load name="tcas.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+2 -1
View File
@@ -33,7 +33,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -51,6 +51,7 @@
<modules> <modules>
<!--load name="formation_flight.xml"/--> <!--load name="formation_flight.xml"/-->
<load name="tcas.xml"/> <load name="tcas.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+2 -1
View File
@@ -33,7 +33,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -51,6 +51,7 @@
<modules> <modules>
<!--load name="formation_flight.xml"/--> <!--load name="formation_flight.xml"/-->
<load name="tcas.xml"/> <load name="tcas.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
+2 -1
View File
@@ -28,7 +28,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -40,6 +40,7 @@
<modules> <modules>
<load name="baro_scp.xml"/> <load name="baro_scp.xml"/>
<load name="humid_sht.xml"/> <load name="humid_sht.xml"/>
<load name="infrared_adc.xml"/>
</modules> </modules>
<firmware name="setup"> <firmware name="setup">
+4 -2
View File
@@ -16,7 +16,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"> <subsystem name="gps" type="ublox">
<configure name="GPS_PORT" value="UART3"/> <configure name="GPS_PORT" value="UART3"/>
</subsystem> </subsystem>
@@ -45,7 +45,9 @@
<target name="test_actuators_asctecv1" board="lisa_l_1.0"/> <target name="test_actuators_asctecv1" board="lisa_l_1.0"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<servos> <servos>
<servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/> <servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/>
+4 -2
View File
@@ -16,7 +16,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="transparent"/> <subsystem name="telemetry" type="transparent"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"> <subsystem name="gps" type="ublox">
<configure name="GPS_PORT" value="UART3"/> <configure name="GPS_PORT" value="UART3"/>
</subsystem> </subsystem>
@@ -45,7 +45,9 @@
<target name="test_actuators_asctecv1" board="lisa_l_1.0"/> <target name="test_actuators_asctecv1" board="lisa_l_1.0"/>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<servos> <servos>
<servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/> <servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/>
+2 -1
View File
@@ -36,7 +36,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="mediatek_diy"/> <subsystem name="gps" type="mediatek_diy"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -73,6 +73,7 @@
<load name="humid_sht_i2c.xml"/> <load name="humid_sht_i2c.xml"/>
<load name="mag_micromag_fw.xml"/> <load name="mag_micromag_fw.xml"/>
<load name="baro_scp_i2c.xml"/--> <load name="baro_scp_i2c.xml"/-->
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->
@@ -34,7 +34,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<!--subsystem name="attitude" type="infrared"/--> <!--subsystem name="ahrs" type="infrared"/-->
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
+1 -1
View File
@@ -181,7 +181,7 @@
<!-- Actuators are automatically chosen according to board--> <!-- Actuators are automatically chosen according to board-->
<subsystem name="control"/> <subsystem name="control"/>
<!-- Sensors --> <!-- Sensors -->
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox_utm"/> <subsystem name="gps" type="ublox_utm"/>
<!-- Nav --> <!-- Nav -->
<subsystem name="navigation"/> <subsystem name="navigation"/>
+5 -1
View File
@@ -22,7 +22,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -31,6 +31,10 @@
</subsystem> </subsystem>
</firmware> </firmware>
<modules>
<load name="infrared_adc.xml"/>
</modules>
<!-- commands section --> <!-- commands section -->
<servos> <servos>
<servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/> <servo name="MOTOR" no="0" min="1000" neutral="1000" max="2000"/>
+2 -1
View File
@@ -23,7 +23,7 @@
<subsystem name="radio_control" type="ppm"/> <subsystem name="radio_control" type="ppm"/>
<subsystem name="telemetry" type="xbee_api"/> <subsystem name="telemetry" type="xbee_api"/>
<subsystem name="control"/> <subsystem name="control"/>
<subsystem name="attitude" type="infrared"/> <subsystem name="ahrs" type="infrared"/>
<subsystem name="gps" type="ublox"/> <subsystem name="gps" type="ublox"/>
<subsystem name="navigation"/> <subsystem name="navigation"/>
@@ -38,6 +38,7 @@
<!--param name="USE_AIRSPEED" value="1"/--> <!--param name="USE_AIRSPEED" value="1"/-->
<param name="SENSOR_SYNC_SEND" value="1"/> <param name="SENSOR_SYNC_SEND" value="1"/>
</load> </load>
<load name="infrared_adc.xml"/>
</modules> </modules>
<!-- commands section --> <!-- commands section -->

Some files were not shown because too many files have changed in this diff Show More