Chris Anderson
76baea13d5
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
13 years ago
Randy Mackay
b92d7aaad5
ArduCopter - fix for yaw control on Octa Quad Plus frame.
13 years ago
Randy Mackay
232359186e
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_
13 years ago
Randy Mackay
b64c0da003
ArduCopter - updated version to 2.4
13 years ago
Randy Mackay
33aa6fe13b
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.
13 years ago
Andrew Tridgell
92b3f86996
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
13 years ago
Andrew Tridgell
9793d04ed1
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
13 years ago
Andrew Tridgell
d52cb7e574
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
13 years ago
Andrew Tridgell
ffa3330f93
autotest: fixed the calculation of the acceleration due to gravity
...
this fixes the attitude calculation for the multicopter simulation
13 years ago
Andrew Tridgell
16009777d9
APM: expanded parameter area to match ACM
...
this ensures waypoints and basic eeprom layout remain in sync
13 years ago
Andrew Tridgell
6929226b96
ACM: expanded EEPROM parameter area by 256 bytes
13 years ago
Andrew Tridgell
bb352c6bcf
don't need AP_Math.h here any more
13 years ago
Andrew Tridgell
718a5b70e3
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
13 years ago
Andrew Tridgell
baac883eb1
IMU: move _sensor_cal to general IMU class
...
this makes it available both in shim and INS subclasses
13 years ago
Andrew Tridgell
882cd4ea83
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
13 years ago
Andrew Tridgell
85ecb05261
CPUInfo: added timing of sqrt()
13 years ago
Andrew Tridgell
78babd37fa
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
13 years ago
Andrew Tridgell
4b15b63d21
AP_Param: fixed copy-assignment operators for AP_Param vectors
13 years ago
Andrew Tridgell
7f3858cb7f
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
13 years ago
Andrew Tridgell
80a6773b8b
AP_Param: added an initialised() method
...
this will be used by the compass code
13 years ago
Jason Short
b532cb91b1
added Rate_D tuning value
13 years ago
Jason Short
0075901f77
upped rate loop to 250hz
13 years ago
justinbeech
62b104cbfa
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.
13 years ago
Michael Oborne
e2c15008c2
APM Planner 1.1.37
...
fix misc errors
update polish
fix linux/mac bug. - seems alot more stable
13 years ago
Jason Short
5218220f0f
re-implemented WII Dampening filter for Marco.
13 years ago
Jason Short
b052dab80d
Adjusted gains to move closer to Marco's tests
13 years ago
Jason Short
24ce02c6a4
made I term return in same pattern as D term
13 years ago
Jason Short
17c6c7b294
added extra gain logging
13 years ago
Jason Short
908ca4e915
scaled X velocity
13 years ago
Jason Short
bc1593e89c
cast to float
13 years ago
Jason Short
632cc783a1
cast D term to float just in case
13 years ago
Jason Short
36a120d8df
removed some unused vars,
...
formatting, made loop speed same as PIDT1 to eliminate variable.
13 years ago
Andrew Tridgell
79d622939a
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.
13 years ago
Phil
9242c157ee
APM: Fix rudder in elevon mode.
...
elevon planes can have rudders too
13 years ago
Chris Anderson
3cc986c472
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
13 years ago
Jason Short
a43ee36bee
CH 6 Range setup
13 years ago
Jason Short
3d63bb6cd4
Added acro_p to the params
13 years ago
Jason Short
e8b6f5ecee
allow auto-land if failsafe is triggered
13 years ago
Jason Short
fabeccad4a
Marco's updated Motor testing code
13 years ago
Jason Short
73591a0ca5
Added lengthy note about motor testing
13 years ago
Jason Short
9a3e862b55
added option in code for Loiter specific gains
13 years ago
Jason Short
e249c8466d
AP slew rate
13 years ago
Jason Short
21856e7696
new defaults for params
13 years ago
Jason Short
fcb24ee17d
Added Acro_P
13 years ago
Jason Short
574b86b02e
synced params
13 years ago
Jason Short
91edeeeef2
added RTL_land_enabled
...
added auto_pilot slew rate
13 years ago
Jason Short
aa0662008b
Added new params for CH6 Tuning
...
moved enums to give more room for additional PIDs for Loiter
added new Acro_P gain
added auto_land_enabled option
added pi_loiter_lon and pi_loiter_lat for separate tuning of loiter
13 years ago
Jason Short
05abe44f32
Added range setting via a parameter for CH6 tuning
13 years ago
Jason Short
026e4a6567
change constant to float 44330.0
13 years ago
Michael Oborne
2f81776b0d
eedump ap param in perl
13 years ago