borisbstyle
af8453c224
Fix Filter Init Loop
2016-11-26 00:08:18 +01:00
Martin Budden
032d9354ed
Use function pointers to tidy PID filter handling
2016-11-25 12:35:33 +00:00
Martin Budden
ac6b83ad7d
Replaced getdT() by static dT
2016-11-20 09:48:24 +00:00
Martin Budden
695f47944b
Tidy PID controller
2016-11-20 09:20:53 +00:00
Martin Budden
58c85029d6
Removed unnecessary #includes
2016-10-26 05:15:26 +01:00
Martin Budden
01be3842c8
Added filter unit test and tidied filter code
2016-10-23 10:10:14 +01:00
borisbstyle
706897c187
Convert mixer to float math
2016-10-20 09:05:52 +02:00
borisbstyle
5e3c974d64
Remove Legacy Pid Controller
2016-10-18 16:49:16 +02:00
borisbstyle
0e827b331d
New Beebrain defaults // refactoring
2016-10-13 01:50:34 +02:00
borisbstyle
aaafd4f661
Merge branch 'master' into development
2016-10-12 10:15:13 +02:00
borisbstyle
fa6748b49a
Fix merge issues // Free some space on NAZE and CC3D
2016-10-09 01:11:20 +02:00
borisbstyle
70cca63875
Cleanup // Fix some filter inits // More space Naze target
2016-10-09 00:47:50 +02:00
borisbstyle
505502e798
Cleanup // Fix some filter inits // More space Naze target
2016-10-09 00:45:37 +02:00
borisbstyle
81623d4ac7
Merge branch 'master' into development
2016-10-08 02:00:08 +02:00
borisbstyle
b168b33448
Cleanup Denoise Code
2016-10-08 01:49:26 +02:00
borisbstyle
8dd8e3969f
Add PIDsum limit
2016-10-08 01:14:17 +02:00
borisbstyle
bd2ded600c
Merge branch 'master' into development
2016-10-07 02:44:21 +02:00
borisbstyle
fc480fab5b
Default adjustments // Cleanups
2016-10-07 02:24:22 +02:00
borisbstyle
09d16bd0cb
Merge branch 'master' into development
2016-10-07 01:41:55 +02:00
borisbstyle
989af08c10
Lower PID limit
2016-10-04 00:50:04 +02:00
borisbstyle
73e952ce16
Move PID relaxation to only D
2016-10-02 00:58:33 +02:00
borisbstyle
cb16d65532
Fix level mode in betaflight PID controller
2016-09-10 23:30:03 +02:00
borisbstyle
13b189b4ff
Cleanup
2016-09-09 00:26:52 +02:00
borisbstyle
0d1cc8f448
Reimplementation of P setpoint weight. Applied to S rates now for nicer feel
2016-09-08 21:36:43 +02:00
borisbstyle
e6a11960fd
Equal pid.c optimalisation to betaflight pid
2016-08-23 01:06:19 +02:00
Gamma-Software
0f1b00520f
Little optimisation PID.c
...
Hi,
I know, it's not a huge optimisation but I just switched the condition of the IF condition (line 425). Given that the YAW axis occur one time in the FOR loop (line 366), the IF(axis == YAW) condition will be called one time whereas the IF(axis != YAW) condition will be called two times.
Check first the most used condition in an IF condition is a good thing to do in a code source.
I just don't know if it will be a major improvement, I let you judge.
2016-08-22 16:33:23 +02:00
borisbstyle
138ade7939
Improve dterm filter accuracy // magic number
2016-08-21 00:19:51 +02:00
borisbstyle
4e2ff7e7e9
Improve dterm filter accuracy // magic number
2016-08-21 00:13:14 +02:00
borisbstyle
8140959f2d
Fix incorrect coefficient when pid_denom > 1 is used
2016-08-11 20:09:20 +02:00
borisbstyle
08776bc309
Fix incorrect coefficient when pid_denom > 1 is used
2016-08-11 20:07:55 +02:00
borisbstyle
98eb820cdb
defaults
2016-08-09 23:34:12 +02:00
borisbstyle
107f09d6e1
Fix CPU bug due toe reinitialising of filters
2016-08-09 16:20:09 +02:00
borisbstyle
4ff2802095
Fix CPU bug due toe reinitialising of filters
2016-08-09 16:18:06 +02:00
Martin Budden
541f4d4018
Directory rearrangement to reflect cleanflight changes
2016-08-07 13:44:00 +01:00
Martin Budden
0de27cf7c2
Used forward declarations to remove #includes from header files
2016-08-07 01:28:17 +02:00
Martin Budden
2b05cbf916
Put each PID in its own .c file
2016-08-07 01:17:45 +02:00
borisbstyle
81c06ace92
Refactor rate limit
2016-08-05 14:18:31 +02:00
borisbstyle
38e812a5a5
Add roll pitch velocity
2016-08-05 00:55:12 +02:00
borisbstyle
06be182e50
Add yaw smoothing back // adjust defaults // KISS fc remove some shared timers
2016-08-05 00:02:38 +02:00
borisbstyle
b4e61d49c9
More efficiency in PID code // add yaw velocity to setpoint
2016-08-04 01:22:38 +02:00
rav
0e905e01d3
set lower filter cutoff instead of Q
...
fix error in gyro pt1 filter
2016-08-04 00:09:22 +02:00
borisbstyle
cc7ea13e66
Convert Notch Q to BW
2016-08-03 20:56:37 +02:00
borisbstyle
771feb8fde
Add more filter freedom
2016-08-03 11:51:12 +02:00
blckmn
df11d398aa
Warning removal where present if pidBetaflight is skipped.
2016-07-31 11:06:29 +10:00
borisbstyle
c11c50287e
Finalisation of Betaflight PID controller // RC smoothing added back
2016-07-28 00:54:40 +02:00
Martin Budden
d9733b8206
Various measures to save ROM
2016-07-25 08:56:28 +01:00
borisbstyle
f61ec9af0a
rcCommandSmooth for level mode
2016-07-20 01:31:32 +02:00
borisbstyle
52e302e51e
Fix Horizon / Angle in betaflight pidc
2016-07-20 01:11:25 +02:00
borisbstyle
0ae5d9734e
Add option to fully disable PID controller on zero throttle
2016-07-18 02:23:14 +02:00
borisbstyle
37fd2e5adc
Initial PID controller separation // Betaflight pidc for future development
2016-07-18 01:34:07 +02:00