Andrew Tridgell
aaab500fe3
autotest: fixed directory for build_all.sh
2012-02-20 08:41:40 +11:00
Jason Short
70d7a1f5d0
Added slow_wp default in AP mode
2012-02-19 13:15:40 -08:00
Jason Short
434b059586
reset slow_WP option at mode switch
2012-02-19 13:13:42 -08:00
Jason Short
151e710668
Added slow wp option in calc_desired_speed
2012-02-19 13:13:21 -08:00
Jason Short
4b52dde882
set Slow WP option for RTL in Auto mode
2012-02-19 13:12:23 -08:00
Jason Short
79a9665c9d
Added "slow WP" option for RTL.
2012-02-19 13:11:59 -08:00
Jason Short
ba2cfee2fb
Updated manual throttle control during throttle hold
2012-02-19 12:40:51 -08:00
Jason Short
a4b8119c24
added workaround for resetting alt.
2012-02-19 12:40:08 -08:00
Jason Short
2a5a7fa245
Added SW test for Manual Boost
2012-02-19 12:39:40 -08:00
Jason Short
9169fe2bfe
AP TEST fixes for new throttle control
2012-02-19 12:38:57 -08:00
Randy Mackay
b4ee111c49
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
ae885d4cfe
Edit and Add some Traditional Chinese translation
2012-02-19 21:36:04 +08:00
Andrew Tridgell
982e6f22c3
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
1e9f53cc44
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
7c4ef140b9
ArduCopter - remove unnecessary block for next GPS value before saving home location
2012-02-19 15:38:40 +09:00
Andrew Tridgell
470ced9aad
autotest: added build_all.sh to autotest
2012-02-19 17:05:28 +11:00
Andrew Tridgell
0a7c769fc6
scripts: added some more builds to build_all.sh
2012-02-19 17:05:28 +11:00
Andrew Tridgell
1fc24b506e
AP_Param: update users of AP_Param for ParamToken
2012-02-19 17:05:28 +11:00
Andrew Tridgell
f30c721886
AP_Param: added ParamToken type for variable list traversal
2012-02-19 17:05:28 +11:00
Andrew Tridgell
230d2300ae
Heli: added heli build to build_all.sh script
...
ensure heli builds are tested
2012-02-19 16:34:43 +11:00
Andrew Tridgell
b06f35eaa2
Heli: fixed some 'used before initialised' warnings
2012-02-19 16:34:43 +11:00
Jason Short
f86e1ed63f
Axis lock beta (off by default)
2012-02-18 21:16:19 -08:00
Jason Short
aeed144180
updated max throttle define
2012-02-18 21:14:13 -08:00
Jason Short
5d658e5743
Change 800 to a define
2012-02-18 21:13:28 -08:00
Jason Short
83ad721b73
added Axis_Lock params
2012-02-18 21:13:06 -08:00
Jason Short
0517ed5199
updated throttle range
2012-02-18 21:11:06 -08:00
Jason Short
669e8e34ea
added a limit to range output
2012-02-18 21:08:17 -08:00
Jason Short
aa57fce9f4
some better defaults for JDrones
2012-02-18 14:23:21 -08:00
Randy Mackay
e3c24fbce8
ArduCopter - fix for yaw control on Octa Quad Plus frame.
2012-02-18 22:04:09 +09:00
Randy Mackay
b55db247ca
TradHeli - fixed small parameter bug affecting helis. The servo parameters were declared as GSCALAR instead of GGROUP in Parameters.pde.
...
also renamed heli parameters from _coll_ to the more descriptive _collective_
2012-02-18 20:57:51 +09:00
Randy Mackay
cd89258294
ArduCopter - updated version to 2.4
2012-02-18 18:44:29 +09:00
Randy Mackay
0b369cf78b
Optflow - added reference to FastSerial to resolve compile error on Arduino 1.0.
...
also removed reference to DCM (no longer required) and removed some old code.
2012-02-18 18:09:40 +09:00
Andrew Tridgell
455f1a8093
autotest: removed the pitch trim from the Rascal
...
This interferes with the calculation of the centripetal acceleration
calculation in the DCM code. We need a new way of handling pitch trim
2012-02-18 19:27:15 +11:00
Andrew Tridgell
2472f0a2f3
SITL: increase the amount of noise in the simulated ADC
...
this increases the noise to 2 bits, which actually can have the effect
of improving accuracy, as it leads to better averaging
2012-02-18 19:27:15 +11:00
Andrew Tridgell
9602b1f91b
DCM: only add in centripetal accel if we have GPS lock
...
if we don't have a GPS or the GPS doesn't have a good lock then we
can't rely on the ground speed for adjusting the acceleration vector
2012-02-18 19:27:15 +11:00
Andrew Tridgell
5652ccd3c6
autotest: fixed the calculation of the acceleration due to gravity
...
this fixes the attitude calculation for the multicopter simulation
2012-02-18 19:27:15 +11:00
Andrew Tridgell
b6fdf626e4
APM: expanded parameter area to match ACM
...
this ensures waypoints and basic eeprom layout remain in sync
2012-02-18 10:51:57 +11:00
Andrew Tridgell
db4fef174b
ACM: expanded EEPROM parameter area by 256 bytes
2012-02-18 10:51:57 +11:00
Andrew Tridgell
cb2af1ef86
don't need AP_Math.h here any more
2012-02-18 10:51:57 +11:00
Andrew Tridgell
6b357fc66b
AP_Param: fixed saving of sensor calibration
...
this fixes the saving of the accel and gyro calibration to EEPROM,
which was initially broken by the AP_Param conversion
2012-02-18 10:51:57 +11:00
Andrew Tridgell
371a91cfcf
IMU: move _sensor_cal to general IMU class
...
this makes it available both in shim and INS subclasses
2012-02-18 10:51:57 +11:00
Andrew Tridgell
2b8f0c3a48
AP_Param: moved AP_Vector3f and AP_Matrix3f declarations to AP_Math.h
...
this avoids us needing AP_Math.h in every utility sketch and example
2012-02-18 10:51:57 +11:00
Andrew Tridgell
3bb84bb40c
CPUInfo: added timing of sqrt()
2012-02-18 10:51:57 +11:00
Andrew Tridgell
8355823bc7
APM: use set_and_save_ifchanged() for GCS stream rates
...
this avoids a lot of EEPROM scan operations when the groundstation
updates the stream rates
2012-02-18 10:51:57 +11:00
Andrew Tridgell
70a135c47c
AP_Param: fixed copy-assignment operators for AP_Param vectors
2012-02-18 10:51:57 +11:00
Andrew Tridgell
e656928c01
AP_Param: added a set_and_save_ifchanged() method
...
this can be used to avoid the scan() in more frequenctly saved
variables, such as the MAVLink stream rates in APM
2012-02-18 10:51:57 +11:00
Andrew Tridgell
6f080742b8
AP_Param: added an initialised() method
...
this will be used by the compass code
2012-02-18 10:51:57 +11:00
Jason Short
677df0fe1c
added Rate_D tuning value
2012-02-17 15:23:59 -08:00
Jason Short
0d5f7ca072
upped rate loop to 250hz
2012-02-17 15:23:59 -08:00
justinbeech
5255512bf9
Found free extra 256 bytes of RAM eliminate _clz use from libgcc
...
Believe it or not, changing / 2^31 to >>31 saved 256 bytes in the "d" segment.
The reason is that GCC version prior to 4.3.5 does not have a count_leading_zeros (clz) assembler macro, so it uses a 256 byte lookup table called _clz
The _clz table gets pulled in if you do 64 bit division.
This tiny change is the only place that we do long long division.
Changing to a shift saves 256 bytes of ram.
2012-02-17 09:46:05 +00:00