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

17875 commits

Author SHA1 Message Date
Mathias Rasmussen
34ee2f67c9 Use lrintf to round floats to integers 2022-10-14 02:28:30 +02:00
haslinghuis
b84b8c1ca5
Merge pull request #11097 from mathiasvr/stdlib-abs
Use std abs() instead of ABS() macro
2022-10-14 00:37:29 +02:00
haslinghuis
cbbc80ee90
Merge pull request #11779 from haslinghuis/update-pidprofile
Move TPA to PID profile
2022-10-13 21:09:49 +02:00
haslinghuis
ec32baa955
Merge pull request #10789 from alexeystn/osd_aux_channel
Add AUX channel value to OSD (e.g. for Pilot's Heart Rate)
2022-10-13 21:07:40 +02:00
haslinghuis
c978fb75fe
Merge pull request #11883 from SteveCEvans/force_dma
Use SPI DMA for single segments if negateCS false on end marker
2022-10-13 15:23:53 +02:00
J Blackman
287f9c4e27
Merge pull request #11885 from blckmn/unified 2022-10-13 20:45:02 +11:00
blckmn
08c5746ebc Removing all legacy targets (in favour of cloud build, and embedded config). 2022-10-13 16:34:21 +11:00
blckmn
8651404f00 Additional settings removed for cloud_build 2022-10-13 16:30:24 +11:00
blckmn
09beb47b6d Populate unified targets as separate target folders
- note target folder is essentially the "platform" folder now.
2022-10-13 16:30:24 +11:00
haslinghuis
a0e3eb5ce7
Merge pull request #11878 from tbolin/ag_antiwindup_fix
Make anti-windup affect the gain from Anti Gravity
2022-10-13 04:15:37 +02:00
KarateBrot
ddf1d46549 Remove old style definitions 2022-10-13 03:33:54 +02:00
Tobias Bolin
2bdb660d56 Add test for anti-windup affecting Anti Gravity gain 2022-10-12 21:58:43 +02:00
Tobias Bolin
c61efe1e2e Make Anti-windup affect anti gravity coefficient 2022-10-12 21:58:43 +02:00
Jan Post
5ca47fed6d
Merge pull request #11190 from mathiasvr/pr-arraylen
Use ARRAYLEN macro where applicable
2022-10-12 19:55:46 +02:00
Mathias Rasmussen
61ded491cd Use std abs() instead of ABS() macro
Changes uses of ABS() macro to <stdlib.h> abs() and <math.h> fabsf()
2022-10-12 19:49:03 +02:00
Jan Post
b54174c77e
Merge pull request #11195 from mathiasvr/pr-elrs-clean
ExpressLRS: Minor style fix and clean up
2022-10-12 19:31:38 +02:00
Jan Post
591acb625d
Merge pull request #11191 from mathiasvr/pr-function-brace-style
Fix function brace style
2022-10-12 19:28:11 +02:00
Mathias Rasmussen
4e8f866e9d ExpressLRS: Minor style fix and clean up 2022-10-12 16:42:20 +02:00
Mathias Rasmussen
9957ceb275 Fix function brace style 2022-10-12 16:31:55 +02:00
Steve Evans
154c745b66 Use SPI DMA for single segments if negateCS false on end marker 2022-10-12 12:53:46 +01:00
Mathias Rasmussen
90e792e243 Use ARRAYLEN macro where applicable 2022-10-12 13:14:51 +02:00
J Blackman
6a06f0e408
Merge pull request #11869 from McGiverGim/update_github_actions
Update Github actions version
2022-10-11 07:21:38 +11:00
KarateBrot
9cafe31b31 ICM-426xx AAF bugfix 2022-10-10 03:01:37 +02:00
ctzsnooze
8462dd1bea
Merge pull request #11872 from klutvott123/fix-cms-anti-gravity
Fix CMS anti gravity gain
2022-10-09 11:34:19 +11:00
haslinghuis
f33a0f5322
Merge pull request #11873 from klutvott123/fix-msp-comment
Fix MSP removed parameter comment
2022-10-08 02:08:38 +02:00
haslinghuis
7dd27eb9d9
Merge pull request #11867 from Quick-Flash/smooth-airmode-off-to-on-transition
Ensure that airmode off to on always has a smooth transition
2022-10-07 23:15:13 +02:00
Hans Christian Olaussen
e90e850378 Fix CMS anti gravity gain 2022-10-07 14:26:34 +02:00
Kevin Plaizier
a2a5f596fb
use constrainf instead of nexted else statement
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2022-10-06 18:15:42 -06:00
Hans Christian Olaussen
78ba4ec863 Fix MSP removed parameter comment 2022-10-06 20:07:41 +02:00
Kevin Plaizier
7ba88137e7 Ensure that airmode off to on always has a smooth transition
Ensure that non legacy mixer types also function as expected.

Also lay the groundwork for an airmode strength setting.

Add const before some values

all mixer types working as expected
2022-10-06 10:46:45 -06:00
J Blackman
813a02cb86
Merge pull request #11866 from KarateBrot/42688
Enhancements for ICM-426xx (gyro and acc)
2022-10-06 12:10:11 +11:00
Miguel Angel Mulero Martinez
cdb401cf00 Update Github actions version 2022-10-05 15:17:30 +02:00
haslinghuis
5403e41c15
Merge pull request #11851 from damosvil/fix/edt_on_f411
Defer DSHOT telemetry calculations to avoid overload on F411 MCUs
2022-10-05 02:28:14 +02:00
Alexey Stankevich
3984dd9e39 Rebase to master 2022-10-04 22:43:07 +03:00
KarateBrot
3a0aea85ab Make ICM-426xx AAF configurable 2022-10-04 19:13:57 +02:00
Jan Post
ce0a311268
Merge pull request #11862 from McGiverGim/remove_scheduled_nightly
Remove scheduled nightly
2022-10-03 01:12:58 +02:00
Jan Post
12546dc782
Merge pull request #11863 from McGiverGim/move_azure_badge_action
Move Azure badge to Github Action badge
2022-10-03 01:10:53 +02:00
Jan Post
baf2344f9a
Merge pull request #11864 from SteveCEvans/msp_dp_defs
Add MSP displayport sub-command definitions
2022-10-03 01:09:28 +02:00
Steve Evans
c2b105486e Add display port sub-command definitions 2022-10-02 13:55:57 +01:00
Miguel Angel Mulero Martinez
0ea04487e0 Move Azure badge to Github Action badge 2022-10-02 09:13:18 +02:00
Miguel Angel Mulero Martinez
ff27685f83 Remove scheduled nightly
we are launching it with each merge to master so it's not necessary.
2022-10-02 09:05:57 +02:00
J Blackman
44f70421e6
Merge pull request #11841 from ctzsnooze/fixes-for-GpsRescue-maxAlt,-GPS-Trust,-calibration 2022-10-02 09:56:25 +11:00
iso9660
ccdccbf8a9 Removed all motors telemetry calculations to avoid extended dshot telemetry overhead
Basic DSHOT telemetry restablished again

Implemented new mechanism to activate EDT. The old mechanism no longer works

Added dshot_edt configuration parameter to enable edt. Parameter is OFF by default

Only send DSHOT edt enable in core.c::tryArm if dshot_edt=ON

Fixed review findings
2022-10-01 09:53:02 +02:00
SugarK
35b4e33b9a
Merge pull request #11857 from Quick-Flash/fix-airmode
Fix the normal airmode mixer
2022-10-01 00:14:06 +10:00
haslinghuis
c37fe1ff07
Merge pull request #11850 from blckmn/cloud_build
CLOUD_BUILD enablement. Supporting the use of a cloud build server.
2022-09-28 00:56:06 +02:00
Kevin Plaizier
c533990d6a Fix the normal airmode mixer
https://github.com/betaflight/betaflight/issues/11854 Should fix this. Didn't realize that it was actually possible for it to somewhat act wrong.
2022-09-27 01:21:23 -06:00
ctzsnooze
cbd374590a fixes for maxAlt, gpsTrust, sanity checks
fixes indefinite climb in max_alt mode
fixes altitude control issues when baro_hardware was disabled
fixes an error causing GPS trust to not calculate the baro factor correctly
attenuates rescue velocity_i correctly when descending
fixes velocity Iterm attenuation when close to home
logs the final GPS trust value
allow a little pitch and roll when landing
improves disarm by detecting ground effect
use floats for smoothness
refactor and simplify yaw
re-name idleTasks to setReturnAltitude
descend in level mode when sanity checks abort, rather than disarming immediately
PT3 filtering on upsampled pitch angle instead of pitch angle rate of change limiter
remove velocity attenuation when not pointing to home
allow some roll and pitch in landing phase to counter drift
include sanity check on altitude gain in climb phase
include check for 3D fix in min sats sanity check
acquire pitch and roll more smoothly when they commence
simple smoothing of baro while disarmed for better zero
re-name fields
2022-09-27 13:28:36 +10:00
J Blackman
d72f18fb3f
Merge pull request #11806 from ctzsnooze/Restore-iTerm-Windup-for-all-axes
Restore iTerm Windup to all axes, active by default
2022-09-27 08:42:55 +10:00
J Blackman
f65317324d
Merge pull request #11847 from damosvil/fix/edt_cleanup_upon_tryArm
Fix for old telemetry sent to RPM filter during a re-arming sequence
2022-09-27 08:42:27 +10:00
blckmn
f165a65ef8 If CLOUD_BUILD is defined then certain items are now activated by options 2022-09-25 11:43:35 +10:00