1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00
Commit graph

173 commits

Author SHA1 Message Date
Dominic Clifton
85acf7dc1d Merge pull request #895 from borisbstyle/pid1-horizon
Fix for extreme D level term PID1 Horizon
2015-05-17 21:32:50 +01:00
Steveis
6448b4b3d7 Replaced gyroData with gyroADC as they both contain the same value 2015-05-17 07:14:42 +01:00
borisbstyle
984eada98b PID1 Horizon sensitivity range increased 2015-05-15 15:28:03 +02:00
borisbstyle
4bdc64bff9 Fix for extreme D level term PID1 Horizon 2015-05-15 02:16:46 +02:00
Dominic Clifton
cf4a552b94 Merge pull request #891 from borisbstyle/pid1-horizon
PID1 Horizon Mode Fixed
2015-05-14 19:31:45 +01:00
borisbstyle
3c1b678a37 Fix truncation in horizonstrength calculation 2015-05-14 20:00:35 +02:00
borisbstyle
0b274cc6e8 PID1 Horizon Improved 2015-05-14 00:54:41 +02:00
borisbstyle
4ec28b8cce Removed TPA from Yaw axis and Changed variable name
PIDscaler changed to PIDweight as it suits better and is more
understandable as it is percentage of the PID's used.
Yaw TPA is removed as I don't find it necessary after more testing
2015-05-11 09:18:05 +02:00
borisbstyle
174cf545b1 Simplify errorGyroIf[axis] formula 2015-05-09 12:31:03 +02:00
borisbstyle
5dee66fee9 More commented 2015-05-09 02:08:52 +02:00
borisbstyle
d6cb6a34e7 Added comment 2015-05-09 02:05:44 +02:00
borisbstyle
573146788b PID1 and PID2 TPA Implementation
PIDscaler is used to scale down the pids conforming TPA calculation
2015-05-09 00:52:18 +02:00
borisbstyle
7f69537f86 PID1 TPA Implementation 2015-05-08 15:20:53 +02:00
Michael Jakob
2fd79a7aa2 This fix is for avoiding yaw overshoot and bounce back for some
configurations
The hardcoded limit in the mixer and PID controllers 3-5 would be
removed
by default and will be configurable by CLI variables:

yaw_jump_prevention_limit, global setting (original fixed value was 100)
yaw_p_limit, per profile setting (fixed value was 300)
2015-04-23 17:30:20 +02:00
Ben Hitchcock
9e842704c5 ^ Multiplying I term by ten to make it tuneable 2015-03-24 22:54:49 +08:00
Dominic Clifton
bc8e53a9d8 Rename some PID controller methods.
See #461.
2015-03-09 23:26:52 +00:00
Dominic Clifton
b595b49ca8 Decouple roll and pitch rates. MSP clients take note of updated
MSP_RC_TUNING/MSP_SET_RC_TUNING commands.
2015-03-07 15:11:20 +00:00
Michael Jakob
a4e074816d Harakiri PID controller fix
integer constrain function is limiting accuracy in Angel and Horizon
mode ITerm value
2015-02-21 14:51:53 +01:00
Michael Jakob
257c7e092e Harakiri PID controller variables cleanup
Flight tested
2015-02-19 21:28:26 +01:00
Michael Jakob
cd94377651 Latest Crashpilot1000 update 2015-02-19 09:00:20 +01:00
Michael Jakob
6548c90ca8 Align Harakiri PID with Crashpilot1000 updates 2015-02-19 08:30:41 +01:00
Michael Jakob
6c92ea8ee8 Harakiri PID fix
Change errorGyroI and errorAngleI from int32 to float
2015-02-18 22:55:05 +01:00
Dominic Clifton
55cac2bdeb Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
Relocate more code.
2015-02-01 00:39:38 +01:00
Renamed from src/main/flight/flight.c (Browse further)