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

17604 commits

Author SHA1 Message Date
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
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
haslinghuis
2f7dffe5be
Merge pull request #11793 from MARCO-EMC/patch-1
Update README.md
2022-08-22 13:33:32 +02: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
Brian White
cf045be4a7 allow dyn_notch_min_Hz as low as 20Hz 2022-08-14 07:31:06 -04:00
marco
5bb04267dc
Update README.md
Add Traditional Chinese to README.md
2022-08-12 03:14:35 +01:00
J Blackman
60fe04a885
Merge pull request #11776 from blckmn/automated_build 2022-08-06 16:05:13 +10:00
blckmn
fdad0180cc Adjusting .gitignore for automated build scratch space. 2022-08-05 16:15:02 +10:00
J Blackman
2bb3fef844
Merge pull request #11761 from SteveCEvans/semicolon
Remove superfluous double ;
2022-08-05 08:28:20 +10:00
J Blackman
941c203d82
Merge pull request #11771 from howels/MSP_CRAFTNAME_HACK
Add OSD_CRAFTNAME_HACK to insert additional data into CraftName
2022-08-05 08:22:24 +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
J Blackman
d1bf5db33e
Merge pull request #11769 from KarateBrot/dynIdleMin 2022-07-30 20:19:45 +10: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
haslinghuis
e91bec6df4
Merge pull request #11679 from ctzsnooze/AGV4
update antigravity for 4.4
2022-07-25 09:19:56 +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
haslinghuis
4fa4d4851e
Merge pull request #11750 from SteveCEvans/fix_spi_frsky
Revert b6e2790f as this broke FrSky SPI
2022-07-24 23:41:43 +02: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
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
haslinghuis
1f821b6d56
Merge pull request #11734 from haslinghuis/fix-gcc-required-version
Fix gcc required subversion
2022-07-14 00:32:09 +02:00
Mark Haslinghuis
683688c05d Fix gcc required subversion 2022-07-12 14:12:23 +02:00
J Blackman
2615645f52
Merge pull request #11719 from mluessi/ml_flashfs_erase_async_pr 2022-07-12 14:32:20 +10:00
J Blackman
1343a616cd
Merge pull request #11732 from betaflight/blckmn-patch-1
Update nightly.yml to perform the release (Bugfix)
2022-07-12 08:45:46 +10:00
J Blackman
b59204acb5
Update nightly.yml to perform the release (Bugfix) 2022-07-12 08:45:31 +10:00
J Blackman
359b948d0f
Merge pull request #11723 from blckmn/github_actions
Move to Github Actions for PRs
2022-07-12 07:33:18 +10:00
blckmn
86992e91a9 Adding to generate release on every merge. 2022-07-11 17:33:48 +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
blckmn
005299f085 Move to Github Actions for PRs 2022-07-11 10:27:52 +10:00
J Blackman
c8a75bf6d8
Merge pull request #11581 from haslinghuis/bump_clang_version
Bump clang version
2022-07-11 10:26:51 +10:00
J Blackman
c2ed48a642
Update ci.yml
Moving all distributions to 22.04
2022-07-11 09:55:41 +10:00
J Blackman
e65c4bcb9f
Merge branch 'master' into bump_clang_version 2022-07-11 09:54:47 +10:00
J Blackman
a100e68dbc
Merge pull request #11680 from haslinghuis/update-arm-sdk
Update ARM SDK to 11.2-2022
2022-07-11 09:53:00 +10:00
J Blackman
89a77cb80f
Merge pull request #11184 from daleckystepan/fix-cli-unittest
Fix cli unit test on Clang 13
2022-07-11 09:45:53 +10:00
J Blackman
d35f15a25d
Merge pull request #11713 from daleckystepan/cdc-fix
Fix data overwriting in VCP_DataTx on F4
2022-07-11 09:44:41 +10:00
J Blackman
26a8bb8f39
Merge pull request #11132 from mathiasvr/github-action-build
Use GitHub Actions for CI
2022-07-10 15:39:30 +10:00
J Blackman
c9f49ada4c
Merge pull request #11721 from KarateBrot/d_lpf
Fix debug mode D_LPF
2022-07-10 15:31:46 +10:00
KarateBrot
0186a7b88d Fix debug mode D_LPF 2022-07-09 03:59:16 +02:00
J Blackman
8a7bf514d6
Update .github/workflows/ci.yml
Co-authored-by: haslinghuis <mark@numloq.nl>
2022-07-08 23:55:59 +10:00
Martin Luessi
f3464d90cc Flashfs: Add support for asynchronous complete erase 2022-07-08 06:48:56 -07:00
J Blackman
ea7807c5f5
Merge pull request #11672 from RoarFPV/issues/11424
Make sure to write dshot stop cmd to all other motors when targeting …
2022-07-08 15:26:51 +10:00
J Blackman
9ffd2df497
Update ci.yml 2022-07-08 15:03:33 +10:00
J Blackman
551808c12c
Update ci.yml 2022-07-08 15:02:12 +10:00