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

339 commits

Author SHA1 Message Date
haslinghuis
61c17a9ca8
Merge pull request #11783 from phobos-/elrs-3
ExpressLRS 3.0 compatibility mode
2022-09-11 23:05:15 +02:00
phobos-
185a94384c Added CE domain with reduced telemetry power 2022-09-07 14:35:00 +02:00
phobos-
7ca3033279 Fullres channels 2022-09-07 14:35:00 +02:00
ctzsnooze
09ee27cd97 Refactor sat count checks and GPS trust code
single minimum GPS satellite setting
single required GPS satellite setting
CLI Baro vs GPS trust user interface
GPS trust refactoring
allow arming with GPS_FIX even if not enough sats
required sats must be present to arm
set required sat count to 8
add blackbox headers
2022-09-07 09:55:35 +10:00
ctzsnooze
b2241b32c3 Refactor Baro to floats, filter at position rate
convert pressure to altitude early
remove median filter
PT2 filtering upsampled to altitude function in position.c - thanks KarateBrot
baro task synced to position task - thanks Steve
PT2 implementation - thanks KarateBrot
ground altitude from filtered altitude
baro cali by average of calibration samples over cal period
adjust vario and smoothing defaults
don't say haveBaroAlt until cal is complete
reduce PIDs since Baro is faster
add baro smoothing values to blackbox header

Co-Authored-By: Jan Post <post@stud.tu-darmstadt.de>
Co-Authored-By: Steve Evans <SteveCEvans@users.noreply.github.com>
2022-09-02 14:38:40 +10:00
J Blackman
21594c62e1
Merge pull request #11756 from ctzsnooze/GPS-rescue-Ublox-fix-landing-fix-LevelMode-offsets 2022-08-27 20:28:34 +10:00
ctzsnooze
a6507c02d9 GPS Rescue refactoring and landing improvements
- run Ublox GPS units at 10Hz
- Bugfix for level mode offset after a rescue (force gpsRescueAngle[] to zero while idle)
- Bugfix for entering landing mode too high, (ignore landing distance, enter landing mode only on height criteria)
- Remove landing distance.
- Default GPS mode to UBlox, not NMEA
- refactor idle tasks
- don't keep setting targetVelocityCmS to current velocity since it will be set to zero when rotating anyway
- remove unused velocityToHomeCmS
- remove unused max distance to home value
- log current altitude at 100hz in throttle_pid debug
- share the sanity timer code
- fix bug where yaw error should have been absolute
- remove unused code
- refactor rescue phases so intent values are not repeatedly set
- refactor the rescue modes
- fix bug that could fail to set velocity target on fly_home
- refactor to simplify pitch limits
- refactor to MAX and constrainf
- set 2m descent region to improve landing
- fade roll and pitch to zero at 2m from home
2022-08-25 19:37:13 +10:00
haslinghuis
492f933589
Merge pull request #11795 from bw1129/dyn_notch_minHz_mod
Allow dyn_notch_min_hz as low as 20Hz
2022-08-17 16:44:08 +02:00
Brian White
cf045be4a7 allow dyn_notch_min_Hz as low as 20Hz 2022-08-14 07:31:06 -04:00
howels
04994e5439 Add USE_CRAFTNAME_MSGS to insert additional data into CraftName when osd_craftname_msgs is true 2022-08-04 21:59:49 +01:00
KarateBrot
72ad1a0614 Raise upper limit of dyn_idle_min_rpm 2022-07-29 17:54:51 +02:00
ctzsnooze
6aaaf727ff update antigravity for 4.4, no boost on yaw
Update to anti-gravity, including removal of the old Step mode, ability to adjust the P contribution (thanks @Limon), PT2 smoothed derivative model, inherent limiting of P boost during extremely fast stick travels to minimise P oscillations, less I during the middle of a throttle up, no I boost on yaw, add hz to cutoff labels

No antigravity on yaw, fix longstanding typo

