Andrew Tridgell
481e06638a
autotest: check for valgrind on the host
2011-11-08 18:07:19 +11:00
Andrew Tridgell
c4bba9c4d8
desktop: another MacOS fix
2011-11-08 18:07:19 +11:00
Andrew Tridgell
407d66b41e
fixed a valgrind warning
...
need to initialise all fields
2011-11-08 17:26:53 +11:00
Andrew Tridgell
5194fe489d
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
0e447b12a2
dataflash: type fixup for ReadInt()
2011-11-08 17:26:53 +11:00
Jason Short
c3d5d92a71
Updated Logs to be C++ compliant
2011-11-07 22:23:48 -08:00
Jason Short
69fec433e6
Update to RTL logic.
2011-11-07 21:30:12 -08:00
Jason Short
4afc3e9f17
Fix for bad RTL tracking in Autopilot
2011-11-07 21:09:29 -08:00
Andrew Tridgell
dc6fb484cd
Log: fixed a few more casts
2011-11-08 11:59:30 +11:00
Andrew Tridgell
294c812b9b
desktop: use the libc printf engine
...
getting ftoa_engine right was too much work
2011-11-08 11:59:30 +11:00
Andrew Tridgell
39ddc42cc7
desktop: fixed ultoa_invert()
...
the string was backwards
2011-11-08 11:13:48 +11:00
Andrew Tridgell
d33b69492b
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
28634f51b7
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
0f3c21821a
barometer: fixed a build warning
2011-11-08 11:05:36 +11:00
Jason Short
6bf0c32173
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
122e09323c
autotest: fixed home altitude for CMAC
2011-11-08 08:14:46 +11:00
Andrew Tridgell
3176d4ffc5
HIL: enable CTUN log message in ATTITUDE HIL
2011-11-08 07:58:35 +11:00
Andrew Tridgell
92471aead2
Log: better way to check for -1 long portably
2011-11-08 07:58:34 +11:00
Jason Short
0446cae242
Alt hold fix
2011-11-07 12:00:37 -08:00
Andrew Tridgell
c7ac328613
autotest: dump all logs
2011-11-07 23:56:59 +11:00
Andrew Tridgell
2bd451b445
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
c1dad23679
autotest: fill flash with 0xff on erase
2011-11-07 23:42:18 +11:00
Andrew Tridgell
8c5873564b
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
c750f85280
autotest: enable dumping of DataFlash logs at end of test
2011-11-07 22:56:13 +11:00
Andrew Tridgell
3b48389efe
Desktop: added -w option to wipe eeprom and dataflash
2011-11-07 22:56:13 +11:00
Andrew Tridgell
ae1e1c940f
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
da800a295f
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
580139c6e4
digital.c for CLI
2011-11-07 22:56:13 +11:00
Andrew Tridgell
cfe058c5d5
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
94f0e8a4a3
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
b927e64440
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
d78bbb1a40
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
Andrew Tridgell
469b8586ca
autotest: started adding tests for required tools
...
try to give useful error messages
2011-11-07 22:56:13 +11:00
Jason Short
3a37e7fe60
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-06 22:46:57 -08:00
Jason Short
a37fadbedb
moved to 200hz update
...
Zccel Z updates from Aurelio in attitude.pde
lowered baro_alt sanity check
moved user hooks to the medium 10hz loop.
2011-11-06 22:46:39 -08:00
Jason Short
d1431f1070
default top_bottom ratio 1.0
2011-11-06 22:45:07 -08:00
Jason Short
3153257d37
default top_bottom ratio 1.0
2011-11-06 22:43:49 -08:00
Jason Short
4bb0bf96ae
Y6 Motors now have top bottom ratio
2011-11-06 22:42:59 -08:00
Andrew Tridgell
251cf7d87c
force LANG=C for MacOS awk
2011-11-07 13:33:38 +11:00
unknown
9c59fdfdd6
AltHold - another correction to the manual boost. Hopefully properly transferring building up I terms to g.throttle_cruise
2011-11-06 19:06:13 +08:00
unknown
32057fb3c9
AltHold - made TradHeli code also use manual_boost
2011-11-06 18:25:13 +08:00
unknown
755cb4b201
Altitude hold bug fix - changed g.throttle_cruise to be updated to steal I term from correct controller
2011-11-06 17:47:24 +08:00
unknown
156b496bab
TradHeli - small change to make throttle_cruise in terms of radio input instead of servo output
2011-11-06 17:40:17 +08:00
unknown
f1e626e3c1
TradHeli - changed deadzones for throttle to zero (and also reduced for yaw)
2011-11-06 17:37:59 +08:00
Doug Weibel
e3ab1b0353
Add an accessor for the DCM drift correction integrator to monitor performance
...
Also made the get_health accessor an inline function.
2011-11-05 09:02:23 -06:00
Doug Weibel
947950398c
Changed the DCM drift correction integrator limit to a vector magnitude of 30 degrees/second.
...
The drift correction integrator limit previously was near/at the gyro saturation limit. If we have that much drift there is a serious hardware problem. 30 degrees/second is arbitrary but should handle all temperature variation, etc.
2011-11-05 09:01:20 -06:00
Doug Weibel
c7077fa9e8
In case of DCM renorm "blow-up" reset the drift correction integrators
...
This should aid in recovery if we loose the AHRS solution and have to force to initial orientation. Also removed some old commented out code moved to the IMU object
2011-11-05 08:59:16 -06:00
Jason Short
c265555b69
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2011-11-04 21:42:10 -07:00
Jason Short
c8304114a3
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
unknown
12f5f3f96e
TradHeli - fix to allow tail servo to be reversed. Also increase max movement of tail servo to 45 degrees.
2011-11-05 12:31:30 +08:00