1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

132 Commits

Author SHA1 Message Date
sambas
3656caccbb Checksum check for nmea sentences
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@399 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 13:13:39 +00:00
vassilis
a64cdc64ea Updates on UAVObjects required by the object generator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@396 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 03:19:56 +00:00
sambas
9490bcdb93 OP-25: GPS tested and working, using TrimbleGPS 5Hz, 5 lat/lon desimals
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-25 19:36:52 +00:00
gussy
41fd921b14 Updated BMP085 test code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@375 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-23 04:01:11 +00:00
vassilis
20f29b40e4 Replace malloc with FreeRTOS built-in functions
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@358 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 14:19:38 +00:00
sambas
dad62c3316 Reworked the nmea sentence parser, most values still in string form
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@356 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 11:32:53 +00:00
gussy
a03952fb5d Small updates and clean up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@355 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 00:49:48 +00:00
sambas
22698313fc OP-25: preliminary GPS module, needs some cleaning. I'll start testing when I get HW ready.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@351 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-20 15:45:15 +00:00
pete
a3486477eb Added PPM defines and created pios_ppm.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@325 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-17 04:00:13 +00:00
fredericg
2dbbe2ffc5 Added line to compile BMP085 testcode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@321 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 12:04:41 +00:00
fredericg
ccc071a3c7 Extracted BMP085 tets-code from openpilot.c. Untested
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@320 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 12:04:03 +00:00
vassilis
34811cc16d Minor updates in object manager and UAVTalk
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@318 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 01:54:25 +00:00
gussy
057def91e2 Small updates, removed some unused code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@314 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 12:02:36 +00:00
gussy
f75fa5e567 Updated ADC to use the 3 auxillary inputs on the OpenPilot board.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@312 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 12:00:43 +00:00
FredericG
a30f682a1e Define DEBUG in debug-builds
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@306 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 10:14:45 +00:00
FredericG
c932e131f0 OP-11 Moved PIOS_BMP085_Init() since the OS must be running before the first I2C transfer can be issued
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@305 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 09:42:38 +00:00
julien
a2ea8b0e53 Some update for multi-platform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@304 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 08:37:19 +00:00
gussy
7b5d85cb3e PIOS_LED: Initialise all LED's as off.
PIOS_SYS: Added system reset function.
OpenPilot Makefile: Default USE_BOOTLOADER should be NO.
OpenPilot Bootloader: Removed LED initialisation.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@303 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-14 06:47:57 +00:00
gussy
8ba2d76cd6 OP-21: Cleaning up a few things.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@302 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 20:46:46 +00:00
gussy
a0a92d5a59 OP-21: Made changes to OpenPilot makefile too allow building for bootloader and non-bootloader targets. Use "USE_BOOTLOADER = YES" to build for the OpenPilot Bootloader.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@300 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 20:01:31 +00:00
FredericG
50215e75c6 OP-28 Some changes in the I2C API
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@296 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 12:23:55 +00:00
gussy
978e07419d Small FreeRTOS fixes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@294 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-13 06:44:15 +00:00
gussy
6764a34285 Updated some FreeRTOS specific issues and fixed a few typos.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@292 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-12 16:22:56 +00:00
FredericG
223186f986 Show when Idle task runs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@286 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-12 07:36:27 +00:00
fredericg
47038af0c0 PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@283 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-11 12:38:51 +00:00
vassilis
18515b1897 UAVTalk bug fixes and API updates on object manager
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@282 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-11 02:31:32 +00:00
FredericG
964c1e5983 First version of I2C test
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@278 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-10 21:05:19 +00:00
dankers
e66c491942 Update to headers in the flight portion of the code. Just formatting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-10 09:12:31 +00:00
gussy
6fd5da7489 Type fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@270 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 10:10:26 +00:00
gussy
4f5d7ae83a PIOS_PWM now reading 8 channels properly!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-08 10:09:30 +00:00
vassilis
db01fe9e6b Pack metadata structure
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 21:46:18 +00:00
gussy
1ed841946c Added "supervisor" and comments to PIOS_PWM.
Added timer usage diagram to pios_board.h
Removed bloat for extra optimisation in PIOS_DELAY.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 14:19:43 +00:00
gussy
075dcf5aee PIOS_PWM example code measures servo signal pulse width in microseconds (uS).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-07 12:25:11 +00:00
gussy
c409a62978 PIOS_BMP085 module finished.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 16:04:31 +00:00
gussy
cafed0a148 BMP085 Sensor now working completely.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 14:20:42 +00:00
gussy
fd889b918b Updates to BMP085 readings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@260 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 10:28:08 +00:00
gussy
7cd8f93d5c OP-4: Small naming fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@259 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:24:39 +00:00
gussy
55d1cb8dac OP-4: Added receiving functionality to the telemetry module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@258 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:18:04 +00:00
gussy
0e8b618953 Updated files inside OpenPilot to use the single openpilot.h header file rather than multiple headers inside each file. This resolves a few build warnings/errors and makes the code cleaner.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 06:17:17 +00:00
gussy
53a64f8dba Improvement OP-3; Buffer based PIOS_COM tested and working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@255 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 03:49:41 +00:00
gussy
d406232eb1 Improvement OP-3; Implemented buffer based receiving functions, untested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@254 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-06 03:13:14 +00:00
gussy
6d67d2dab2 PIOS_ADC now non-application specific.
Removed "application hooks" system from PIOS_ADC.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@245 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 09:25:09 +00:00
gussy
f683a5de3d Added in transmitting routine for telemetry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@244 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 07:08:05 +00:00
gussy
09645920ee PIOS_COM and PIOS_USART now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@243 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 07:07:27 +00:00
gussy
6c5cfc2523 Makefile updates for moved directories.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@241 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:17:13 +00:00
gussy
c094c4dddd Moved UAVObjects specific header file.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@239 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:03:38 +00:00
gussy
e02d572fb9 Updated Makefile for moved Modules directory.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@237 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 06:00:28 +00:00
gussy
ac1a73800b Moving Modules into OpenPilot directory.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@236 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 05:58:03 +00:00
gussy
798ad15bba More refactoring.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@235 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 05:51:11 +00:00
vassilis
94d3c1a3f1 Added support for event callbacks (as an alternative to task event queues)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@234 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-04 03:04:39 +00:00
fredericg
0310339cb6 Introduced ENABLE_DEBUG_PINS option in makefile that will enable the debug-pins and disable the servo outputs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@233 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 16:16:43 +00:00
gussy
a5d56cd537 Small re-factorings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@230 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 10:55:49 +00:00
gussy
47c5211cd4 Small changes to random files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@227 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-03 07:53:15 +00:00
FredericG
7af7c4738d Introduction of PIOS_DEBUG
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@223 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-02 11:23:22 +00:00
fredericg
1d7f1c5cd0 fixed warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@219 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-01 10:17:16 +00:00
dankers
6612dd6523 Fix "make program"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@216 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 22:32:24 +00:00
gussy
7895f46409 Moved OpenPilot Makefile.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@213 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 12:16:44 +00:00
gussy
9953188fe2 PIOS_SYS now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@208 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:44:01 +00:00
gussy
792cfef50b PIOS_SPI now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@207 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:34:44 +00:00
gussy
fcf47bf1f6 PIOS_USART now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@206 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 08:29:14 +00:00
gussy
95d068884a PIOS_BMP085 now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@205 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 07:01:18 +00:00
gussy
22f02cb460 PIOS_I2C now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@204 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:57:59 +00:00
gussy
700116abd9 PIOS_LED now non-application specific.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@203 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:54:43 +00:00
gussy
adcd47a31b Added ability to enable and disable PiOS modules.
Added PIOS_USB_COM.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@202 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:47:49 +00:00
gussy
7f31e3a9ff Start of making PiOS application independent.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@201 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-28 06:30:45 +00:00
vassilis
93901e8754 Refactored UAVObjects and UAVTalk for reduced memory footprint, added support for multiple instances within objects (useful for array objects, e.g. waypoints). Still not fully tested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@199 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-27 19:57:45 +00:00
vassilis
b1b8fe4b37 Creation of UAVObject ,UAVTalk and Telemetry modules (compiles but untested!)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@196 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-22 02:18:23 +00:00
vassilis
7c591fa2d7 Delete moved files (moved to OpenPilot/System)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@192 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-02-13 20:36:14 +00:00
vassilis
9899ac29e7 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@191 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-02-13 20:33:58 +00:00
gussy
3b32b89839 Updated copyright headers.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@146 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-31 17:56:54 +00:00
gussy
26410ad8de Back to where we were with r133, but now with proper SD Card code.
Additions to note; PIOS_SPI, DosFS and PIOS_SDCARD.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@136 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-01-23 17:31:14 +00:00
dankers
a0ec06fc10 Add op_config.h, just like PiOS this includes compile Macros that provide defaults for when we load the settings in to OpenPilot.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@87 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-21 04:15:34 +00:00
dankers
b4c9f6dc3f Add note for .klm logging to SDCard as possible task
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@71 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 16:53:24 +00:00
dankers
909402ae23 Added a note about temp sensor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@69 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-16 13:10:33 +00:00
dankers
3117c9ac45 Removed GPIO function from piso_sys, each module does their own GPIO setup.
pios_config.h to inc directory. 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@66 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-15 12:17:11 +00:00
gussy
f52a719c1d Updated all PIOS function names to new standard.
New standard to be used is PIOS_Module_Function().
Likewise with OpenPilot, OP_Module_Function() is to be used.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@59 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-08 02:13:21 +00:00
gussy
21d62c0c36 Fixed logging queue.
Added to comments in openpilot.c

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@58 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-05 23:53:41 +00:00
gussy
b388d75409 Added some thoughts to system task setup in openpilot.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@56 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-04 20:47:16 +00:00
gussy
4e4b50e187 Added OpenPilot Logging functions, tasks.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@55 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-04 20:33:18 +00:00
gussy
7a39f5f55c Added in ADC hooks to OpenPilot.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@52 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 21:49:31 +00:00
gussy
db322beabb Updated Idle comments.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@50 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 11:15:54 +00:00
gussy
28e9081872 More FreeRTOS Stuff.
Added in the initial OpenPilot files.
Added HooksTask.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@49 ebee16cc-31ac-478f-84a7-5cbb03baadba
2009-12-02 11:07:56 +00:00