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

19071 commits

Author SHA1 Message Date
demvlad
bbb348575e Resolved wrong pitch stick sign issue 2025-04-21 21:17:41 +03:00
demvlad
c764c1f093 resolved missing 0.01 in cross roll-yaw control formula 2025-04-19 21:02:05 +03:00
demvlad
b95e336c0a Added roll to yaw cross link control to improve roll rotation on high angle of attack 2025-04-19 19:48:24 +03:00
demvlad
ae1ff951df AFCS AoA limiter code refactoring 2025-04-19 18:12:38 +03:00
Jay Blackman
d6219861fb
REFACTOR: Remove unused drivers/dma.c file (#14346)
Remove unused drivers/dma.c file
2025-04-19 12:31:15 +02:00
Vladimir Demidov
4ce36d7cd9
Code style improvement
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-04-18 23:15:15 +03:00
Vladimir Demidov
ac8fe74a5d
Code style improvement
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-04-18 23:15:01 +03:00
demvlad
56cc9f914c Added license in airplane_fcs.* files 2025-04-18 20:21:18 +03:00
demvlad
048ccc0045 Added checking angle of attack limiter valid work conditions 2025-04-18 14:53:53 +03:00
Git bot (blckmn)
8657a6ae12 Auto updated submodule references [18-04-2025] 2025-04-18 06:25:02 +00:00
demvlad
ff5cf0673d Added servo velocity limit 2025-04-18 08:42:46 +03:00
demvlad
a0fc8fa6dd AFCS code refactoring 2025-04-17 14:29:22 +03:00
demvlad
01728927d8 Added angle of attack limiter by using of aerodynamics lift force coefficient 2025-04-17 13:28:52 +03:00
Git bot (blckmn)
22f8b1b2b3 Auto updated submodule references [17-04-2025] 2025-04-17 06:25:03 +00:00
demvlad
72dfefc1f8 Added accel Z astatic regulator into pitch channel 2025-04-17 08:01:02 +03:00
demvlad
e4c09603ad added AFCS_DEBUG for airplane flight control system 2025-04-17 08:01:02 +03:00
demvlad
5af1941ad8 afcs filters settings are changed from delay time to cut freq 2025-04-17 08:01:02 +03:00
demvlad
5513c359a6 AFCS code refactoring 2025-04-17 08:01:02 +03:00
demvlad
125cb1f4cc Added non PID airplane flight control system (AFCS) as special flight mode for airplanes 2025-04-17 08:01:02 +03:00
Git bot (blckmn)
f336df392e Auto updated submodule references [16-04-2025] 2025-04-16 06:25:03 +00:00
Alex Klimaj
9eb7d1920b
STM32H7 add UART4 pins (#14341)
* stm32h7: add uart4 ph13 and ph14

* stm32h7: increase UARTHARDWARE_MAX_PINS

* Update src/platform/STM32/serial_uart_stm32h7xx.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

* Update src/platform/STM32/serial_uart_stm32h7xx.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-04-15 12:15:15 +02:00
Git bot (blckmn)
9f18593be7 Auto updated submodule references [15-04-2025] 2025-04-15 06:25:03 +00:00
Git bot (blckmn)
2b1566b2f0 Auto updated submodule references [12-04-2025] 2025-04-12 06:25:03 +00:00
Steve Evans
9e73f08e34
Properly handle USE_BARO_LPS22DF (#14340) 2025-04-12 08:00:03 +02:00
Thisas
38007f8b59
Fix SITL for MacOS M1 (#14284)
* Fix SITL for MacOS M1

* move macos m1 SITL fix into SITL.mk and extract warnings flags from cflags into WARNING_FLAGS varible

* add back -Werror

* add warning about potencial issues with PG on SITL builds for MacOS apple silicon

* removed override and added CFLAGS_DISABLED and OPTIMISATION_DISABLED

* change OPTIMISATION_DISABLED to OPTIMISATIONS_DISABLED and also use it for CC_DEBUG_OPTIMISATION

* fix building useless hex

* copy instead of move

* clean new artifacts from SITL

* fix clean

* fix issue where in SITL_STATIC will build properly

* building static does not seem to work on macos

* building static does not seem to work on macos

* building static is not possible on macos

* fix issue where make TARGET=SITL still builds hex

* Move everything to CFLAGS_DISABLED and use else if chaning

* add SITL to CI_TARGETS

* add rev to SITL

* add changes suggested by ledvinap

* Update Makefile

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/platform/SIMULATOR/mk/SITL.mk

* Add EXE_TARGET_REVISION

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-04-11 20:13:09 +02:00
Git bot (blckmn)
21dec1d764 Auto updated submodule references [11-04-2025] 2025-04-11 06:25:03 +00:00
hhhh hgfh
b2c939e899
Add Launch Timer (#14332)
* feat: add launch timer to osd timer type

* fix: fix code style

* Update src/main/osd/osd.c

fix: code style

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/main/osd/osd.c

fix: adding a comma after "LAUNCH TIME"

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Update src/main/osd/osd.c

fix: added free space

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Update src/main/osd/osd.h

fix: added free space after declaration

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Update src/main/osd/osd.c

fix: added timer reset when switching to LAUNCH mode again

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2025-04-10 23:31:06 +02:00
Marc Frank
4ae22e9f8e
hover point throttle curve adjustment (#14229)
* hover point throttle curve adjustment

* Update src/main/fc/rc.c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/main/fc/rc.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

* Update src/main/fc/rc.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

* refactor lookup calculation and move hover to end of controlRateConfig_s struct

* moved sbufReadU8 to the bottom

* added sbufBytesRemaining check

* update controlRateProfile version from 6 to 7

* moved thrHover8 declaration position

* revert variable declaration position change

* fixed tests

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-04-10 14:39:36 +02:00
LiuYongNan
fd3a131797
fix rtc6705 drive (#14296)
* fix rtc6705 drive

* Update rt6705 request suggestion
2025-04-09 15:25:27 +02:00
Git bot (blckmn)
609533a737 Auto updated submodule references [09-04-2025] 2025-04-09 06:25:03 +00:00
Jay Blackman
d9f418dd06
Jetiexbus -> function unused without GPS enabled. (#14336) 2025-04-08 19:25:14 +02:00
blckmn
e036384bc1 PICO: Minor clean up of possible unused functions. 2025-04-08 07:48:57 +10:00
Mark Haslinghuis
c55d7c5c31
Revert GPS flight model change (#14333) 2025-04-07 01:27:02 +02:00
Git bot (blckmn)
eb36e9e11a Auto updated submodule references [05-04-2025] 2025-04-05 06:25:03 +00:00
blckmn
0eab2f46d3 Merge branch 'master' into RP2350 2025-04-05 13:50:36 +11:00
blckmn
623eb5682d PICO: jetiexbus -> function unused without GPS enabled. 2025-04-05 13:14:00 +11:00
blckmn
0b376bff50 PICO: Further implementation of DMA / SPI 2025-04-05 13:13:23 +11:00
Vladimir Demidov
df2e99b953
Added virtual blackbox for SITL (#14325)
* Added virtual black box for SITL

* Update src/main/blackbox/blackbox_virtual.c

The platform.h is added into blackbox_virtual,c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Virtual blackbox code style improvement

* Resolved issue of log files counter

* Added logs file name length checking in virtual blackbox

* Added open directory function result checking

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Added computing of const log file neme length

* Improved virtual blackbox file name generation

* Edited errors description in case of using virtual blackbox for non SITL build

* Removed extra #ifdef

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Apply USE_BLACKBOX, USE_BLACKBOX_VIRTUAL define for SITL build

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Code style improvement

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

* Added USE_BLACKBOX_VIRTUAL checking for #error message

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2025-04-04 21:57:44 +02:00
Git bot (blckmn)
088620ce35 Auto updated submodule references [03-04-2025] 2025-04-03 06:25:03 +00:00
Mark Haslinghuis
ab5449c9b1
Add PB0 to AT32 SPI3 mosi pins (#14324) 2025-04-03 04:16:36 +11:00
Git bot (blckmn)
472cc2b84a Auto updated submodule references [02-04-2025] 2025-04-02 06:25:03 +00:00
blckmn
add56ec155 FIX: Merge issue with PWM motors 2025-04-01 22:34:04 +11:00
blckmn
8f4ec7c331 Merge branch 'master' into pico_spi 2025-04-01 22:26:50 +11:00
blckmn
881633705d Prep for master merge 2025-04-01 22:26:29 +11:00
blckmn
bfdf41cddb PICO: Initial SPI 2025-04-01 22:21:53 +11:00
Jay Blackman
1d3c661c06
REFACTOR: Moving platform specific DMA code to include/platform (#14320)
* REFACTOR: Moving platform specific DMA code to include/platform

* Cleanup
2025-04-01 22:17:25 +11:00
Git bot (blckmn)
107bab5ed3 Auto updated submodule references [01-04-2025] 2025-04-01 06:25:03 +00:00
Jay Blackman
268952eeb5
Adding simplified timer calls for enabling ESC Serial and Soft Serial for AT32 (#14228) 2025-03-28 21:31:30 +11:00
AJ
06844745f6
fix: missing sitl motor count (#14319)
- other platforms set it, sitl does not and configurator complains
2025-03-27 08:25:24 +11:00
ke deng
ad58b69c20
Add NULL check for vTable->decodeTelemetry (#14321) 2025-03-26 22:20:53 +01:00