mikeller
d43c178488
Fixes from review.
2018-06-09 13:22:36 +12:00
mikeller
78cbd5725c
Fixed Dshot beacon command description in CLI.
2018-06-09 12:06:50 +12:00
mikeller
bdc2b48d36
Disabled Dshot beacon by default.
2018-06-09 12:02:15 +12:00
Michael Keller
c54b7e7db9
Merge pull request #6064 from mikeller/add_mag_support_to_dalrcf405
...
Added MAG support to DALRCF405.
2018-06-09 11:35:41 +12:00
mikeller
935d61694d
Re-enabled building of KISSFCV2F7.
2018-06-09 11:11:46 +12:00
Bruce Luckcuck
95ae4943df
RC smoothing - add rx frame training delay to deal with CRSF initialization
...
Handles cases where the flight controller and receiver are powered but the TX is not. When the TX is powered on and CRSF establishes the link, it will initially run at 50hz for about 0.6 seconds before shifting to 150hz. This change avoids that initialization and link establishment period.
2018-06-08 15:45:25 -04:00
Michael Keller
db3c0d1447
Some fixes.
2018-06-08 21:18:54 +12:00
Thorsten Laux
fefedbd686
attempts to improve relax
...
attempts to improve relax fix
attempts to improve relax fix
bug fixes
spaces
changed settings and added isAirmodeActive()
fix rebase error
2018-06-08 21:01:46 +12:00
Michael Keller
ef12eebe57
Merge pull request #6063 from dbasch/alt-fix
...
[GPS Rescue] - Do not run idle tasks when disarmed
2018-06-08 20:50:33 +12:00
Michael Keller
18c71cd035
Merge pull request #6062 from mikeller/fix_beeper_on_usb
...
Fixed 'beeper -ON_USB'.
2018-06-08 20:45:29 +12:00
Michael Keller
cb3d1d6ad4
Merge pull request #6060 from jirif/npr_6056
...
Fixed null pointer reference
2018-06-08 20:45:04 +12:00
Michael Keller
44781bae30
Added MAG support to DALRCF405.
2018-06-08 19:54:48 +12:00
s0up
b240d745d7
more reverting
2018-06-07 13:35:00 -07:00
s0up
1b1837905c
revert position.c changes
2018-06-07 13:34:12 -07:00
s0up
96692af0f8
dont allow idle tasks to run when disarmed, allow altitude to be absolute on the bench vs relative when flying
2018-06-07 13:24:42 -07:00
s0up
8a9869b4fd
always set offset when not armed. OSD should never show > 0 values when not armed
2018-06-07 08:53:28 -07:00
jirif
80e40a1467
Fixed null pointer reference
2018-06-07 15:09:32 +02:00
mikeller
52b8fa5316
Fixed 'beeper -ON_USB'.
2018-06-08 00:43:15 +12:00
Michael Keller
7936fb07d5
Merge pull request #6052 from mikeller/change_setpoint_weight_to_decimal_scaling
...
Changed 'dtermSetpointWeight' to use decimal scaling.
2018-06-07 23:38:16 +12:00
AJ Christensen
f2cc9acc1f
gyro sensors/debug: standardize gyro debugging enum elements
...
* will require coordination with BFC of course.
* rationale: previously `DEBUG_GYRO_NOTCH` debugging was used to grab the
scaled, unfiltered gyro readings, prior to the FFT running. This has been
updated to `DEBUG_GYRO_SCALED`.
similarly, `DEBUG_GYRO` debugging was used to record the filtered gyro. This
is updated to `GYRO_FILTERED`.
interestingly, `DEBUG_GYRO` was also used for movement threshold calibration.
This has been updated to be `DEBUG_GYRO_CALIBRATION` and also now stores
per-axis standard deviation.
Application of filter position moved slightly for logical grouping, has no
effect due to LTI.
2018-06-07 17:17:26 +12:00
Michael Keller
de22f87a6d
Merge pull request #6056 from mikeller/move_slowdown_to_fport
...
Moving sensor frame throttling from SmartPort to FPort only.
2018-06-07 16:29:54 +12:00
Michael Keller
2dd1d742bf
Merge pull request #6051 from etracer65/rc_smoothing_training
...
RC smoothing: improve rx frame rate detection, add rc_smoothing_info cli command
2018-06-07 16:22:48 +12:00
Bruce Luckcuck
c70e999f24
More cleanup from review
2018-06-06 18:42:08 -04:00
Bruce Luckcuck
dfa6be810a
Updates and cleanup from review, simplify auto cutoff calculation
...
Renamed variables to be more representative of their content.
Simplified the auto-cutoff calculation to be 90% of the nyquist frequency of the measured rx frame rate.
Simplified the PT1 from BIQUAD calculation.
Added active cutoffs to the blackbox log header. Reduce the number of headers by combining like entries into a single line.
2018-06-06 17:30:28 -04:00
mikeller
41492e1309
Moving sensor frame throttling from SmartPort to FPort only.
2018-06-07 00:34:37 +12:00
Michael Keller
3f3fb0c01c
Changed 'dtermSetpointWeight' to use decimal scaling.
2018-06-06 11:21:11 +12:00
Bruce Luckcuck
e49c10b573
RC smoothing: improve rx frame rate detection, add rc_smoothing_info cli command
...
Improved the rx frame rate detection/training by delaying calculation to avoid loop time jitter during flight controller initialization.
For auto cutoffs calculate a value appropriate for BIQUAD or PT1 depending on the configuration.
Added a new rc_smoothing_info cli command to display internal details about its operation.
2018-06-05 18:25:13 -04:00
Michael Keller
445f9d6ad4
Merge pull request #6044 from mikeller/added_interpolation_checks
...
Added validation checks for interpolation settings, made throttle boost conditional.
2018-06-06 08:00:19 +12:00
Michael Keller
95f8cfd8b8
Merge pull request #6049 from jflyper/bfdev-ag3x-default-burst
...
AG3X Enable burst mode DMA by default
2018-06-05 22:04:06 +12:00
Michael Keller
60c6ba5ccf
Merge pull request #6035 from mikeller/fix_spracingf3_transponder_default
...
Added USE_TRANSPONDER to SPRACINGF3 to match the default features.
2018-06-05 21:55:22 +12:00
mikeller
391d6a4185
Fixed SPRACINGF3OSD.
2018-06-05 21:43:17 +12:00
jflyper
69f204b5fc
AG3X Enable burst mode DMA by default
2018-06-05 16:32:52 +09:00
Michael Keller
388175f746
Merge pull request #6047 from McGiverGim/fix_msp_gyro_lpf_range
...
Add new range for gyro lpf 1 into MSP
2018-06-05 19:14:00 +12:00
mikeller
f9cfa86378
Fixes from review.
2018-06-05 18:47:41 +12:00
mikeller
a373204d7a
Added validation checks for interpolation settings, made throttle boost conditional.
2018-06-05 18:38:57 +12:00
Michael Keller
91013da2cc
Merge pull request #6043 from mikeller/added_rc_interpolation_options
...
Added more options for RC interpolation channel selection.
2018-06-05 18:37:49 +12:00
Miguel Angel Mulero Martinez
9c6603fae9
Add new range for gyro lpf 1 into MSP
2018-06-05 08:19:24 +02:00
Michael Keller
93e02388c8
More fixes.
2018-06-05 16:32:59 +12:00
Michael Keller
d299d8b51d
Fixes from review.
2018-06-05 13:49:34 +12:00
Michael Keller
522e90ab17
Merge pull request #6031 from mikeller/fix_osd_altitude_display
...
Fixed OSD altitude display for negative altitude > -1.
2018-06-05 13:11:30 +12:00
Andrey Mironov
c648c5460c
Merge pull request #6046 from etracer65/remove_unneded_file
...
Remove empty "1.8" file accidentally added to root directory by #6014
2018-06-04 21:47:41 +03:00
Bruce Luckcuck
ee447cc1b7
Remove empty "1.8" file accidentally added to root by #6014
2018-06-04 13:04:10 -04:00
mikeller
9738a1cdd2
Added more options for RC interpolation channel selection.
2018-06-04 22:41:54 +12:00
Michael Keller
6fa1a26e71
Merge pull request #6042 from mikeller/optimise_pid_loop
...
Optimised the use of static variables in the PID loop.
2018-06-04 20:48:10 +12:00
mikeller
e29fa595f5
Optimised the use of static variables in the PID loop.
2018-06-04 18:56:30 +12:00
Michael Keller
a2c75d2009
Merge pull request #6017 from etracer65/rc_smoothing_filter
...
Experimental filter-based rc channel smoothing
2018-06-04 17:17:32 +12:00
Bruce Luckcuck
2359449b2a
Add delay before training, update defaults, add fields to blackbox header
...
Also added support for split input and derivative defaults
2018-06-03 21:53:56 -04:00
Bruce Luckcuck
e0514ce2a9
Use FAST_RAM for static variables in new smoothing code
2018-06-03 21:52:16 -04:00
Bruce Luckcuck
7e18d7c1b9
Make filter type selectable and add BIQUAD
...
Adds options to select the filter type for both input and derivative.
rc_smoothing_input_type = PT1 | BIQUAD (default is BIQUAD)
rc_smoothing_derivative_type = OFF | PT1 | BIQUAD (default is OFF)
2018-06-03 21:52:15 -04:00
Bruce Luckcuck
8b42c80790
Updates per review
...
Stylistic fixes.
Rearrange initilization code to only run when isRXDataNew.
Corrected use of FAST_CODE and FAST_CODE_NOINLINE.
2018-06-03 21:52:15 -04:00