1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

236 commits

Author SHA1 Message Date
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
borisbstyle
c92f511b05 Match rewrite and luxfloat delta scaling during averaging 2016-04-18 11:02:40 +02:00
borisbstyle
fb35cc6477 Remove MW23 pid controller 2016-04-18 11:02:38 +02:00
borisbstyle
555269c2a3 More accurate deg/sec for iterm reset 2016-04-08 19:52:59 +02:00
borisbstyle
50b7f87251 Equal PIDs and Rates for rewrite and luxfloat (Luxfloat adopted to rewrite) 2016-04-08 14:11:52 +02:00
borisbstyle
24b97aed01 Iterm reset only on yaw for now 2016-03-31 23:59:19 +02:00
borisbstyle
7c83d23ddf Activate Iterm reset in normal mode too 2016-03-31 22:58:22 +02:00
borisbstyle
f2cb5369c8 Increase Yaw rate offset rewrite to be closer to roll/pitch 2016-03-31 12:40:13 +02:00
borisbstyle
2689208408 Fix floating point tpa bug 2016-03-31 00:26:32 +02:00
borisbstyle
3e5e30c42c Fix Iterm reset in super expo mode // new defaults 2016-03-30 21:23:14 +02:00
borisbstyle
cbc7bc2a61 Increase PID performance by removing Dterm for Yaw 2016-03-30 16:54:33 +02:00
borisbstyle
595d5d0867 Acro Plus replaced by Super Expo feature 2016-03-30 12:38:29 +02:00
borisbstyle
7b468c09f0 Luxfloat rework to int pids // Many pid cleanups // filter rework
Eeprom version // Dterm improvement

Further PID Improvements

Version Change

Coupling configured // reworked filtering // more test features

remove iterm scaler luxfloat

Further rework filters etc

Restore original luxfloat but scaled

Restore original luxfloat but scaled
2016-03-30 10:16:20 +02:00
borisbstyle
adedc3fe81 Iterm range for MW23 more sensitive 2016-03-21 00:08:10 +01:00
borisbstyle
0aac025494 Version 2.5.3 / Configurable yaw_p_limit for all pid controllers 2016-03-06 14:04:09 +01:00
borisbstyle
bc23418cec Adjust Delta Scaling on MW23 2016-02-26 00:49:19 +01:00
borisbstyle
2e8fa5eab1 Taskmain rework part II
INT wait

Fix auto settings F3
2016-02-26 00:22:05 +01:00