1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
Commit graph

652 commits

Author SHA1 Message Date
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
borisbstyle
2d6e0da773 Minor cleanup
Fix for integer PIDC
2016-07-17 21:16:00 +02:00
borisbstyle
221f617799 Fix for missing I gain (float) 2016-07-17 21:10:00 +02:00
borisbstyle
19a814afbb Seperate float and int accumulation logic 2016-07-17 03:16:04 +02:00
borisbstyle
6582a958aa PID float scaling in deg/sec
fix
2016-07-17 01:48:46 +02:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden
74d20a276f Made filter naming, parameters and state consistent 2016-07-03 06:45:11 +01:00
Martin Budden
4d238b27d5 Moved targetLooptime into gyro_t, tidied gyro_sync and gyro 2016-06-26 16:15:06 +01:00
blckmn
2ed6ee1e39 FIX: AngleRateSmooth array to small to hold YAW axis 2016-06-23 20:36:09 +10:00
blckmn
86459a77ed Warning fixes 2016-06-23 20:25:31 +10:00
borisbstyle
4c59769b02 Add delta from measurement // rc smooth interval // More MSP 2016-06-23 01:53:51 +02:00
borisbstyle
9782fb1555 Apply PID reduction to only Iterm. (RC1 behaviour) 2016-06-19 15:21:26 +02:00
borisbstyle
d214f8602d Smoothed Derivative from Error // Fix Iterm accumulation issues // Defaultss
Saturation rework
2016-06-18 00:37:01 +02:00
Gary Keeble
db5184d603 Add rcYawRate into Blackbox header and Calculate Rate Function
Add the new Yaw Rate parameter into the log header
2016-06-03 15:18:54 +01:00
borisbstyle
a74acccb84 Add rc_rate_yaw // SuperExpo feature renamed to SUPEREXPO_RATES 2016-06-02 19:41:04 +02:00
borisbstyle
6c8a8614fc Rate limiter 2016-06-02 11:06:03 +02:00
borisbstyle
bb880e68d3 Cleanup Modes 2016-06-01 22:44:56 +02:00
borisbstyle
c45475b8af Fix broken Level Modes 2016-06-01 22:09:22 +02:00
borisbstyle
a3c1f6e168 Add Back Iterm limit for saturation scenarios 2016-06-01 20:59:11 +02:00
borisbstyle
090c05b7b8 Fix Dterm In blackbox 2016-06-01 18:21:49 +02:00
borisbstyle
d4c22f1c28 Rework Super Expo Rate Implementation // On the fly Rc Expo 2016-06-01 09:30:52 +02:00
borisbstyle
39763abe0b Remove RC Rate influence on superExpo curve 2016-05-31 13:13:30 +02:00
borisbstyle
3470181a0f Add feature for SuperExpo and Airmode // Super Expo by default activated 2016-05-30 20:42:43 +02:00
borisbstyle
23b0e79eff Smoother Iterm Ignore transition 2016-05-30 19:47:53 +02:00
borisbstyle
754982f480 Add higher power function to Super Expo 2016-05-30 13:02:41 +02:00
borisbstyle
935ad7f613 Fix Luxfloat iterm issue // New Ignore Iterm default 2016-05-25 22:43:06 +02:00
borisbstyle
aa61bd4fb4 Replace yaw_jump_prevention_limit by D gain for yaw // new defaults based on flight tests 2016-05-24 21:47:57 +02:00
borisbstyle
404e250b73 Fix for iterm ignore accuracy 2016-05-24 08:31:00 +02:00
borisbstyle
ff5c320b4a Iterm reset rework // Airmode Iterm Protection Configurable // Dynamic Ki
New defaults
2016-05-23 23:57:32 +02:00
Martin Budden
03ef7f9ba9 Moved declaration of pidControllerFuncPtr into pid.h 2016-05-17 08:45:33 +01:00
borisbstyle
90bc67e2cc Configurable Iterm Reset Offset 2016-05-09 13:12:48 +02:00
Martin Budden
825475fd43 Added new debug mode to time pidloop subtasks. 2016-05-05 10:28:26 +01:00
rav-rav
f62ec043cf fix error in biquad coefficients calculation
improve biquad precision and performance by using direct form 2 transposed instead of direct form 1
keep float results for luxfloat pid controller, instead of casting twice
2016-05-04 22:44:33 +02:00
borisbstyle
a4456ce6b9 Initial dynamic PID implementation
New Defaults and some rework in dynamic PID

Cli Fixes

Copy / Paste Protection

Change Stick threshold

Remove differentiator

Change Default PIDs
2016-05-03 23:48:41 +02:00
borisbstyle
86c2e12c07 Optional SUPER EXPO for yaw // Optional always Iterm reset // Rework Iterm reset 2016-04-27 22:09:17 +02:00
borisbstyle
cbcf028302 Dterm robust differentiator Initial Implementation 2016-04-27 21:08:15 +02:00
borisbstyle
1e1d445fd3 Dynamic D Implementation 2016-04-22 12:08:17 +02:00