1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00
Commit graph

14338 commits

Author SHA1 Message Date
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
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
KarateBrot
0186a7b88d Fix debug mode D_LPF 2022-07-09 03:59:16 +02: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
2e0a5057af
Merge pull request #11707 from SteveCEvans/unified_bmi160
Add support for BMI160 gyro for unified targets where TARGET_FLASH_SIZE > 512
2022-07-06 13:59:31 +10:00
haslinghuis
73934cccc0
Merge pull request #11032 from daleckystepan/gcc10
Support for GCC 11.2.1
2022-07-06 02:41:14 +02:00
Štěpán Dalecký
b6e2790f15 Fix CDC_Send_FreeBytes 2022-07-06 01:00:36 +02:00
haslinghuis
8232c9144c
Merge pull request #11708 from haslinghuis/change_rx_feature_default
Change DEFAULT_RX_FEATURE
2022-07-05 21:30:59 +02:00
J Blackman
4339e4ffd6
Merge pull request #11716 from daleckystepan/fix-mcu-types
Fix mcu types
2022-07-05 12:46:35 +10:00
haslinghuis
86bd708e4c
Merge pull request #11699 from blckmn/remove_opbl
Removing OPBL support.
2022-07-04 15:01:06 +02:00
Štěpán Dalecký
6e04a6bdc3 Fix cpu type in status CLI command 2022-07-03 21:51:33 +02:00
Steve Evans
bbf8c6556b Gyro/acc data is signed 2022-07-01 22:50:00 +01:00
Mark Haslinghuis
d9ac2ab3aa Bump clang version 2022-07-01 03:23:55 +02:00
Mark Haslinghuis
563f2bdb3c Change DEFAULT_RX_FEATURE 2022-06-30 22:22:46 +02:00