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

14003 commits

Author SHA1 Message Date
haslinghuis
aa185860e8
Merge pull request #11757 from ctzsnooze/GPS_rescue_refactor
Consistent Minimum satellite count, GPS Trust focusing more on Baro
2022-09-08 15:49:28 +02:00
phobos-
4ca3b9428f Review comment fixes 2022-09-07 14:41:36 +02:00
phobos-
9d70ed5079 Update cms status string during processing 2022-09-07 14:41:36 +02:00
phobos-
f10413392b VtxDevice over msp 2022-09-07 14:41:36 +02:00
phobos-
00203a98e2 Aligned rate indexing 2022-09-07 14:35:00 +02:00
phobos-
fb2afd4c5b Review comment fixes 2022-09-07 14:35:00 +02:00
phobos-
185a94384c Added CE domain with reduced telemetry power 2022-09-07 14:35:00 +02:00
Bryan Mayland
545caf2908 Update ELRS timer FreqOffset on slot 1 2022-09-07 14:35:00 +02:00
phobos-
392ebdcdf4 Cosmetics and fixed tests 2022-09-07 14:35:00 +02:00
phobos-
7a23793c16 Fix for FHSS hopping where freq_count is a power of 2 2022-09-07 14:35:00 +02:00
phobos-
9e5fb3fe88 XOR major version number with crcInitializer and macSeed 2022-09-07 14:35:00 +02:00
phobos-
9cd992e7d1 Changed 50Hz LoRa params to SF8 CR LI 4/7 2022-09-07 14:35:00 +02:00
phobos-
e9d7fe4445 SNR telemetry changes 2022-09-07 14:35:00 +02:00
phobos-
8e4f6e0021 Fix slow TLMBoost causing TX->RX MSP timeouts 2022-09-07 14:35:00 +02:00
phobos-
7ca3033279 Fullres channels 2022-09-07 14:35:00 +02:00
phobos-
931a0ffecb Switched Frequency table to dynamicly calcualted 2022-09-07 14:35:00 +02:00
phobos-
63e7ccbc9a Race and STD telemetry modes 2022-09-07 14:35:00 +02:00
J Blackman
e45afb3a76
Merge pull request #11814 from ctzsnooze/Fix-DJI-OSD-heading-indicator-for-4.4 2022-09-07 12:23:01 +10: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
J Blackman
9dc2f127b8
Merge pull request #11775 from ctzsnooze/Refactor-Barometer-as-floats-with-PT3-smoothing 2022-09-07 09:20:05 +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
haslinghuis
0cab176f93
Merge pull request #11242 from daleckystepan/ghst-msp
Ghost MSP support
2022-09-02 03:12:44 +02:00
ctzsnooze
8f29388546 Maintain previous MSP GPS Heading resolution 2022-08-31 09:06:53 +10:00
Hugo Chiang
0088eb5f21 switch case cleanup
Co-Authored-By: Petr Ledvina <ledvinap@gmail.com>
Co-Authored-By: haslinghuis <mark@numloq.nl>
2022-08-30 07:04:55 +08: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
c8a6f2a60c
Merge pull request #11801 from howels/MSP_CRAFTNAME-lengthfix
Lower max CraftName length to avoid ugly truncation errors
2022-08-22 20:45:24 +02:00
ctzsnooze
db528ccc8f Restore iTerm Windup to all axes, active by default 2022-08-22 10:03:55 +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
howels
07f882aed1 Lower max CraftName length to avoid inadvertent data loss 2022-08-16 12:17:56 +01:00
Štěpán Dalecký
7cf54fc2f1 Ghost MSP support 2022-08-15 18:59:44 +02:00
Brian White
cf045be4a7 allow dyn_notch_min_Hz as low as 20Hz 2022-08-14 07:31:06 -04:00
Mark Haslinghuis
f7547192b1 Move TPA to PID profile 2022-08-08 00:07:21 +02:00
Mark Haslinghuis
4614fb2957 Raise PID profile count 2022-08-05 23:42:49 +02:00
J Blackman
2bb3fef844
Merge pull request #11761 from SteveCEvans/semicolon
Remove superfluous double ;
2022-08-05 08:28:20 +10: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
J Blackman
2a827d594f
Merge pull request #11740 from SteveCEvans/baro_sleep 2022-07-29 07:27:58 +10:00
haslinghuis
3c4a23ef55
Merge pull request #11764 from SteveCEvans/fix_spi_frsky
Backout unintended change impacting F7
2022-07-28 21:39:42 +02:00
Steve Evans
62e0de03b5 Backup inuntended change impacting F7 2022-07-26 03:01:29 +01: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
Steve Evans
aa833b2b2f Simplify cliWriter structure definition as use of uint8_t data[] (flexible array member) at the end of the bufWriter_t structure is breaking the F411 build 2022-07-24 16:15:51 +01:00
Steve Evans
cf3615938b Remove superfluous double ; 2022-07-24 14:49:35 +01:00
Steve Evans
a3a3b74fd5 Refactor USB serial ring buffer code 2022-07-24 10:42:30 +01:00
Roy van der Veen
d861d72c81 Implement battery continuation using persistent stats and popup menu functionality 2022-07-19 22:50:01 +02:00
Steve Evans
8b258bc2ad Revert b6e2790f as this broke FrSky SPI 2022-07-19 21:11:14 +01:00
Steve Evans
39ed8be141 Don't set sleepTime to ut_delay in BARO_STATE_PRESSURE_SAMPLE state 2022-07-14 21:19:59 +01:00
J Blackman
2615645f52
Merge pull request #11719 from mluessi/ml_flashfs_erase_async_pr 2022-07-12 14:32:20 +10:00
blckmn
bc0fc26479 - Adding nightly build at 1am UTC
- Updating cache for tool chain
- Using 10.3 as the build chain, due to bug in 11.2 -> https://bugs.linaro.org/show_bug.cgi?id=5825.
- No inlining to prevent over flow. Perhaps other calls represent better choices.
2022-07-11 17:18:43 +10:00
J Blackman
e65c4bcb9f
Merge branch 'master' into bump_clang_version 2022-07-11 09:54:47 +10:00