Michael Keller
6ed4c0fbee
Merge pull request #9583 from etracer65/gyro_temperature_read_rate
...
Reduce gyro temperature read rate from 250hz to every 3 seconds
2020-03-15 14:14:42 +13:00
Michael Keller
05c90001ee
Merge pull request #9580 from etracer65/cms_setup_popup
...
CMS dynamic setup popup menu
2020-03-15 14:14:28 +13:00
Michael Keller
04d260d620
Merge pull request #9569 from ctzsnooze/iterm-windup-setting-yaw-only
...
apply iterm_windup to yaw only
2020-03-15 13:52:18 +13:00
Michael Keller
b729c3cc99
Merge pull request #9582 from etracer65/gyro_init_separate
...
Split initialization from gyro.c for flash savings
2020-03-15 10:16:30 +13:00
Michael Keller
9d3a48b1b0
Merge pull request #9579 from IllusionFpv/max-rate-independent-of-deadband
...
Max rate independent of deadband
2020-03-15 10:15:58 +13:00
Nicola De Pasquale
cfe7272050
moved some variables
2020-03-13 23:40:02 +01:00
mikeller
53ba871a34
Fixed unit tests.
2020-03-14 10:19:33 +13:00
ctzsnooze
269fdd0a24
might work
...
improve
remove const
2020-03-14 10:19:30 +13:00
Nicola De Pasquale
57a5fd937a
precalculate divisors in initRcProcessing
2020-03-13 20:18:16 +01:00
Nicola De Pasquale
04e5e3bf24
max rate independent of deadband
2020-03-13 20:15:05 +01:00
Bruce Luckcuck
780da90037
Reduce gyro temperature read rate from 250hz to every 3 seconds
...
If the gyro supports it, the temperature is read as part of the telemetry task to be supplied in several protocols. There's absolutely no reason to read the gyro temperature at 250hz for this purpose and the temperature shouldn't be changing rapidly anyway. Revise to read a new temperature every 3 seconds which should be more than sufficient.
Has no impact at the moment as no actively used gyro supports temperature reads but may be used in the future.
2020-03-13 10:50:41 -04:00
Bruce Luckcuck
ad0e7154a7
Split initialization from gyro.c for flash savings
...
Move low performance requirements initialization code into gyro_init.c and optimize that for size.
2020-03-13 10:08:11 -04:00
Michael Keller
d9fedb5024
Merge pull request #9578 from mikeller/add_custom_box_names
...
Added custom (switch) box naming.
2020-03-13 13:16:07 +13:00
Michael Keller
e38fd8c6f5
Merge pull request #9577 from mikeller/cleanup_bmi270_microcode_inclusion
...
Cleaned up the inclusion of the microcode for BMI270.
2020-03-13 11:16:44 +13:00
Bruce Luckcuck
265d6dde2b
CMS dynamic setup popup menu
...
Adds a dynamically constructed menu that will appear before the main menu when the user enters CMS if there are any outstanding setup items to complete. Currently only includes entry to calibrate the ACC if required, but provides a framework for other setup reminders as needed. The user can choose to exit this menu without remedying the problems, but the menu will reappear when they next enter CMS. If there are no required setup items then the menu will be skipped and the user will go straight to the main menu.
2020-03-12 11:45:44 -04:00
Michael Keller
1d8230f6ae
Merge pull request #9548 from jflyper/bfdev-g4-i2c
...
[G4] I2C support
2020-03-12 13:44:31 +13:00
Michael Keller
11ad602f3b
Merge pull request #9576 from mikeller/generalise_frame_rate_calculation
...
Generalised frame rate calculation.
2020-03-12 13:40:02 +13:00
mikeller
f3ec114a2a
Added custom (switch) box naming.
2020-03-12 07:04:24 +13:00
jflyper
00e57e6049
[G4] I2C support
2020-03-11 19:08:57 +09:00
Michael Keller
d733c48b04
Merge pull request #9574 from IllusionFpv/increase-max-osd-srate-setting
...
Increase OSD srate max setting for using new rate systems
2020-03-11 22:32:28 +13:00
mikeller
ad4cc3d74f
Cleaned up the inclusion of the microcode for BMI270.
2020-03-11 20:47:43 +13:00
Michael Keller
acdccd5a16
Merge pull request #9575 from jflyper/bfdev-i2c-new-clock
...
[I2C] Introduce computational I2C waveform configuration for HAL based MCUs
2020-03-11 20:29:04 +13:00
Nicola De Pasquale
db3d71a267
validation for all rate profiles
2020-03-11 01:15:19 +01:00
mikeller
1852d65106
Generalised frame rate calculation.
2020-03-11 12:47:27 +13:00
Michael Keller
a18a19a434
Merge pull request #9572 from mikeller/redo_unified_targets
...
Rearranged how Unified Targets are defined.
2020-03-11 11:28:49 +13:00
Michael Keller
4f71de63a3
Merge pull request #9564 from mikeller/cleaned_up_rx_handler
...
Cleaned up the RX handler some.
2020-03-11 11:27:09 +13:00
Nicola De Pasquale
5adc8d5ce6
add validation based on rates type
2020-03-10 21:28:29 +01:00
jflyper
ec2aac314d
[I2C] Introduce computational I2C waveform configuration for HAL based MCUs
...
Tested with
Nucleo-F722ZE I2C1 on PB8,PB9
Nucleo-H743ZI I2C1 on PB8,PB9 and I2C4 on PF14,PF15
2020-03-10 12:11:50 +09:00
jflyper
0bb5c021ea
Merge pull request #9567 from jflyper/bfdev-h7-initialize-i2c-peripheral-clock-explicitly
...
[H7] Explicitly initialize I2C peripheral clock sources
2020-03-10 12:10:34 +09:00
Nicola De Pasquale
4519935c92
increase srate max setting for using new rate systems
2020-03-09 21:33:10 +01:00
mikeller
a126a0449a
Rearranged how Unified Targets are defined.
2020-03-10 03:25:40 +13:00
mikeller
d13e83b91b
Cleaned up the RX handler some.
2020-03-10 00:55:52 +13:00
Michael Keller
6a6fd23742
Merge pull request #9562 from mikeller/added_master_warning
...
Added warning about pull requests from 'master'.
2020-03-10 00:49:24 +13:00
Michael Keller
a763ea14b2
Merge pull request #9563 from mikeller/fixed_frsky_spi_rx_frame_handling
...
Fixed frame handling for FrSky SPI RX.
2020-03-10 00:32:10 +13:00
Michael Keller
28bd628a3b
Merge pull request #9565 from mikeller/switch_sbus_to_generic_frame_time
...
Switched SBus to use the generic last frame time function.
2020-03-10 00:31:27 +13:00
jflyper
87d2485f86
[H7] Initialize I2C peripheral clock sources
...
This has been left out with default which was okay, but do it
explicitly for clarity.
2020-03-09 12:30:35 +09:00
Michael Keller
55a0c0129a
Merge pull request #9560 from etracer65/add_msp_rc_smoothing_auto_factor_validation
...
Add validation to MSP for the rc_smoothing_auto_factor setting
2020-03-09 13:23:38 +13:00
Michael Keller
49cb39f248
Merge pull request #9558 from etracer65/revise_pid_process_denom_default_again
...
Revise pid_process_denom default logic - second try
2020-03-09 13:23:23 +13:00
Michael Keller
90228a5e30
Merge pull request #9550 from mikeller/add_crsf_rx_snr_display
...
Added option to display RX SNR dB for CRSF instead of RSSI dBm.
2020-03-09 13:23:07 +13:00
mikeller
f217839362
Updated more documentation to match the template.
2020-03-09 13:00:35 +13:00
Michael Keller
d741f92721
Merge pull request #9549 from etracer65/bmi270_support_final
...
Add support for Bosch BMI270 gyro/accelerometer sensor
2020-03-09 12:57:13 +13:00
Bruce Luckcuck
7f03b42ac0
Required modifications to the BoschSensortec/BMI270-Sensor-API library
2020-03-08 18:58:16 -04:00
Bruce Luckcuck
447cbac988
Add support for Bosch BMI270 gyro/accelerometer sensor
2020-03-08 18:56:50 -04:00
Michael Keller
2bcd8a3075
Merge pull request #9554 from TheIsotopes/patch-1
...
fixes wrong comparison operators
2020-03-09 02:14:54 +13:00
mikeller
da5be59ff2
Switched SBus to use the generic last frame time function.
2020-03-08 18:55:45 +13:00
Michael Keller
6cbdf74d56
Merge pull request #9551 from mikeller/update_pre_push
...
Removed legacy targets from 'pre-push' target.
2020-03-08 18:34:46 +13:00
mikeller
e387400970
Fixed frame handling for FrSky SPI RX.
2020-03-08 17:20:31 +13:00
mikeller
30b284b494
Added warning about pull requests from 'master'.
2020-03-08 14:08:30 +13:00
Bruce Luckcuck
15ec707a0b
Add validation to MSP for the rc_smoothing_auto_factor setting
...
This is a workaround for a validation bug in configurator 10.6 where the user can enter an invalid value, immediately click "Save" and that value will be stored before the value is range-checked. Added validation to the MSP message processing to constrain the range to prevent a dangerous result.
2020-03-07 18:48:23 -05:00
Michael Keller
7e4d8c10ee
Merge pull request #9511 from mikeller/add_rc_frame_interval_measurement
...
Added protocol level RX frame rate measurement for FrSky FPort.
2020-03-08 12:42:22 +13:00