Bruce Luckcuck
ec43107559
Fix tasks period calculation
2019-08-30 13:39:30 -04:00
Dominic Clifton
c1ce69e813
Merge pull request #8777 from hydra/bf-remove-processrccommand-from-fast-code
...
Keep `updateRcCommand` out of FAST_CODE.
2019-08-30 17:11:06 +02:00
Tony Cabello
0ddcfc097c
Feature: show 3d speed on OSD
2019-08-30 08:21:19 +02:00
Dominic Clifton
99f18775c8
Merge pull request #8768 from hydra/bf-dshot-remove-micros-use-in-irq-handler
...
Reduce CPU usage in dshot motor handler to reduce DSHOT telemetry errors.
2019-08-30 03:12:26 +02:00
Dominic Clifton
2d4b2f827b
Merge pull request #8771 from etracer65/target_furyf4osd_add_baro
...
Add missing baro support for target FURYF4OSD
2019-08-30 01:04:56 +02:00
Michael Keller
2cb3191d8a
Merge pull request #8758 from TonyBlit/fix_ttff
...
BugFix: time to first fix was sometimes abnormally high due to improp…
2019-08-30 07:25:51 +12:00
Dominic Clifton
d016aa2fc4
DSHOT - Use cycle counting instead of recording timestamp in dshot motor_DMA_IRQHandler.
...
It turns out that two calls to micros() and the calculation of
directionChangeDurationUs took 581 cycles, vs 396 cycles without the
calls to micros() and deferred calculation of the duration which is only
needed in the CLI.
This brings the time down from around 7 microseconds to 5.5 microseconds
on an F3 at 72Mhz.
This makes the difference between 100% invalid telemetry and 4% invalid
telemetry on the first motor on the F3.
Squashed commits:
* Remove the forward declaration for `pwmDshotSetDirectionInput` and make
it static.
* Remove unneeded forward declaration of `motor_DMA_IRQHandler`.
* Remove duplication in DMA IRQ Handler.
Doesn't affect resulting code but improves readability.
* Use an inline function to read DWT->CYCCNT.
* Remove unneeded forward declarations from cli.c now that the correct
header is included.
* Update DWT unlock method.
2019-08-29 20:01:20 +02:00
Andrey Mironov
64d1a19166
Removed version line
2019-08-29 17:45:58 +03:00
Michael Keller
fc97d888f4
Scheduler - Fix unused period
warning when `USE_TASK_STATISTI… ( #8765 )
...
Scheduler - Fix unused `period` warning when `USE_TASK_STATISTICS` is not defined.
2019-08-30 02:07:13 +12:00
Dominic Clifton
0baed339e6
Keep updateRcCommand
out of FAST_CODE.
...
It's event driver or called at 33hz.
Keeping this out of FAST_CODE allows for more important code to be
placed in FAST_CODE.
2019-08-29 15:52:07 +02:00
Tony Cabello
751e1ae444
BugFix: time to first fix was sometimes abnormally high due to improper configuration of Ublox GPS
2019-08-29 15:41:36 +02:00
Michael Keller
6f4c2bb48c
Merge pull request #8770 from etracer65/fix_osd_hdop_pg
...
Fix osd_gps_sats_show_hdop setting being in incorrect PG
2019-08-30 01:40:02 +12:00
Michael Keller
5f3ea43f63
Merge pull request #8763 from hydra/bf-refactor-dshot-1
...
Refactor DSHOT 1
2019-08-30 01:32:16 +12:00
Andrey Mironov
a90d930f64
Added TMOTORF7 board documentation
2019-08-29 15:58:40 +03:00
Andrey Mironov
84c6939f29
Added TMOTORF7 target
2019-08-29 15:58:40 +03:00
Bruce Luckcuck
3bec1576ba
Add missing baro support for target FURYF4OSD
2019-08-28 11:07:57 -04:00
Bruce Luckcuck
736a677a3c
Fix osd_gps_sats_show_hdop setting wrong PG
...
Setting was mistakingly in PG_GPS_CONFIG and should be in PG_OSD_CONFIG.
2019-08-28 11:01:45 -04:00
Dominic Clifton
5dd4038e1c
Scheduler - Fix unused period
warning when USE_TASK_STATISTICS
is
...
not defined.
2019-08-28 09:22:32 +02:00
Dominic Clifton
a8262722d5
Refactor pwmDshotSetDirectionOutput.
...
Refactoring steps were as follows:
* Duplicate pwmDshotSetDirectionOutput to pwmDshotSetDirectionInput and
remove `output` variable in preparation for removing the `output` variable from each method.
* Delete all trace of `output` flag from `pwmDshotSetDirectionInput`
* Delete all trace of `output` flag from `pwmDshotSetDirectionOutput`
* Cleanup now that pwmDshotSetDirectionInput is only called when USE_DSHOT_TELEMETRY is
enabled.
* Remove redundant code paths.
* Move #ifdef outside the method.
* Removed parameters that are never needed.
* Delete unneeded forward declarations.
2019-08-28 08:57:04 +02:00
Michael Keller
4f923e4827
Merge pull request #8745 from etracer65/dshot_telemetry_info_msp
...
Add motor telemetry data to MSP - support displaying RPM in the Configurator
2019-08-28 17:17:57 +12:00
Michael Keller
8859e58615
Feature: show HDOP next to num sats indicator ( #8760 )
...
Feature: show HDOP next to num sats indicator
2019-08-28 17:16:23 +12:00
Michael Keller
92e988a421
Merge pull request #8761 from hydra/bf-fix-f3-resource-timer-mgmt
...
Fix F3 timer management compilation errors.
2019-08-28 17:15:04 +12:00
Michael Keller
53d38ed937
Merge pull request #8752 from mikeller/add_iterm_relax_documentation
...
Added documentation for Integrated Yaw from wiki.
2019-08-28 16:55:37 +12:00
Dominic Clifton
4eb839c7bf
Add fullTimerHardware
for F3 for use with USE_TIMER_MGMT.
...
STM32F3 doesn't have TIM5.
2019-08-27 04:38:16 +02:00
Bruce Luckcuck
d698a559c5
Add motor telemetry data to MSP
...
Adds the RPM (ESC sensor or DSHOT telemetry), invalid packet stats (DSHOT telemetry), and ESC temperature (ESC sensor) for each motor to MSP.
Adds controlling flags and `motor_poles` to `MSP_MOTOR_CONFIG`.
Added to the MSP_MOTOR_CONFIG message:
U8 configured motor count
U8 motor poles
U8 dshot telemetry enabled (boolean)
U8 esc sensor enabled (boolean)
New MSP_MOTOR_DSHOT_TELEMETRY message
U8 motor_count - number of active motors for which data will follow
Loop for motor_count
U32 motor_rpm
U16 invalid_packet_percent - 2 decimal places. So 10000 is 100.00%
U8 esc temperature (degrees celcius)
U16 esc voltage (0.01V per unit)
U16 esc current (0.01A per unit)
U16 esc mAh consumption
2019-08-26 17:56:08 -04:00
Michael Keller
2b1d256396
Merge pull request #7455 from SteveCEvans/baro_task
...
Split Baro task into four, rather than two states to reduce max task duration
2019-08-27 08:29:21 +12:00
Michael Keller
9ae8c11489
Merge pull request #8754 from IvoFPV/add-rc_smoothing_auto_smootness-to-MSP
...
Add rc_smoothing_auto_smoothness to MSP
2019-08-27 08:28:53 +12:00
Michael Keller
f5dd211c10
Merge pull request #8649 from bnn1044/TALONF7-FUSION-UNIFIED-TARGET
...
Add TALON F7 FUSION unified target
2019-08-27 08:28:36 +12:00
Tony Cabello
8cd23873a6
Feature: show HDOP next to sats indicator
2019-08-26 22:28:33 +02:00
SteveCEvans
b3fd616680
Removed tab on blank line
2019-08-26 17:24:10 +01:00
SteveCEvans
833e760f05
Split baro processing into a number of phases and use non-blocking deferred I2C accesses
2019-08-26 17:17:31 +01:00
Michael Keller
b215def714
Merge pull request #8749 from open-flysky/master
...
Fixed IBUS protocol for AFHDS 3 and latest AFHDS 2a receivers.
2019-08-26 08:23:43 +12:00
Michael Keller
638571b550
Merge pull request #8728 from SteveCEvans/bb_timestamp
...
Blackbox onboard flash file timestamps
2019-08-26 07:16:15 +12:00
Cheng Lin
9e03f73ece
add TALONF7 FUSION unified target
...
update from upstream
add TALONF7 FUSION unified target
add TALONF7 FUSION unified target
update cc2500:
add TALONF7 FUSION unified target
add TALONF7 FUSION unified target
add TALONF7 FUSION unified target
update from upstream
add TALONF7 FUSION unified target
add TALONF7 FUSION unified target
update cc2500:
add TALONF7 FUSION unified target
add TALONF7 FUSION unified target
add TALN Manufacturers ID
change the Manufaturers ID in alphab order
change manufacturer id for talon f7 board
remove TLON from manufacturer ID
2019-08-25 12:04:22 -04:00
IvoFPV
584f3bc9aa
Add rc_smoothing_auto_smoothness to MSP
2019-08-25 17:29:09 +02:00
mikeller
91369dcd0c
Added documentation for Iterm Relax from wiki.
2019-08-26 00:46:31 +12:00
Michael Keller
4557e37056
Fixed incomplete removal of DJI HDL in CLI. ( #8746 )
...
Fixed incomplete removal of DJI HDL in CLI.
2019-08-24 18:15:01 +12:00
Michael Keller
22e8f9f9b0
Merge pull request #8650 from bnn1044/TALONF7V2-UNIFIED-TARGET
...
Add TALON F7 V2 UNIFIED TARGET
2019-08-24 16:00:14 +12:00
Jakub
588166fa56
Fixed IBUS protocol for AFHDS 3 and latest AFHDS 2a receivers.
2019-08-23 20:08:54 +02:00
mikeller
ec6fa21a90
Fixed incomplete removal of DJI HDL in CLI.
2019-08-23 09:12:45 +12:00
Michael Keller
8826175b08
Merge pull request #8621 from MerakRC/master
...
Added MERAKRCF405 target and MERAKRCF722 target
2019-08-23 08:49:40 +12:00
Merak RC
57dcae950f
Added MERAKRCF405 target and MERAKRCF722 target
2019-08-23 00:49:59 +08:00
SteveCEvans
613f42e48a
Set file creation/modificatino/access time for FLASH log file to that stored in the log
2019-08-22 01:29:13 +01:00
Michael Keller
d75d8a3c76
Merge pull request #8741 from mikeller/fix_softserial_pin_sharing
...
Fixed SOFTSERIAL when the TX and RX pins are shared.
2019-08-21 23:06:40 +12:00
Michael Keller
d331aed726
Merge pull request #8723 from schugabe/pin_up_down_config
...
Add resource option to configure unused pins as pulldown
2019-08-21 22:55:48 +12:00
Michael Keller
d746b4d3e7
Merge pull request #8738 from fredericmorin/cms_cam_angle
...
Added CMS entry for cam angle compensation config
2019-08-20 11:56:18 +12:00
Johannes Kasberger
f761d9c87e
reset all elements of the pullup pulldown pg configuraion array
2019-08-19 23:23:18 +02:00
Frederic Morin
5c107c55ba
Added CMS entry for FPV CAM ANGLE compensation config
2019-08-19 17:13:36 -04:00
mikeller
63bcfd1801
Fixed SOFTSERIAL when the TX and RX pins are shared.
2019-08-20 01:01:35 +12:00
Michael Keller
a05b819b71
Remove overshoot in warning suppression introduced in #8713 . ( #8733 )
...
Remove overshoot in warning suppression introduced in #8713 .
2019-08-19 23:34:21 +12:00