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

12821 commits

Author SHA1 Message Date
azolyoung
6bc6c36116 fix error of unittest 2018-09-21 17:00:47 +08:00
jflyper
768d7c126a Remove stale RCC refs 2018-09-21 16:24:12 +09:00
azolyoug
ba53fbddd5 fix rcdevice can't work 2018-09-21 14:28:11 +08:00
Thomas Miric
b38ae4148e The GPS data will not be transmitted until the sensor(SENSOR_GPS) is not valid
...and corrected code formating.
2018-09-20 19:09:55 +02:00
Kevin
8e5bd7fc71 Fix blackbox unit test. 2018-09-20 15:35:50 +02:00
jflyper
8d7aa83339 Remove outdated ws2811 defs 2018-09-20 21:33:47 +09:00
Michael Keller
ec8d363adb
Merge pull request #6748 from borisbstyle/fix_ITERM_RELAX_RP_INC_bug
Improved pid_unittests
2018-09-21 00:13:49 +12:00
Kevin
836417bce2 Fix rssi logging. 2018-09-20 13:53:04 +02:00
Michael Keller
83c3020585
Merge pull request #6801 from jflyper/bfdev-cleanup-bogus-dma-defs
Delete outdated or bogus DMA related defs
2018-09-20 23:39:51 +12:00
Michael Keller
d32887c1e9
Merge pull request #6797 from mikeller/make_cli_errors_consistent
Made CLI error messages consistent.
2018-09-20 23:17:41 +12:00
Michael Keller
2a529c8119
Merge pull request #6514 from bforbort/LIS3MDL
Add support for ST LIS3MDL MEMS Magnetometer
2018-09-20 22:54:58 +12:00
Michael Keller
d88428fda7
Merge pull request #6790 from githubDLG/master
CrazyBee F3 target update
2018-09-20 22:38:23 +12:00
jflyper
35e8ffb156 Delete outdated or bogus dma related defs 2018-09-20 18:15:09 +09:00
Michael Keller
b057ce550d
Merge pull request #6798 from etracer65/3d_deadband_fix
Fix zero throttle deadband when using switched 3D modes
2018-09-20 20:58:00 +12:00
Michael Keller
b43c6ca73b
Merge pull request #6796 from etracer65/adjustment_range_optimize
Optimize in-flight adjustments to only process configured ranges
2018-09-20 20:51:21 +12:00
timman2er
ef17d7fc31 add max esc temp and rpm to osd 2018-09-20 10:15:00 +02:00
Michael Keller
78265dfe19
Merge pull request #6794 from mikeller/fix_changed_defines
Fixed changed defines.
2018-09-20 20:15:00 +12:00
jflyper
e92b2a9626 Remove USE_USB_MSC_BUTTON_IPU. MSC_BUTTON_IPU to default true. 2018-09-20 16:38:49 +09:00
Blaine
13463e63df Cleanup 2018-09-19 21:56:50 -07:00
Blaine
5a237436e2 Removed LIS3MDL from Microscisky and Revo targets 2018-09-19 21:48:37 -07:00
Blaine
e4e9dc6507 Remove LIS3MDL from < F4 targets 2018-09-19 21:43:34 -07:00
githubDLG
54e90c2569 update target.h
update target.h according to review comments
2018-09-20 11:03:21 +08:00
jflyper
9690f37b46 Handle NULL SPI instance before calling spiBusSetInstance 2018-09-19 22:27:00 +09:00
Michael Keller
e2d2fc2c64
Merge pull request #6800 from DieHertz/bfdev-add-spracingf7dual-camera-control
Added long-standing camera control pin on the SPRF7DUAL
2018-09-20 00:21:28 +12:00
Andrey Mironov
af20dee449 Amend USED_TIMERS 2018-09-19 12:31:51 +03:00
Andrey Mironov
b2d9b213f4 Added long-standing camera control pin on the SPRF7DUAL 2018-09-19 10:34:06 +03:00
borisbstyle
2d68e9c387
Merge pull request #6793 from etracer65/crsf_telem_gps_speed_fix
Fix CRSF telmetry GPS speed calculation
2018-09-19 09:32:32 +02:00
borisbstyle
87b2eeb2fd More isolated pid_unittests
Refactor iterm_relax to iterm_relax_axis

Isolate pidLevel test

Isolate pidHorizon tests

remove if UNIT_TEST

