Commit Graph

1870 Commits

Author SHA1 Message Date
James Goppert 76a3625024 Got APO quad stabilized flight to hover.
Needs more gain tuning.
2011-10-12 20:05:01 -04:00
Michael Oborne a3de6667ca fastserial tcp 2011-10-13 07:25:30 +08:00
Michael Oborne 086412ecc3 APM Planner 1.0.82
TCP connection
joystick tweaks
SIL Prep
2011-10-12 21:37:39 +08:00
Jason Short a37d95634a lowered DCM RP gains
made Instant_PWM optional
upped PWM output to 400hz
2011-10-11 22:20:23 -07:00
Amilcar Lucas 18072d1eb9 Spell 2011-10-11 22:52:02 +02:00
Michael Oborne 8536452c5a Desktop: cygwin fixs for AP and AC SIL 2011-10-11 20:30:34 +08:00
Andrew Tridgell 19666f5a43 desktop: more cygwin fixes 2011-10-11 21:33:31 +11:00
Andrew Tridgell e991d81eee desktop: removed the need for libbsd
this should help the cygwin build that MikeO is working on
2011-10-11 21:04:07 +11:00
Andrew Tridgell e2c6dc68a2 desktop: added Makefile.desktop 2011-10-11 20:53:43 +11:00
Andrew Tridgell 93d09039ce desktop: fixed a warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell 99f0e92531 desktop: silence an implicit cast warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell 22aafd6ca9 removed an unused variable 2011-10-11 20:53:43 +11:00
Andrew Tridgell 337100fe44 fixed a signed/unsigned warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell d9d54ffa05 fixed a '=' vs '==' bug in do_loiter_turns() 2011-10-11 20:53:43 +11:00
Andrew Tridgell 661b6c4508 merged the GCS updates from ArduPlane to ArduCopter
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
2011-10-11 20:53:43 +11:00
John Arne Birkeland a10d10f0f3 Added windows USB drivers for the ATMega32U2 in the /Drivers/ folder
- Arduino MEGA 2560
- Atmel USB DFU
2011-10-11 11:01:15 +02:00
Andrew Tridgell 3633d846f6 desktop: make the main loop a bit more responsive
this introduces less delays on linux than usleep()
2011-10-11 17:49:40 +11:00
Andrew Tridgell 6f44415b19 desktop: make ISRs normal C++ functions
this will make it possible to add an abstract register simulation
class that allows us to intercept device IO
2011-10-11 17:49:40 +11:00
Andrew Tridgell 74a85a1f3e update README with build and usage information 2011-10-11 17:49:40 +11:00
Andrew Tridgell 52dc221969 support building with common Makefile.desktop 2011-10-11 17:49:40 +11:00
Michael Oborne 1245a139a3 APM Planner 1.0.81
add elevons to joystick control.
fixup possible autodetect problem. (was occuring when an axis was not centered on detect start)
add save mode confirmation
2011-10-11 08:11:06 +08:00
Michael Oborne ec7fa70fd6 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-11 08:05:14 +08:00
Michael Oborne a28a0f9433 Merge branch 'desktop-wip' of https://code.google.com/r/tridge60-apm-wip 2011-10-10 07:22:57 +08:00
Andrew Tridgell ed2bec75b9 added build makefiles 2011-10-10 07:18:38 +11:00
James Goppert d47e43e0c4 APO GPS bug fix. 2011-10-09 15:57:29 -04:00
James Goppert 5c16a380c0 Fixed APO bug. 2011-10-09 11:46:56 -04:00
Michael Oborne 42fc10c455 Merge branch 'desktop-wip' of https://code.google.com/r/tridge60-apm-wip 2011-10-09 21:53:58 +08:00
Amilcar Lucas ea27d1604a More optimizations
I forgot these ones.
2011-10-09 15:34:47 +02:00
Michael Oborne 42431fd227 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-10-09 21:30:56 +08:00
Michael Oborne fa2bc5dbd8 planner quick hil fix
gains 4500 4500 4500 500 and reverse rudder
2011-10-09 21:30:28 +08:00
Amilcar Lucas 282722eae6 Optimize the code a bit more, only perform calculations if they are necessary 2011-10-09 15:27:17 +02:00
Amilcar Lucas 02f023a9ec Use a single if instead of four 2011-10-09 15:27:17 +02:00
Amilcar Lucas 758ae5a78e Use the shorter macro call instead 2011-10-09 13:57:35 +02:00
Andrew Tridgell 67630d42e7 opticalflow: use the right path for SPI.h 2011-10-09 22:40:00 +11:00
Andrew Tridgell f4184d0b02 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 06ddaa2d81 don't initialise DataFlash if logging is disabled 2011-10-09 22:38:49 +11:00
Andrew Tridgell 85e8316809 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 6899189395 added a README 2011-10-09 22:16:14 +11:00
Andrew Tridgell ab755ab11f use ifdef for DESKTOP_BUILD 2011-10-09 22:16:14 +11:00
Andrew Tridgell 95475c6221 use nanosleep() instead of usleep() 2011-10-09 22:16:14 +11:00
Andrew Tridgell 41d734846e fixed millis() and micros() 2011-10-09 22:16:14 +11:00
Andrew Tridgell 320d4a330b desktop: use a bit less CPU 2011-10-09 22:16:13 +11:00
Andrew Tridgell ea2823cd5f desktop: use non-blocking IO 2011-10-09 22:16:13 +11:00
Andrew Tridgell e3fd61d758 desktop: expand eeprom to 4k initial size 2011-10-09 22:16:13 +11:00
Andrew Tridgell dfef42ff48 desktop: flush all serial writes 2011-10-09 22:16:13 +11:00
Andrew Tridgell 4109374959 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 e177800116 fixed PROGMEM declaration for desktop build 2011-10-09 22:16:13 +11:00
Andrew Tridgell e6e9334e4c memcheck: allow memcheck to build on desktop systems 2011-10-09 22:16:12 +11:00
Andrew Tridgell 2cb93f5a16 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 1195c4750e fixed some ambiguous if/else combinations
gcc was complaining about the logic
2011-10-09 22:09:00 +11:00