h
2022-07-25 11:37:07 +10:00
Štěpán Dalecký
f85ebba6a4 Refactoring of IMU and ACC 2022-06-28 18:26:10 +02:00
haslinghuis
60ac728d77
Merge pull request #11671 from limonspb/osd_stats_cli_save_flash
Save flash: Replace CLI params for OSD stats and warnings with bitmasks
2022-06-28 01:17:20 +02:00
Štěpán Dalecký
e416072662
Merge pull request #11313 from daleckystepan/bb-resolution
Blackbox increase resolution on setpoint, gyro and rounding
2022-06-26 23:57:31 +02:00
Ivan Efimov
23d8a97806 Replace CLI params for OSD stats and warnings with bitmasks 2022-06-18 00:03:45 -05:00
ctzsnooze
f7c645bfcd update GPS code 2022-06-13 09:43:52 +10:00
Ivan Efimov
7c9f938fa6 Adding CLI min for failsafe_delay (value of '2' - 0.2s) 2022-04-07 20:50:05 -05:00
haslinghuis
61f43fea9e
Merge pull request #11472 from klutvott123/crsf-baud-negotiation
Make negotiated baud configurable for CRSF
2022-03-23 00:01:35 +01:00
Hans Christian Olaussen
06bf20e79a Make negotiated baud configurable for CRSF 2022-03-20 15:32:07 +01:00
chrisrosser
a9f9477d3e update to BMI gyros to use OSR4 mode to reduce gyro lowpass filter cutoffs 2022-03-19 07:43:09 +00:00
J Blackman
3267f0417f
Merge pull request #11373 from ledvinap/patch-1
Fix position_alt_*_sats
2022-02-01 09:47:29 +11:00
Petr Ledvina
eef662c3f5
fix position_alt_*_sats
`position_alt_baro_fallback_sats` minimum must be 1 smaller than `position_alt_gps_min_sats` (altitude valid is `>=`, fallback is `<=`)
2022-01-31 16:16:51 +01:00
Ivan Efimov
ac2b8fe9c2 changed the min value for simplified filtes to 10 2022-01-30 23:02:18 -06:00
haslinghuis
c6d0937583
Merge pull request #11312 from bakwc/fixDefaultModeAltitude
Fixed wrong altitude in DEFAULT (GPS + BARO) mode
2022-01-31 00:19:37 +01:00
Filipp Bakanov
3c3cfbab72
Fixed review 2022-01-29 13:56:53 +03:00
Filipp Bakanov
674d3b1e3b
Fixed review 2022-01-29 11:48:10 +03:00
Filipp Bakanov
e19469c0ba
Fixed review 2022-01-28 21:01:11 +03:00
Filipp Bakanov
4bda34b66b
Returned back to config 2022-01-28 16:06:30 +03:00
Filipp Bakanov
ca0f25b265
Refactor 2022-01-28 15:14:29 +03:00
Filipp Bakanov
3670b7d410
Merge branch 'master' into fixDefaultModeAltitude 2022-01-28 14:06:00 +03:00
Štěpán Dalecký
352325708b Blacbox increase resolution on setpoint, gyro and rounding 2022-01-25 19:06:23 +01:00
ctzsnooze
2262dfc60e use Throttle Setpoint, not rcDATA(throttle), for TPA 2022-01-25 18:37:01 +11:00
Steve Evans
2af98ae7c8 Increase max scheduler_relax_rx and scheduler_relax_osd settings to 500 2022-01-20 02:35:02 +00:00
Steve Evans
62cb1fba1a Add scheduler_relax_rx and scheduler_relax_osd variables 2022-01-20 01:59:13 +00:00
Filipp Bakanov
dc409c29fe
Fixed wrong altitude in DEFAULT (GPS + BARO) mode 2022-01-17 17:31:06 +03:00
Štěpán Dalecký
3eed09d1f2 VTX alternative SOFTSERIAL start bit 2022-01-13 18:33:08 +01:00
Steve Evans
5ef34f79d5 Allow for HALF/NOMINAL/DOUBLE frequency of MAX7456 SPI clock 2022-01-06 01:18:17 +00:00
g3gg0
ca6c495f46 add SK6812 RGBW 4-channel LEDs, which are compatible to WS2812 except for the fourth color channel 2021-12-23 01:12:02 +01:00
phobos-
e00a3abc59 ExpressLrs v2.0.0 support 2021-12-21 17:59:47 +01:00
ctzsnooze
aa4f0f7517
Merge pull request #10972 from SteveCEvans/ledstrip_dim
Add ledstrip_brightness to control LED strip brightness by percentage
2021-12-20 10:30:59 +11:00
ctzsnooze
db242cb161
Merge pull request #11033 from SteveCEvans/late_led_strip
Fix peaky task duration estimation
2021-12-20 10:27:05 +11:00
haslinghuis
35e6e1e9c7
Merge pull request #11113 from ctzsnooze/de-duplicate-all-blackbox-names
deduplicate more blackbox names
2021-12-19 19:02:08 +01:00
Steve Evans
29d221502e Use peak tracking as default for task duration estimation rather than a moving average 2021-12-17 22:09:52 +00:00
Steve Evans
ab1baccc66 Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time 2021-12-17 15:40:01 +00:00
ctzsnooze
5ca7ea8f4b de-duplicate more blackbox names 2021-12-11 14:41:59 +11:00
haslinghuis
2a954c6203
Merge pull request #10673 from KarateBrot/sdft
Remove Dynamic Notch from "Features"
2021-12-01 23:21:05 +01:00
Hans Christian Olaussen
a6f2f6f71a Fix thrust_linear and transient_throttle_limit value type in CLI
These are per-profile values.
2021-11-27 13:26:51 +01:00
KarateBrot
450cee3e08 Removed dynamic notch from features 2021-11-10 23:03:43 +01:00
Michael Keller
38cfb164f1 Make de-duplication of strings between CLI and blackbox explicit. 2021-11-07 14:50:33 +13:00