Commit Graph

1770 Commits

Author SHA1 Message Date
Jason Short 9500171a46 tweak to the Loiter N turns 2011-10-12 20:59:12 -07:00
James Goppert 7285cf28e2 Got APO quad stabilized flight to hover.
Needs more gain tuning.
2011-10-12 20:05:01 -04:00
Michael Oborne dfb8723333 APM Planner 1.0.82
TCP connection
joystick tweaks
SIL Prep
2011-10-12 21:37:39 +08:00
Jason Short 43b3015963 lowered DCM RP gains
made Instant_PWM optional
upped PWM output to 400hz
2011-10-11 22:20:23 -07:00
Amilcar Lucas 04299122d8 Spell 2011-10-11 22:52:02 +02:00
Michael Oborne 12131911b2 Desktop: cygwin fixs for AP and AC SIL 2011-10-11 20:30:34 +08:00
Andrew Tridgell 25d07075b7 desktop: more cygwin fixes 2011-10-11 21:33:31 +11:00
Andrew Tridgell 75d31dcc4c 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 b415542690 desktop: added Makefile.desktop 2011-10-11 20:53:43 +11:00
Andrew Tridgell 8290b61951 desktop: fixed a warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell bcb8fb1c7f desktop: silence an implicit cast warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell d11303ef78 removed an unused variable 2011-10-11 20:53:43 +11:00
Andrew Tridgell 97b3ced7aa fixed a signed/unsigned warning 2011-10-11 20:53:43 +11:00
Andrew Tridgell eed26ae91a fixed a '=' vs '==' bug in do_loiter_turns() 2011-10-11 20:53:43 +11:00
Andrew Tridgell d89ae696ef 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 c85ebedc6e 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 4016482573 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 3c3db649d5 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 bd42484ab8 update README with build and usage information 2011-10-11 17:49:40 +11:00
Andrew Tridgell ea82b27fe5 support building with common Makefile.desktop 2011-10-11 17:49:40 +11:00
Michael Oborne dc42103fa1 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 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