Commit Graph

4112 Commits

Author SHA1 Message Date
Andrew Tridgell
17170da96e AP_Math: added is_nan() methods to vector3f and matrix3f 2012-02-24 11:52:55 +11:00
Jason Short
b094f6ce52 added set integrator 2012-02-23 09:38:08 -08:00
Jason Short
364afe8da0 added a constraint to D term 2012-02-23 09:14:44 -08:00
Hazy
e3c3307c09 APM Planner
a little bit translate
2012-02-23 16:39:16 +08:00
Andrew Tridgell
ef90f336d3 DCM: changed the sense of floating point range comparison
This allows us to detect NaN, otherwise NaN values were considered 
'in range'
2012-02-23 11:41:26 +11:00
Andrew Tridgell
57ffd00b69 DCM: range check the matrix before calculating pitch
The asin() in the pitch calculation can only take values between -1
and 1. This change ensures that the value is in range, and if it isn't
then we force a normalization. If that fails we reset the matrix
2012-02-23 08:16:08 +11:00
Andrew Tridgell
2bb58db3f7 DCM: reset more values on renorm blowup
when DCM blows up, we need to reset a lot more variables to ensure
that any NaN values don't persist
2012-02-23 08:16:08 +11:00
Andrew Tridgell
95ef9206dc DCM: renorm_sqrt_count is now called renorm_range_count 2012-02-23 08:16:08 +11:00
Andrew Tridgell
156d98cb9f DCM: remove the taylor expansion optimisation for renormalisation
The sqrt() costs about 44usec on a 2560, which is small enough for us
not to worry about the speed.

This also changes the range of values where we declare a blowup to
much less likely, which means we can cope with larger delta_t glitches
2012-02-23 08:16:08 +11:00
Jason Short
c7c16a5b0f Emile's Fixes 2012-02-22 10:27:34 -08:00
Jason Short
4483f19f85 Marco's Hexa Motors 2012-02-22 09:55:44 -08:00
Michael Oborne
eaa29d5e3b firmware build 2012-02-23 01:06:56 +08:00
Jason Short
242f54793c revved a version 2012-02-22 09:00:42 -08:00
Jason Short
729c824809 made timer unsigned 2012-02-21 21:49:03 -08:00
Jason Short
42b5d47f7b commented out control mode debug print 2012-02-21 21:48:07 -08:00
Chris Anderson
4134a86008 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-02-21 10:02:39 -08:00
Michael Oborne
ececcc6a69 ensure autoupdate works 2012-02-21 12:32:19 +08:00
Michael Oborne
56cf4f328b APM Planner 1.1.40 2012-02-21 12:04:45 +08:00
Michael Oborne
06a1035953 APM Planner - gps lat long bug fix. 2012-02-21 11:55:36 +08:00
Michael Oborne
3bb3cbe5b6 APM Planner 1.1.39
fix timeout issue.
2012-02-21 07:38:06 +08:00
Michael Oborne
58d9acb92e APM Planner - fix timeout bug 2012-02-20 23:33:04 +08:00
Michael Oborne
17c2eeb306 APM Planner 1.1.38
add ap param support
fix dtr
fix firmware screen on mono
misc mono fix's
mods from mandrolic - partial.
Add spanish - issue 515
new sitl images for attitude hil - issue 513
2012-02-20 19:30:47 +08:00
Michael Oborne
a3cb208468 firmware build 2012-02-20 13:24:12 +08:00
Michael Oborne
b78bca49b8 firmware build 2012-02-20 13:06:04 +08:00
Chris Anderson
1bac0ccd19 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-02-19 15:13:34 -08:00
Jason Short
c10778d685 Better throttle for tests 2012-02-19 15:06:54 -08:00
Jason Short
30efbae0e9 removed old comments 2012-02-19 14:21:27 -08:00
Jason Short
11dd9564d9 SIMPLE mode throttle fix 2012-02-19 14:21:27 -08:00
Andrew Tridgell
e5ec810c92 autotest: fixed check of return code for build_all.sh 2012-02-20 09:17:08 +11:00
Andrew Tridgell
c3d6e64efb autotest: fixed directory for build_all.sh 2012-02-20 08:41:40 +11:00
Jason Short
265c5255a3 Added slow_wp default in AP mode 2012-02-19 13:15:40 -08:00
Jason Short
336441b109 reset slow_WP option at mode switch 2012-02-19 13:13:42 -08:00
Jason Short
81a861c8ac Added slow wp option in calc_desired_speed 2012-02-19 13:13:21 -08:00
Jason Short
33d4d52a6b set Slow WP option for RTL in Auto mode 2012-02-19 13:12:23 -08:00
Jason Short
cae49b3543 Added "slow WP" option for RTL. 2012-02-19 13:11:59 -08:00
Jason Short
b54d08f410 Updated manual throttle control during throttle hold 2012-02-19 12:40:51 -08:00
Jason Short
bcd5129f9b added workaround for resetting alt. 2012-02-19 12:40:08 -08:00
Jason Short
fa32b084bd Added SW test for Manual Boost 2012-02-19 12:39:40 -08:00
Jason Short
1c9bb25f09 AP TEST fixes for new throttle control 2012-02-19 12:38:57 -08:00
Randy Mackay
9fabdb5797 TradHeli - change throttle range back to 0~1000 (was temporarily changed to be 1250~850 which limited the range of the swash plate's vertical movements) 2012-02-20 00:27:12 +09:00
ellissu
6cf7f45f2e Edit and Add some Traditional Chinese translation 2012-02-19 21:36:04 +08:00
Andrew Tridgell
4a766e1abd autotest: lower throttle level for lowering altitude in loiter
we were not dropping altitude in the change_alt test
2012-02-19 23:21:09 +11:00
Andrew Tridgell
9700afaf10 autotest: fixed failsafe test
increased timeout, added check for home location, and fixed failure
testing on timeout
2012-02-19 22:52:09 +11:00
Randy Mackay
e146f225b1 ArduCopter - remove unnecessary block for next GPS value before saving home location 2012-02-19 15:38:40 +09:00
Andrew Tridgell
66b95c14c5 autotest: added build_all.sh to autotest 2012-02-19 17:05:28 +11:00
Andrew Tridgell
08d730c266 scripts: added some more builds to build_all.sh 2012-02-19 17:05:28 +11:00
Andrew Tridgell
df8a557630 AP_Param: update users of AP_Param for ParamToken 2012-02-19 17:05:28 +11:00
Andrew Tridgell
53b87229ff AP_Param: added ParamToken type for variable list traversal 2012-02-19 17:05:28 +11:00
Andrew Tridgell
a0d4e940ef Heli: added heli build to build_all.sh script
ensure heli builds are tested
2012-02-19 16:34:43 +11:00
Andrew Tridgell
12327eb2a9 Heli: fixed some 'used before initialised' warnings 2012-02-19 16:34:43 +11:00