Commit Graph

2426 Commits

Author SHA1 Message Date
Andrew Tridgell 6089e491ed autotest: improved error checking and child termination
we now report pass/fail for each test
2011-11-09 17:21:53 +11:00
Andrew Tridgell 4b50d2e639 desktop: exit on EOF from stdin 2011-11-09 17:21:53 +11:00
Jason Short 3e5ec5d549 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2011-11-08 21:43:24 -08:00
Jason Short bf1e991308 New mission test 2011-11-08 21:43:18 -08:00
Andrew Tridgell e373c2a8b6 autotest: avoid the need for killall
this ensures we cleanup child processes cleanly, so we don't need the
killall any more
2011-11-09 15:46:06 +11:00
Jason Short ccc2746a22 removed debugging code 2011-11-08 14:41:46 -08:00
Jason Short d5fb801678 Removed debugging code from APM_PI 2011-11-08 14:41:21 -08:00
Jason Short c7eb695b4a SIM test 2011-11-08 14:11:02 -08:00
Jason Short bc506514c9 fix for SIM GPS 2011-11-08 14:10:09 -08:00
Andrew Tridgell 5a45f9cd25 desktop: fixed malloc cast 2011-11-09 08:47:49 +11:00
Andrew Tridgell 7b175618fc Log: try to fix -ve lat in logging 2011-11-09 08:46:05 +11:00
Andrew Tridgell 11c908c7b4 desktop: be more careful with signed/unsigned in DataFlash 2011-11-09 08:44:19 +11:00
Andrew Tridgell d8d5f97a0a desktop: use less stack
this avoids a problem on cygwin on windows
2011-11-09 08:09:56 +11:00
Jason Short 50703ed847 restoring throttle i term for SIM 2011-11-08 11:51:49 -08:00
Jason Short 59fb774226 bad hijacking of GPS_Status 2011-11-08 10:48:47 -08:00
Jason Short 31e05e40fd Fixes for Sim - Missing climb rate calculation 2011-11-08 10:46:52 -08:00
Jason Short 51c746c9a4 PID test for alt hold to narrow down on a bug 2011-11-08 10:13:16 -08:00
Michael Oborne 9aff265e77 APM Planner 1.0.90
Camera screen error fix
mavlink 1.0 now compile time option
Configuration screen modify
dataflashlog update
2011-11-08 21:22:07 +08:00
Andrew Tridgell 3427adbebe autotest: check for valgrind on the host 2011-11-08 18:07:19 +11:00
Andrew Tridgell 389e2ff03e desktop: another MacOS fix 2011-11-08 18:07:19 +11:00
Andrew Tridgell 49053a9721 fixed a valgrind warning
need to initialise all fields
2011-11-08 17:26:53 +11:00
Andrew Tridgell b2254016e1 desktop: make desktop build more portable
this should help on MacOS

thanks to MikeS for his assistance
2011-11-08 17:26:53 +11:00
Andrew Tridgell 3b52687342 dataflash: type fixup for ReadInt() 2011-11-08 17:26:53 +11:00
Jason Short f80a08bf57 Updated Logs to be C++ compliant 2011-11-07 22:23:48 -08:00
Jason Short 7e49de6596 Update to RTL logic. 2011-11-07 21:30:12 -08:00
Jason Short 7bc6a7a2fa Fix for bad RTL tracking in Autopilot 2011-11-07 21:09:29 -08:00
Andrew Tridgell 2186a5978a Log: fixed a few more casts 2011-11-08 11:59:30 +11:00
Andrew Tridgell f073837ea7 desktop: use the libc printf engine
getting ftoa_engine right was too much work
2011-11-08 11:59:30 +11:00
Andrew Tridgell 6b583869c0 desktop: fixed ultoa_invert()
the string was backwards
2011-11-08 11:13:48 +11:00
Andrew Tridgell fd3154f20d desktop: improved ftoa_engine.c
this still doesn't perfectly match the assembler, but its closer
2011-11-08 11:05:36 +11:00
Andrew Tridgell 87d5581046 ArduCopter: use specific sized data types in a lot of places
this will make the Desktop build more consistent with the real AVR
build, and also with a future ARM build
2011-11-08 11:05:36 +11:00
Andrew Tridgell ecf3d26f43 barometer: fixed a build warning 2011-11-08 11:05:36 +11:00
Jason Short 34a53f6f7d Removed some old debug prints from motors.pde
added ability to not increment I term for traversals.
2011-11-07 14:32:39 -08:00
Andrew Tridgell f3964611e1 autotest: fixed home altitude for CMAC 2011-11-08 08:14:46 +11:00
Andrew Tridgell dacf98e201 HIL: enable CTUN log message in ATTITUDE HIL 2011-11-08 07:58:35 +11:00
Andrew Tridgell a045e4ec7e Log: better way to check for -1 long portably 2011-11-08 07:58:34 +11:00
Jason Short 6d0a32cc65 Alt hold fix 2011-11-07 12:00:37 -08:00
Andrew Tridgell 3b51874a70 autotest: dump all logs 2011-11-07 23:56:59 +11:00
Andrew Tridgell 4113d04f70 Log: make find_last_log_page() portable
this makes it work with platforms with a larger 'long'
2011-11-07 23:50:49 +11:00
Andrew Tridgell acad6b37c4 autotest: fill flash with 0xff on erase 2011-11-07 23:42:18 +11:00
Andrew Tridgell 20ae086842 autotest: dump all GPS points, even if fix==0
for some reason HIL gives fix 0 sometimes
2011-11-07 22:57:32 +11:00
Andrew Tridgell 5e5d86ca09 autotest: enable dumping of DataFlash logs at end of test 2011-11-07 22:56:13 +11:00
Andrew Tridgell a199835632 Desktop: added -w option to wipe eeprom and dataflash 2011-11-07 22:56:13 +11:00
Andrew Tridgell 0775f57a89 Log: fixed a bug where we could index outside an array
when we first start up, num_existing_logs may be zero
2011-11-07 22:56:13 +11:00
Andrew Tridgell eb0756f362 Desktop: added support for DataFlash in Desktop build
this will allow Jason to look at the logs of the quad sim
2011-11-07 22:56:13 +11:00
Andrew Tridgell ee99ec839b digital.c for CLI 2011-11-07 22:56:13 +11:00
Andrew Tridgell 5410dff523 DataFlash: use CPU independent data types
this ensures that the DataFlash API is consistent for different CPU
architectures, which matters for the Desktop build, and will matter
for ARM and other CPUs later
2011-11-07 22:56:13 +11:00
Andrew Tridgell b314fd8cd3 Desktop: enable the CLI in desktop build
this gives access to the CLI menus. You can start the SIL with the -s
switch to set the slider position to CLI
2011-11-07 22:56:13 +11:00
Andrew Tridgell 75d7ee01d1 desktop: fixed 2 crashes in the menu code
handle an empty line gracefully, and use pgm_read_pointer() for
functions pointers in progmem
2011-11-07 22:56:13 +11:00
Andrew Tridgell 152da9c91b added pgm_read_pointer()
this will be used by the menu code to make reading pointers from
progmem portable
2011-11-07 22:56:13 +11:00