From 112cd4a95b0b0c5920b68e8c8db1e83b72e14fa8 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 23 Aug 2012 16:57:42 +0200 Subject: Updated to MAVLink v1.0.9, deleted v0.9 messages (anyway unsupported) --- .../share/pyshared/pymavlink/APM_Mavtest/Makefile | 10 --- .../pymavlink/generator/C/test/posix/Makefile | 31 ------- .../pymavlink/generator/C/test/windows/testmav.sln | 20 ----- .../pymavlink/generator/C/test/windows/testmav.suo | Bin 15872 -> 0 bytes .../generator/C/test/windows/testmav.vcxproj | 91 --------------------- .../share/pyshared/pymavlink/tools/mavplayback.py | 2 +- 6 files changed, 1 insertion(+), 153 deletions(-) delete mode 100644 mavlink/share/pyshared/pymavlink/APM_Mavtest/Makefile delete mode 100644 mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile delete mode 100644 mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.sln delete mode 100644 mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.suo delete mode 100644 mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.vcxproj (limited to 'mavlink/share/pyshared/pymavlink') diff --git a/mavlink/share/pyshared/pymavlink/APM_Mavtest/Makefile b/mavlink/share/pyshared/pymavlink/APM_Mavtest/Makefile deleted file mode 100644 index 7ca38b1a2..000000000 --- a/mavlink/share/pyshared/pymavlink/APM_Mavtest/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -# -# Trivial makefile for building APM -# - -# -# Select 'mega' for the original APM, or 'mega2560' for the V2 APM. -# -BOARD = mega2560 - -include ../libraries/AP_Common/Arduino.mk diff --git a/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile b/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile deleted file mode 100644 index 693150fb7..000000000 --- a/mavlink/share/pyshared/pymavlink/generator/C/test/posix/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -CFLAGS = -g -Wall -Werror -Os -TESTPROTOCOL = common -ALLPROTOCOLS = minimal test common pixhawk ardupilotmega slugs ualberta - -all: - for p in ${ALLPROTOCOLS}; do make -f Makefile build TESTPROTOCOL=$$p; done - -test: - for p in ${ALLPROTOCOLS}; do make -f Makefile testprogs TESTPROTOCOL=$$p || exit 1; done - -valgrindtest: - for p in ${ALLPROTOCOLS}; do make -f Makefile valgrindprogs TESTPROTOCOL=$$p || exit 1; done - -build: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - -testprogs: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - ./testmav0.9_${TESTPROTOCOL} - ./testmav1.0_${TESTPROTOCOL} - -valgrindprogs: testmav0.9_${TESTPROTOCOL} testmav1.0_${TESTPROTOCOL} - valgrind -q ./testmav0.9_${TESTPROTOCOL} - valgrind -q ./testmav1.0_${TESTPROTOCOL} - -clean: - rm -rf *.o *~ testmav1.0* testmav0.9* - -testmav1.0_${TESTPROTOCOL}: testmav.c - $(CC) $(CFLAGS) -I../../include_v1.0 -I../../include_v1.0/${TESTPROTOCOL} -o $@ testmav.c - -testmav0.9_${TESTPROTOCOL}: testmav.c - $(CC) $(CFLAGS) -I../../include_v0.9 -I../../include_v0.9/${TESTPROTOCOL} -o $@ testmav.c diff --git a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.sln b/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.sln deleted file mode 100644 index 37a305697..000000000 --- a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual C++ Express 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testmav", "testmav\testmav.vcxproj", "{02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F}.Debug|Win32.ActiveCfg = Debug|Win32 - {02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F}.Debug|Win32.Build.0 = Debug|Win32 - {02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F}.Release|Win32.ActiveCfg = Release|Win32 - {02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.suo b/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.suo deleted file mode 100644 index 9b2e18cff..000000000 Binary files a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.suo and /dev/null differ diff --git a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.vcxproj b/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.vcxproj deleted file mode 100644 index 7181b3a41..000000000 --- a/mavlink/share/pyshared/pymavlink/generator/C/test/windows/testmav.vcxproj +++ /dev/null @@ -1,91 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {02C30EBC-DF41-4C36-B2F3-79BED7E6EF9F} - Win32Proj - testmav - - - - Application - true - Unicode - - - Application - false - true - Unicode - - - - - - - - - - - - - true - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - E:\pymavlink\generator\C\include_v1.0 - - - Console - true - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - true - true - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/mavlink/share/pyshared/pymavlink/tools/mavplayback.py b/mavlink/share/pyshared/pymavlink/tools/mavplayback.py index 50a6fd45d..033746697 100644 --- a/mavlink/share/pyshared/pymavlink/tools/mavplayback.py +++ b/mavlink/share/pyshared/pymavlink/tools/mavplayback.py @@ -43,7 +43,7 @@ filename = args[0] def LoadImage(filename): '''return an image from the images/ directory''' app_dir = os.path.dirname(os.path.realpath(__file__)) - path = os.path.join(app_dir, 'images', filename) + path = os.path.join(app_dir, 'files/images', filename) return Tkinter.PhotoImage(file=path) -- cgit v1.2.3