Dominic Clifton
123a4ccfc5
Merge branch 'GTune' of https://github.com/MJ666/cleanflight into
...
MJ666-Harakiri_PID_update
Conflicts:
Makefile
src/main/blackbox/blackbox_fielddefs.h
src/main/flight/pid.c
src/main/io/serial_msp.c
src/main/mw.c
src/main/target/ALIENWIIF3/target.h
src/main/target/CC3D/target.h
src/main/target/NAZE/target.h
src/main/target/NAZE32PRO/target.h
src/main/target/SPARKY/target.h
2015-10-06 20:16:37 +01:00
Dominic Clifton
d36da111b2
Delete autotune.
2015-10-06 19:38:02 +01:00
Dominic Clifton
6e59eb235d
Bump version to 1.11.0.
2015-10-06 19:30:13 +01:00
Dominic Clifton
ba2e22ab89
Add RMDO target.
2015-10-06 19:00:53 +01:00
Sean Vig
456396b25a
Use fixed point calculation for BMP280 barometer
...
Substitute the floating point calculation for the comparably much faster
64-bit calculation recommended for a Cortex-M3 (floating point is
recommended only in PC applications with FPU) [1]. Even if we have an
FPU, we round the temperature to the nearest 1/100th of a degree and the
pressure to the nearest 1 Pa, both of which are within the limits of the
fixed-point algorithm's accuracy.
Conflicts:
src/main/drivers/barometer_bmp280.c
2015-10-06 18:33:23 +01:00
Sean Vig
e5f3f1794f
Add tests for BMP280 barometer
...
Also get rid of the curved quotes for normal quotes (") and make
compensation computations static.
2015-10-06 18:25:59 +01:00
Michael Jakob
f15cedd057
Fixes after rebase
2015-10-04 18:37:24 +02:00
Michael Jakob
e42ed1ad70
Update to integrate with BorisB filters after rebase.
...
Documentation update
2015-10-04 18:37:23 +02:00
Michael Jakob
72ff296850
Enable G-Tune for CC3D (but not included in the OPBL version)
2015-10-04 18:37:23 +02:00
Michael Jakob
edf08648bc
Replace gyroData with gyroADC in gtune.c after rebase
2015-10-04 18:37:22 +02:00
Michael Jakob
4bed8bc78a
Add G-Tune for NAZE32PRO target
2015-10-04 18:37:22 +02:00
Michael Jakob
afed9a5bba
G-Tune fix for PID controller 2 (LuxFloat)
2015-10-04 18:37:21 +02:00
Michael Jakob
a8aad05c5a
Added additional yaw handling according to Spirre's PID2 testing.
...
Flight tested with PID3 and PID5 (still functional without negative side
effects)
Additional code style updates of gtune.c
2015-10-04 18:37:21 +02:00
Michael Jakob
53531224be
Make G-Tune more configurable
...
- add two new CLI paramaters "gtune_settle_time" and
"gtune_average_cycles"
- the settle time is not depending on looptime anymore
- updated default setting to cover e wider range of copters
- remove lower limit for P value for CLI (Zero P is now posible, but
schould be used with care)
- Documentation updates
2015-10-04 18:37:21 +02:00
Michael Jakob
ef5887856d
Enable G-Tune on Sparky
...
Fix code style
2015-10-04 18:37:20 +02:00
Michael Jakob
fe2f2f3053
Fix some BlackBox isues, remove redundant code from PID controllers.
2015-10-04 18:37:20 +02:00
Michael Jakob
e7e297ad53
Modified behavior of G-Tune switch and storing the tuned P values
...
G-Tune documentation update
G-Tune will only activated and deactivated when armed.
G-Tune should deactivated while the copter is airborne.
Tuned P values will only be stored when G-Tune is enabled while disarmed
and G-Tune was used before.
2015-10-04 18:37:19 +02:00
Michael Jakob
6c022455c5
Add BlackBox recording for G-Tune
2015-10-04 18:37:19 +02:00
Michael Jakob
daceb2db9a
Fix G-Tune for LuxFloat PID controller
...
G-Tune documentation fix
2015-10-04 18:37:18 +02:00
Michael Jakob
43f5792a61
G-Tune port from Harakiri
...
Enabled for NAZE, ALIENWWIIF1 and ALIENWIIF3 targets
Implement G-Tune for all PID controllers
The G-Tune tuning results will be save if G-Tune mode will be disabled
during copter is disarmed.
Update PID controller and G-Tune documentation
2015-10-04 18:37:18 +02:00
Michael Jakob
b20dc77a74
Harakiri PID controller make hardcoded parameters configurable
2015-10-04 18:37:17 +02:00
borisbstyle
5f3538d4d3
Change Default PID for starters
2015-10-04 14:36:13 +02:00
borisbstyle
5a871928af
Get targetLooptime from gyro_sync.h
2015-10-04 03:06:09 +02:00
Moto Moto
fe89535126
MSP LOOP_TIME commands for Configurator 0.66
2015-10-03 17:13:37 -05:00
borisbstyle
52172ef50f
Betaflight simplified Failsafe // Fixes failsafe issues
2015-10-02 23:32:45 +02:00
Dominic Clifton
07d985ba5c
More MPU cleanups.
2015-10-02 15:43:44 +01:00
Dominic Clifton
aac13914f9
LPF setting is not needed to detect the gyro sensor, only when it's
...
initialised; now the lpf setting is passed to gyroInit().
This saves a bit of code size and ram as well as making the code
cleaner.
2015-10-02 15:43:44 +01:00
Dominic Clifton
06ceac0614
Remove unused variable warnings when no SPI sensors are used.
2015-10-02 15:43:44 +01:00
Dominic Clifton
6fb500f580
NAZE32 - Add support for BMP280.
2015-10-02 15:43:44 +01:00
Richard Lehey
501c83f851
Add support for new BMP280 barometer
2015-10-02 15:43:44 +01:00
Dominic Clifton
85ba1eb0bd
Add support for MPU6500 connected via I2C.
2015-10-02 15:43:44 +01:00
Dominic Clifton
678c0413cb
Relocate and use some of the common MPU code from MPU6000 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
0361d161fb
Relocate and use some of the common MPU code from MPU6500 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
da46d9f1d2
Relocate and use some of the common MPU code from MPU3050 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
b46d56a5bd
Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
borisbstyle
ab869f326c
Change INT PID Defaults
2015-10-01 21:53:40 +02:00
borisbstyle
fa9cd0440b
FastPWM as part of Oneshot125 (dynamic oneshot)
...
bool correction
IdlePulse
2015-10-01 17:07:53 +02:00
borisbstyle
77534ed6f6
Merge remote-tracking branch 'henn1001/FastPWM' into betaflight
...
Conflicts:
src/main/drivers/pwm_mapping.c
2015-10-01 16:01:15 +02:00
borisbstyle
4dcd8354da
Rx should be processed at least once
...
This is to prevent an extreme edge case on slow boards to make sure rx
update still occurs
2015-10-01 15:11:04 +02:00
borisbstyle
b523ff1557
imuUpdateAccDelayed unnecessary
2015-10-01 13:49:32 +02:00
Nicholas Sherlock
ca2a6d9cdd
Fix VCP support for new Tx bytes free vtable entry
2015-10-01 17:25:27 +13:00
Nicholas Sherlock
94affd5841
Fix truncated blackbox headers on fast looptimes/slow UARTs
...
As a consequence, now supports 19200 baud for Blackbox logging
2015-10-01 16:48:56 +13:00
Nicholas Sherlock
6e504ca52a
Ability to see how many Tx bytes are free in serial port buffer
2015-10-01 16:48:56 +13:00
4712
3dcca8c9d5
Fix: buzzer often starts beeping continuously on ESCs read 2
2015-10-01 01:16:24 +02:00
4712
3b3e630bc4
Revert "Fix: buzzer often starts beeping continuously on ESCs read"
...
This reverts commit 2afeefb753
.
2015-10-01 01:12:05 +02:00
4712
2afeefb753
Fix: buzzer often starts beeping continuously on ESCs read
2015-10-01 01:06:06 +02:00
4712
d957235358
Timeout issue at exit/switch ESC channel fixed
...
- also changed some comments
- uint32_t instead of uint16_t reduced compile size here (check this)
2015-09-30 14:35:26 +02:00
borisbstyle
18268e0a3e
Merge pull request #13 from MotoLab/f3_i2c_overclk
...
Overclock F3 I2C at 1000KHz
2015-09-29 20:54:57 +02:00
borisbstyle
babab7aa4e
Merge remote-tracking branch 'Pierre-A/CLI_beeper_off' into betaflight
2015-09-29 12:21:18 +02:00
Dominic Clifton
52881b3dfd
Merge pull request #1103 from borisbstyle/luxfloat_delta
...
Luxfloat Optimisation and new defaults
2015-09-29 10:48:23 +01:00