revert to iterm_relax from iterm_relax_axis
2018-09-19 08:15:32 +02:00
jflyper
6d6dfeeccc Version is was not necessary (field added at the end) 2018-09-19 10:38:54 +09:00
githubDLG
93bdec6edc modify current meter scale
modify current meter scale according comments.
2018-09-19 08:42:03 +08:00
Bruce Luckcuck
325ba33a3f Fix zero throttle deadband when using switched 3D modes
When using switched 3D modes the throttle stick ranges from 0-100% controlling the motors in only one direction. The problem was that the 3D Throttle Deadband was being applied to the minimum throttle making a much larger throttle deadband from zero throttle.  So in the case of the default deadband of 50, the throttle stick movement would be equivalent to 100us of deadband (output is halved so requires double the input).  This would be like trying to fly with `min_check` set to 1100.

The fix uses `min_check` to set the deadband when in switched 3D modes. This produces the same throttle deadband as normal non-3D flight.
2018-09-18 20:39:04 -04:00
Michael Keller
811775748b Made CLI error messages consistent. 2018-09-19 10:35:13 +12:00
Bruce Luckcuck
a38242bc2e More optimizations and changes from review
Split the "normal" and "absolute" adjustments into two separate lists to avoid iterating through entries twice.
2018-09-18 13:36:58 -04:00
Bruce Luckcuck
044648ca12 Optimize in-flight adjustments to only process configured ranges
Previously the logic would process all possible ranges defined by MAX_ADJUSTMENT_RANGE_COUNT even if some (or even all) ranges were not configured.  This change first builds a list of configured ranges and only processes thos entries.

Reduces CPU load by skipping unnecessary processing and minimizes the impact of increasing the number of available ranges.
2018-09-18 10:31:58 -04:00
Michael Keller
949e44aae4 Fixed changed defines. 2018-09-19 02:27:51 +12:00
Michael Keller
ea6c21f1e6
Merge pull request #6447 from bforbort/vario
Enable Vario on targets that support barometers
2018-09-18 23:53:09 +12:00
Michael Keller
7e362ace48
Merge pull request #6672 from timman2er/fix_name_building
fix building guide for all OS's
2018-09-18 23:43:37 +12:00
Michael Keller
3a62d40372
Merge pull request #6697 from etracer65/cli_lookup_index_validation
Add CLI validation of parameters and print a corrupted value message
2018-09-18 23:39:18 +12:00
Michael Keller
2a6aaf922c
Merge pull request #6757 from supermomme/patch-1
add some PR links to 3.5 and 3.4 release notes
2018-09-18 23:37:55 +12:00
Michael Keller
3f41eb78a2
Merge pull request #6760 from andrejpodzimek/test_reintroduction
Fixing a wrong defintion of TARGET in the test Makefile.
2018-09-18 23:37:28 +12:00
Michael Keller
dcf0d8cd44
Merge pull request #6781 from aguindehi/master
Add target UAVPNG030MINI for the UAVP-NG HW-0.30-mini board
2018-09-18 23:32:00 +12:00
Bruce Luckcuck
0d7f8f5feb Fix CRSF telmetry GPS speed calculation
Calculation was assuming that the GPS groundspeed was in 1/10 m/s when in reality it's in cm/s units.  This was causing the value sent in telemetry to be 10 times too large.
2018-09-18 07:07:22 -04:00
githubDLG
3fcd83a9dc fix timer define 2018-09-18 17:14:04 +08:00
Amir Guindehi
566ad49a10 Changed PPM_IN_B from TIM_USE_PPM to TIM_USE_ANY and added a comment that this is a secondary PPM_IN which can be assigned if a user wants to use it. 2018-09-18 08:47:04 +02:00
githubDLG
6bdf3d7b67 CrazyBee F3 target update
1.add new variant: CrazyBee F3 DX
2.add Led_Strip and an extra pwm servo channel
3.change current meter scale according to hardware change
2018-09-18 14:45:21 +08:00
Amir Guindehi
cf8c1d7e0b Removed AVOID_UART1_FOR_PWM_PPM from UAVPNG030MINI target. As we do not share PPM/PWM pads and serial input this is unneeded. 2018-09-18 08:40:15 +02:00
borisbstyle
9b51fb3216
Merge pull request #6742 from ctzsnooze/update-defaults-for-yaw
defaults to improve yaw behaviour, ITermWindupPointInv already define…
2018-09-18 08:32:19 +02:00
jflyper
a2f39c8844 Refactor USB toward generic target
- Move conditionals from pg/usb.c to common_defaults_post.h
- Add detectPin to usbDev_s.
- Bump PG version for usbDev_s.
- Add resource manipulation for USB_DETECT.
2018-09-18 14:51:12 +09:00
Amir Guindehi
9e838e1451 Corrected USED_TIMERS in the UAVPNG030MINI target. 2018-09-17 20:45:42 +02:00
Amir Guindehi
aaff54cca1 Removed unneeded target definitions in target UAVPNG030MINI. 2018-09-17 17:36:23 +02:00