Commit Graph

12374 Commits

Author SHA1 Message Date
jflyper bb659c2ec6 Update some more defs 2018-09-22 02:31:06 +09:00
Michael Keller adddd0976c
Merge pull request #6788 from jflyper/bfdev-usb-refactor-for-generic-target
Refactor USB toward generic target
2018-09-22 04:54:21 +12:00
Michael Keller 0771e2c9f1
Merge pull request #6812 from jflyper/bfdev-remove-stale-rcc-def-part2
Remove stale RCC defs (Part2)
2018-09-22 04:46:28 +12:00
Michael Keller 16b4c6161c
Merge pull request #6813 from etracer65/rssi_adc_pin_target_fix
Fix RSSI_ADC pin defines
2018-09-22 04:42:29 +12:00
Michael Keller b4dafb37a7
Merge pull request #6768 from marv-t/Jeti-telemetry
Jeti telemetry: add GPS values and update others
2018-09-22 04:34:36 +12:00
Michael Keller ae0f99c494
Merge pull request #6806 from Smeat/fport_rssi
Fix rssi logging for fport.
2018-09-22 03:55:11 +12:00
Bruce Luckcuck e2e8e8f1e6 Fix RSSI_ADC pin defines
A number of targets were using `RSSI_ADC_GPIO_PIN` which is not referenced anywhere in the code. Corrected to `RSSI_ADC_PIN`.
2018-09-21 11:41:23 -04:00
jflyper 5f2b73944d Remove stale RCC defs 2018-09-21 22:25:19 +09:00
Michael Keller aebdb2708e
Merge pull request #6807 from jflyper/bfdev-remove-outdated-ws2811-defs
Remove outdated ws2811 defs
2018-09-21 23:59:51 +12:00
Michael Keller ea04ac1730
Merge pull request #6811 from jflyper/bfdev-delete-stale-rcc-def-for-SPI-RX
Remove stale RCC defs
2018-09-21 23:58:38 +12:00
jflyper 768d7c126a Remove stale RCC refs 2018-09-21 16:24:12 +09: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
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
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