1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00
Commit graph

652 commits

Author SHA1 Message Date
Martin Budden
6869d78941 Better structure alignment to avoid padding 2017-07-18 11:32:05 +01:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
U-DESKTOP-12PPI61\boris.bozic
45c578c8b6 Disable setpointweight on other modes than acro // Remove forced rc smoothing for level modes 2017-06-09 14:34:06 +02:00
mikeller
9de89cd464 Added filtering for parts of the notch filter that are below the nyquist frequency. 2017-05-17 00:17:57 +12:00
Martin Budden
ebbfda2f6c Merge pull request #3017 from rav-rav/sharper_rc_response
Sharper rc response / ninja-mode
2017-05-08 08:03:21 +01:00
Martin Budden
71546410de Rearrange PID array to be array of PIDs 2017-05-06 11:06:47 +01:00
rav
001fb8d432 make sure rxRefreshRate > 0 2017-05-05 17:04:27 +02:00
rav
33043d79dc use floats for rc interpolation
do not filter setpoint data
2017-05-04 00:16:46 +02:00
Michael Keller
40a2bee492 Made float parameter calculation static. 2017-04-21 13:18:23 +12:00
ethomas999
8167892604 Added horizon_tilt_effect command
and horizon_tilt_expert_mode command.
Modified 'calcHorizonLevelStrength()' function.
Changed 'd_level' (D8[PIDLEVEL]) default from 100 to 75
Added horizon static float vars
2017-04-12 10:41:54 -04:00
Martin Budden
a9bb3fb8f6 Merge pull request #2783 from martinbudden/mb_crash_recovery
Added experimental crash detection and recovery
2017-04-12 07:57:52 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Martin Budden
1dc5f88820 Added crash detection and recovery 2017-04-11 22:58:18 +01:00
Martin Budden
37c9d3c47e Improved ITerm windup handling for tricopter 2017-04-11 22:50:03 +01:00
Michael Keller
9c29475ba4 Changed float parameters to int16 in 'cli.c'.
Fixed buffer length used for 'ftoa'.

Got rid of magic numbers, replaced 'digitalIdlePercent' with 'digitalIdleValue'.
2017-04-10 13:11:01 +12:00
borisbstyle
99c87ba2dc merge 3.1.7 defaults 2017-04-05 15:36:52 +02:00
borisbstyle
6899c66a05 Add anti gravity as feature and mode
3.1.7 mergebacks
2017-04-05 15:27:52 +02:00
Martin Budden
318fd2ee15 Code tidy. Renamed vbatscale in blackbox 2017-03-31 07:44:28 +01:00
Martin Budden
1964362dce Removal of USE_PARAMETER_GROUPS 1 2017-03-09 22:03:59 +00:00
Martin Budden
f1ce19167f Converted target config.c files to PG - PG CLI 6 (#2578)
Converted CLI and target config.c files to PGs
2017-03-08 23:26:37 +00:00
Martin Budden
9e4de2ea3b Added separate yaw pidsum limit 2017-03-07 11:25:21 +00:00
borisbstyle
b9c2913c09 Merge pull request #2547 from ethomas999/angleTrimSignFix
Fixed sign of angleTrim value in pid.c
2017-03-07 00:21:29 +01:00
Martin Budden
aa561d542b Updates to support parameter groups 2017-03-06 13:48:14 +00:00
ethomas999
cefe9affd3 Fixed sign of angleTrim value 2017-03-04 00:44:33 -05:00
Martin Budden
9b62a4e38f Added PG config definitions 10 2017-02-28 06:28:06 +00:00
Martin Budden
7ae57eb8cf Added PG config definitions 8 2017-02-27 07:25:48 +00:00
Martin Budden
c92679f454 Added PG config definitions 4 2017-02-25 18:19:56 +00:00
borisbstyle
de3d1d527d Merge branch 'master' into patch_v3.1.6 2017-02-20 14:40:43 +01:00
borisbstyle
84105629ea Fix filter bug for trying filter over nyquist 2017-02-20 01:52:15 +01:00
borisbstyle
0b73e613c0 Remove experimental square in relax calc 2017-02-19 00:13:44 +01:00
borisbstyle
ff1f9ce770 Scale down dtermSetpointWeight 2017-02-16 01:44:27 +01:00
borisbstyle
a135e9cbb2 Soften the lower setpoint transition 2017-02-14 22:44:10 +01:00
borisbstyle
ecb104b1f1 Merge branch 'master' into patch_v3.1.4 2017-02-07 13:47:12 +01:00
borisbstyle
89527df273 Simplify anti gravity 2017-02-07 10:26:21 +01:00
borisbstyle
be74098162 Merge tag 'v3.1.3' 2017-02-02 14:18:48 +01:00
Martin Budden
2406e0744a Minor improvement to efficiency of PID calculation 2017-02-02 13:59:17 +01:00
Martin Budden
080f9b7923 Fix to calculation of ITerm anti-windup 2017-02-02 13:59:11 +01:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
borisbstyle
a112c1d7d0 Separate fc_core.c from RC processing 2017-01-30 23:46:04 +01:00
borisbstyle
7bfd2b5d1c Get rid of unneeded constrain 2017-01-30 16:09:58 +01:00
borisbstyle
638ed22fa8 Minor pid init precalculation optimalisations // Simplify dynC 2017-01-30 15:02:12 +01:00
borisbstyle
cf04294f70 Prevent ItermAccel and windup to clash with each other 2017-01-30 15:02:10 +01:00
borisbstyle
ff8be19b8f Optimise / fix new transition calculations // Dont use accelerator during anti windup 2017-01-30 15:01:49 +01:00
borisbstyle
ad892400e5 Cleanup and optimize new anti windup // Simplify relaxFactor to Dterm 2017-01-29 02:35:11 +01:00
Martin Budden
9dfb3e45ee Add ITerm anti-windup based on motor output saturation
Added noise threshold for PID ITerm accumulation

Removed ITerm setpoint scaler. Added CLI and MSP settings

Made default ITerm noise threshold zero. Added CLI setting.

Removed itermWindupPointPercent from MSP
2017-01-29 01:30:35 +01:00
borisbstyle
093115a2a0 Add anti_gravity_gain // new defaults 2017-01-19 00:00:33 +01:00
mikeller
5e45ec3293 Renamed 'serial_cli' and 'fc_main'. 2017-01-11 23:22:03 +13:00
Martin Budden
d8faab6539 Minor optimisations to PIDLOOP 2017-01-08 11:50:43 +00:00
borisbstyle
b5d1ef779c More readable horizonlevelStrength 2016-12-31 02:00:49 +01:00
borisbstyle
6114e4a42d Fix Level mode angle calculation // refactor cli angle parameters 2016-12-31 01:40:48 +01:00