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
Michael Oborne
d0c67debee
APM Planner 1.1.37
...
fix misc errors
update polish
fix linux/mac bug. - seems alot more stable
2012-02-17 17:09:27 +08:00
Jason Short
03aa28224b
re-implemented WII Dampening filter for Marco.
2012-02-16 22:38:23 -08:00
Jason Short
9c7b8586d5
Adjusted gains to move closer to Marco's tests
2012-02-16 22:19:39 -08:00
Jason Short
560985b509
made I term return in same pattern as D term
2012-02-16 22:09:22 -08:00
Jason Short
75919436ac
added extra gain logging
2012-02-16 22:09:22 -08:00
Jason Short
cbe297b634
scaled X velocity
2012-02-16 22:09:22 -08:00
Jason Short
6732f0934a
cast to float
2012-02-16 22:09:21 -08:00
Jason Short
6913400221
cast D term to float just in case
2012-02-16 22:09:21 -08:00
Jason Short
43e695b1ac
removed some unused vars,
...
formatting, made loop speed same as PIDT1 to eliminate variable.
2012-02-16 22:09:21 -08:00
Andrew Tridgell
3fbb5a2d6c
ADC: on channel overflow we should not zero last_ch6_micros
...
this happens every 64 seconds because of unused channels on the
ADC. Zeroing this creates a bad delta_t value for the DCM code.
2012-02-16 17:48:36 +11:00
Phil
f8ed9f0e8d
APM: Fix rudder in elevon mode.
...
elevon planes can have rudders too
2012-02-16 14:43:24 +11:00
Jason Short
b070225366
CH 6 Range setup
2012-02-15 11:47:54 -08:00
Jason Short
bb4c02fbff
Added acro_p to the params
2012-02-15 11:29:25 -08:00
Jason Short
f2b6b86265
allow auto-land if failsafe is triggered
2012-02-15 10:53:54 -08:00
Jason Short
efb451e475
Marco's updated Motor testing code
2012-02-15 10:49:35 -08:00
Jason Short
f9296796fd
Added lengthy note about motor testing
2012-02-15 10:49:11 -08:00
Jason Short
0b011e3cd3
added option in code for Loiter specific gains
2012-02-15 09:10:15 -08:00
Jason Short
101979ed7b
AP slew rate
2012-02-15 09:10:15 -08:00
Jason Short
f20952df49
new defaults for params
2012-02-15 09:10:15 -08:00