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

313 commits

Author SHA1 Message Date
Martin Budden
34161298fb Combined PID LPF filters into a union 2017-07-30 13:39:31 +01:00
Martin Budden
d180266f7d Improved rx, failsafe and pid structure alignments 2017-07-29 17:35:43 +01:00
Vidalcris
69f4008944 Crash Recovery Delay - Against false positive. (#3640)
Delay detection setting - crash_delay added.
2017-07-29 06:37:02 +01:00
Martin Budden
c1f74c9aed Tidy of pid code 2017-07-27 09:57:02 +01:00
Vidalcris
3298c3d641 Update pid.c
added verification that the quad is armed to detect crash (thanks @martinbudden ;) )
2017-07-23 14:14:47 +02:00
Vidalcris
c4f3a6101d Update pid.c 2017-07-23 13:54:22 +02:00
Vidalcris
4546372dac Update pid.c
To solve the problem where the quad is stuck in crashrecoverymode because he is stuck on the floor :)
2017-07-23 13:49:37 +02:00
Martin Budden
20f0a40f96 Updated crash thresholds 2017-07-23 10:26:06 +01:00
Martin Budden
1ee034c38a Added setpoint check to crash detection 2017-07-23 07:10:14 +01:00
Martin Budden
8deca6870c Updated crash recovery params 2017-07-22 08:26:39 +01:00
Martin Budden
3a179f80e6 Update PG versions 2017-07-19 13:00:49 +01:00
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