Commit Graph

1882 Commits

Author SHA1 Message Date
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
Michael Oborne f77345de8f add missing file 2011-10-07 06:45:54 +08:00
Michael Oborne 5ac433932c APM Planner 1.0.79 - add Russian (thanks YureZzZ)
cleanup
add new ac2 pids
2011-10-07 06:41:17 +08:00
James Goppert 3e988cc5e1 Reducing copy ctor calls in apo. 2011-10-06 12:00:45 -04:00
Michael Oborne caa261db14 APM Planner
fix resedit for other languages
2011-10-06 07:43:16 +08:00
Michael Oborne 445bd17d8a APM Planner 1.0.77
misc fix's
2011-10-04 19:19:25 +08:00
Michael Oborne 2b1fdb0074 firmware build 2011-10-04 18:57:12 +08:00
Michael Oborne fab2121c6d fix ac2 hil build 2011-10-04 18:55:10 +08:00
Michael Oborne 15d0a4af2f firmware build 2011-10-04 09:37:05 +08:00
Michael Oborne f9883bf382 fix make issue 2011-10-04 09:34:47 +08:00
Michael Oborne d809034a8e firmware build 2011-10-04 07:10:36 +08:00
Jason Short 1ff372a41d Implementing a limiter for the ramp up of speed to WPs. 2011-10-03 10:37:56 -07:00
James Goppert 8409c864a6 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-03 13:22:59 -04:00
James Goppert cd451b749e Cleanup of AP_RcChannel, removed scaled class. 2011-10-03 13:22:23 -04:00
Amilcar Lucas 45950489d1 More improvements to MS Windows
Now the avr-gdb, avrdude and avarice tools do not need to be in the path.
2011-10-03 19:16:55 +02:00
James Goppert 0fc595d528 Added AP_RcChannel_Scaled to APO 2011-10-03 12:42:27 -04:00
Amilcar Lucas 69de071281 Spellcheck apo library 2011-10-03 12:50:41 +02:00
amilcar 7a510084b1 Fix serial port on windows 2011-10-03 12:10:27 +02:00