Commit Graph

1749 Commits

Author SHA1 Message Date
Michael Oborne 14dbc9523c Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-11 08:05:14 +08:00
Michael Oborne 3bc793bb9b Merge branch 'desktop-wip' of https://code.google.com/r/tridge60-apm-wip 2011-10-10 07:22:57 +08:00
Andrew Tridgell 0939b51a4c added build makefiles 2011-10-10 07:18:38 +11:00
James Goppert 3e1ae9b215 APO GPS bug fix. 2011-10-09 15:57:29 -04:00
James Goppert a747a88762 Fixed APO bug. 2011-10-09 11:46:56 -04:00
Michael Oborne 3bd25f080f Merge branch 'desktop-wip' of https://code.google.com/r/tridge60-apm-wip 2011-10-09 21:53:58 +08:00
Amilcar Lucas 6484b83291 More optimizations
I forgot these ones.
2011-10-09 15:34:47 +02:00
Michael Oborne c1854eeb32 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-09 21:30:56 +08:00
Michael Oborne 6797510236 planner quick hil fix
gains 4500 4500 4500 500 and reverse rudder
2011-10-09 21:30:28 +08:00
Amilcar Lucas 865bb34657 Optimize the code a bit more, only perform calculations if they are necessary 2011-10-09 15:27:17 +02:00
Amilcar Lucas c624582c91 Use a single if instead of four 2011-10-09 15:27:17 +02:00
Amilcar Lucas e232a0936f Use the shorter macro call instead 2011-10-09 13:57:35 +02:00
Andrew Tridgell 632e0312de opticalflow: use the right path for SPI.h 2011-10-09 22:40:00 +11:00
Andrew Tridgell 5a71030d76 don't check the slider switch if CLI is disabled
this prevents a build error in desktop mode
2011-10-09 22:39:23 +11:00
Andrew Tridgell c61fe55d76 don't initialise DataFlash if logging is disabled 2011-10-09 22:38:49 +11:00
Andrew Tridgell 01e5ae2ab9 use memcheck_available_memory() instead of freeRAM()
this provides a more accurate view of memory
2011-10-09 22:38:14 +11:00
Andrew Tridgell 17aec03a2f added a README 2011-10-09 22:16:14 +11:00
Andrew Tridgell 41dd8d60ba use ifdef for DESKTOP_BUILD 2011-10-09 22:16:14 +11:00
Andrew Tridgell 034755e432 use nanosleep() instead of usleep() 2011-10-09 22:16:14 +11:00
Andrew Tridgell eebd632967 fixed millis() and micros() 2011-10-09 22:16:14 +11:00
Andrew Tridgell 8c8ad0cd55 desktop: use a bit less CPU 2011-10-09 22:16:13 +11:00
Andrew Tridgell 5cf3e92a22 desktop: use non-blocking IO 2011-10-09 22:16:13 +11:00
Andrew Tridgell 65900dd1e0 desktop: expand eeprom to 4k initial size 2011-10-09 22:16:13 +11:00
Andrew Tridgell b8dfdc293b desktop: flush all serial writes 2011-10-09 22:16:13 +11:00
Andrew Tridgell 7098e8cfa1 first rough build for desktop CPUs
this allows ArduPlane to build and startup on 'desktop' systems (eg. a
Linux box). Very rough for now, and only for HIL so far
2011-10-09 22:16:13 +11:00
Andrew Tridgell 28ebca1bf6 fixed PROGMEM declaration for desktop build 2011-10-09 22:16:13 +11:00
Andrew Tridgell 38c033e8dd memcheck: allow memcheck to build on desktop systems 2011-10-09 22:16:12 +11:00
Andrew Tridgell 5d0d1b6a6d fixed a crash in HIL
The g_rc_function[RC_Channel_aux::k_flap_auto] ptr came out as NULL
during one HIL run on a desktop CPU, which led to ArduPlane
crashing. I am not yet sure if this can happen in real flight, but I
think the NULL check is worthwhile to be sure.
2011-10-09 22:09:00 +11:00
Andrew Tridgell 6656847faa fixed some ambiguous if/else combinations
gcc was complaining about the logic
2011-10-09 22:09:00 +11:00
Andrew Tridgell bcc2aed8fb initialise spare bits in AP_Var headers
if we ever need these bits, it would be nice to know that they are
zero in existing eeproms
2011-10-09 22:09:00 +11:00
Andrew Tridgell 288aba074f fastserial: allow vprintf() to build without assembler 2011-10-09 22:08:59 +11:00
Andrew Tridgell 00d52a8bd7 ap_common: use intptr_t for pointer casts
this allows building on systems with pointers that aren't 16 bits long
2011-10-09 22:08:59 +11:00
Andrew Tridgell fc53d5c477 modefilter: fixed type to be consistent with declaration 2011-10-09 22:08:59 +11:00
Andrew Tridgell 6048f3870f GPS: fixed type to be consistent with declaration 2011-10-09 22:08:59 +11:00
Andrew Tridgell 7a5fa24ba5 eeprom: fixed types to be consistent with declarations 2011-10-09 22:08:59 +11:00
Andrew Tridgell e7e8165bc7 don't initialise DataFlash if logging is disabled
this fixes HIL without an IMU
2011-10-09 22:08:59 +11:00
Andrew Tridgell 63ac6bcd94 use memcheck_available_memory() instead of freeRAM()
this gives a more accurate view of free memory
2011-10-09 22:08:59 +11:00
Andrew Tridgell 546b4df76d avoid the need for compiler optimisation for HIL build
read_airspeed() is only available when in a non-HIL build. The
optimiser normally removes this call, but when debugging in a desktop
build, it is nice to avoid using the optimiser
2011-10-09 22:08:58 +11:00
Michael Oborne 26c8f734bf APM Planner 1.0.80
add AeroSimRC for HIL - plane/heli/quad
2011-10-09 15:00:12 +08:00
Michael Oborne f2fa24375e usbtiny dfu programing on windows 2011-10-09 13:51:06 +08:00
Amilcar Lucas e19dd2753d Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-09 01:35:06 +02:00
Amilcar Lucas f1d47982e2 Only use radio_in values if the channel is not used as flight_mode_channel 2011-10-08 22:15:54 +02:00
Michael Oborne d42f2e230e undo config change 2011-10-08 21:13:53 +08:00
Michael Oborne a052c25899 Merge commit 'e7f5e4a623b79872a015dff5ca959e60f6f7fd64' 2011-10-08 20:43:13 +08:00
Michael Oborne 44ed0a585a firmware build 2011-10-08 02:08:20 +08:00
Jason Short c25478448b Quick RTL Fix, logic was backward 2011-10-07 11:06:31 -07:00
Janne Mantyharju 05ee33d9ad Mission planner: Added feature to select video capture resolution (Allows to
capture PAL-format video)
2011-10-07 12:07:25 +03:00
Michael Oborne 9e5f175e95 firmware build 2011-10-07 11:58:29 +08:00
Jason Short 167df79b49 Better Loiter PIDs
Fixed RTL overshoot bug
2011-10-06 17:42:09 -07:00
James Goppert f6fe6fde33 Updated APO, HIL working well, live mode ready to test 2011-10-06 19:17:49 -04:00