Commit Graph

12043 Commits

Author SHA1 Message Date
Michael Keller 91798f89b4
Merge pull request #6529 from mikeller/remove_osd_slave
Removed SPRACINGF3OSD support.
2018-08-14 06:48:14 +12:00
Michael Keller 086e1a08c4
Merge pull request #6526 from flywoo/master
Add new target FLYWOOF405
2018-08-12 18:20:54 +12:00
flywoo eab8969b70 Edit the format 2018-08-12 13:41:40 +08:00
flywoo f87fd80c58 Add FLYWOOF4 target variant 2018-08-12 12:54:54 +08:00
Michael Keller 883899011c
Merge pull request #6549 from mikeller/fix_errorneous_resource_lines
Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled.
2018-08-12 02:18:53 +12:00
mikeller 8d03431699 Fixed errorneous 'resource' lines in 'diff' when 'USE_PWM' is disabled. 2018-08-12 00:14:34 +12:00
Michael Keller d97ec44a1e
Merge pull request #6538 from nyway/master
Change DALRC F722DUAL VBAT_SCALE_DEFAULT
2018-08-11 22:28:10 +12:00
ZhengNingwei 67e83c7a92 Change DALRC F722DUAL VBAT_SCALE_DEFAULT
DALRC F722DUAL will support 10s battery,the VBAT_SCALE_DEFAULT change 160,max voltage achieved 51V.

DALRCF722DUAL add picture

DALRCF722DUAL add picture

Update board -DALRCF722DUAL.md

Update board -DALRCF722DUAL.md
2018-08-11 15:12:58 +08:00
Michael Keller 43159e95af
Merge pull request #6540 from AlienWiiBF/FortiniF4_update
Fortini F4 Rev3 CAM control update
2018-08-11 15:18:36 +12:00
flywoo e48190ccd7 change_3 2018-08-10 17:02:07 +08:00
flywoo f757314c39 changer_2 2018-08-10 16:48:47 +08:00
flywoo 3fc506f0ad changer code add pwm5-pwm8,fcam,support mpu6000,modify scl-uart pin 2018-08-10 16:41:03 +08:00
flywoo da3bf2884e Revert "change_1"
This reverts commit 9494a26231.
2018-08-10 15:35:08 +08:00
flywoo 9494a26231 change_1 2018-08-10 15:07:03 +08:00
MJ666 022cb588e9 Fortini F4 Rev3 CAM control update 2018-08-10 07:25:22 +02:00
Michael Keller 946cbd257f
Merge pull request #6525 from etracer65/beacon_delayed_arming_state
Capture and use crash flip if set initially when arming is delayed due to beacon
2018-08-08 22:59:41 +12:00
Michael Keller 283e55e45d Removed SPRACINGF3OSD support. 2018-08-08 08:32:20 +12:00
flywoo fdddaec4e8 Add new target FLYWOOF405 2018-08-07 17:30:40 +08:00
Bruce Luckcuck 3dae764b0e Capture and use crash flip if set initially when arming is delayed due to beacon
Previously if arming was delayed due to DSHOT beacon then the arming type (normal or crash-flip) would be captured *after* the delay. This change captures the state on entering the delay which more accurately represents the pilot's intent.

For example, the pilot may have crash-flip on a momentary switch that's initially set when the arming switch is enabled. Previously if the pilot didn't hold the momentary switch through the entire delay the quad would arm in normal mode. This change uses the state when the arming switch first enables so even if the momentary crash-flip switch is released the quad will still arm in crash-flip mode.
2018-08-06 15:41:05 -04:00
Michael Keller efb340f4c6
Merge pull request #6513 from mikeller/fix_crsf_altitude
Fixed altitude display with CRSF telemetry.
2018-08-06 23:01:49 +12:00
Michael Keller f305feb797
Merge pull request #6516 from mikeller/fix_extra_esc_sensors
Fixed reporting of extended ESC sensor data in SmartPort.
2018-08-06 22:46:16 +12:00
Michael Keller 1e8dc23efe
Merge pull request #6523 from loopur/baro_test
Modify the compile error from variable definition
2018-08-06 22:43:14 +12:00
loopur d8e373f823 Modify the compile error from variable definition 2018-08-06 16:22:36 +08:00
Michael Keller 348508ce9f Fixed syntax error. 2018-08-06 08:40:31 +12:00
Michael Keller 6e718b504a Fixed tests. 2018-08-06 08:37:26 +12:00
mikeller c54aba77f1 Fixed reporting of extended ESC sensor data in SmartPort. 2018-08-05 11:57:07 +12:00
mikeller 11bce91d88 Fixed altitude display with CRSF telemetry. 2018-08-04 19:28:34 +12:00
Michael Keller d0a9a0fd93
Merge pull request #6503 from McGiverGim/cms_throttle_boost
Fix CMS Throtle Boost
2018-08-02 13:12:23 +12:00
Michael Keller b979cb2ea4
Merge pull request #6485 from etracer65/dyn_filter_2k
Fix dynamic filter for gyro loop < 4K
2018-08-02 13:10:26 +12:00
Michael Keller 1f1dd981bd
Merge pull request #6484 from etracer65/disable_dynfilter_below_2k
Disable DYNAMIC_FILTER feature if gyro loop is less than 2KHz
2018-08-02 13:07:28 +12:00
Bruce Luckcuck 382ad2ad8f More changes from review & rebase
Simplified disable logic to only use the feature() check in the gyro loop.

Changed 2000hz loop time constant to a define.
2018-08-01 12:20:32 -04:00
Bruce Luckcuck 9ba89f6da0 Changes from review
Revise and simplify initialization logic and avoid unneeded code if USE_DUAL_GYRO is not defined.

Corrected double constant to float.

Split centerFreq filter apply and constrain into separate statements.
2018-08-01 12:12:44 -04:00
Miguel Angel Mulero Martinez db133032a6 Fix CMS Throtle Boost 2018-08-01 16:00:32 +02:00
Michael Keller bf1c5729cc
Merge pull request #6473 from mikeller/enable_nucleof722_sdio
Enabled SDIO on NUCLEOF722.
2018-08-01 19:08:10 +12:00
Michael Keller 0b9b9f07f4
Merge pull request #6501 from mikeller/remove_omnibus_feature
Removed feature LED_STRIP from OMNIBUS to make it fit into flash.
2018-08-01 19:07:29 +12:00
mikeller 5f6aaa3630 Removed feature LED_STRIP from OMNIBUS to make it fit into flash. 2018-08-01 18:28:12 +12:00
Bruce Luckcuck 25c6b038d9 Changes from review
Used HZ_TO_INTERVAL_US() instead of hardcoded 500us.

Moved tests into a dedicated function.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck f411b82eb6 Disable DYNAMIC_FILTER feature if gyro loop is less than 2KHz
The dynamic filter is not usefull with gyro loop times less than 2KHz so disable the feature and prevent the code from running in this circumstance.

In `isDynamicFilterActive()` we can't just rely on the feature because the feature will be disabled after the gyro has initialized and is running - possibly running into the underflow/wedging problem. And unfortunately we can't disable the feature earlier because we need to know the `targetLooptime` which is determined during gyro init.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck f252b09fdb Fix dynamic filter for gyro loop < 4K
For gyro loops from 2K to < 4K scale the FFT_SAMPLING_RATE_HZ to ensure we get 3 samples.

Also constrain the `centerFreq` result from the lowpass to ensure it doesn't overshoot beyond the min/max notch center cutoff.
2018-07-31 08:59:27 -04:00
Michael Keller 45002a803e
Merge pull request #6496 from McGiverGim/cms_throttle_boost
Add Throttle Boost to CMS
2018-07-31 23:59:21 +12:00
Michael Keller a8b3ad9745
Merge pull request #6497 from mikeller/remove_target_features
Removed more features from F3 to make it fit.
2018-07-31 22:04:54 +12:00
mikeller 4cb0c54827 Removed more features from F3 to make it fit. 2018-07-31 21:04:30 +12:00
Miguel Angel Mulero Martinez e0d17a5e2f Hide LPF2 and Throttle Boost from CMS if not available 2018-07-31 10:15:25 +02:00
Miguel Angel Mulero Martinez df4b893d61 Add Throttle Boost to CMS 2018-07-31 09:18:06 +02:00
Michael Keller 5a045f2246
Merge pull request #6486 from DieHertz/bfdev-fix-omnibusf4-target-definition
Fixed occurrence of OMNIBUSF4 in target.h
2018-07-30 22:34:49 +12:00
Michael Keller 17ec736a4b
Merge pull request #6475 from DieHertz/icm-20601-4000dps-support
Make gyro driver more aware of ICM-20601
2018-07-30 22:34:26 +12:00
Michael Keller fda79ddaed
Merge pull request #6483 from etracer65/i2c_gyro_loop_denom
Change default gyro loop to 2.67KHz for I2C gyro targets
2018-07-30 22:01:37 +12:00
Michael Keller d751a4f674
Merge pull request #6489 from nyway/master
add new target DALRCF722DUAL
2018-07-30 21:53:31 +12:00
Michael Keller b08b2e94c0
Merge pull request #6481 from etracer65/gyro_32k_looptime_fix
Fix 32KHz gyro targetLooptime calculation
2018-07-30 21:23:48 +12:00
ZhengNingwei ad0a1ae7ac Add new target DALRCF722DUAL
This board use the STM32F722RET6 microcontroller and have the following features:
 High-performance and DSP with FPU, ARM Cortex-M7 MCU with 512 Kbytes Flash
 216 MHz CPU,462 DMIPS/2.14 DMIPS/MHz (Dhrystone 2.1) and DSP instructions, Art Accelerator, L1 cache, SDRAM
 DUAL gyro MPU6000 and ICM20602,could choose mpu6000,more stable and smooth.Or choose ICM20602,higher rate(32K/32K).Choose on CLI mode,experience different feature gyro on same board
 OSD on board
 The 16M byte SPI flash on board for data logging
 USB VCP and boot select button on board(for DFU)
 Stable voltage regulation,DUAL BEC  5v/2.5A and 10v/2A for VTX/camera etc.And could select 5v/10v with pad
 Serial LED interface(LED_STRIP)
 VBAT/CURR/RSSI sensors input
 Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry
 Supports SBus(built-in inverters), Spektrum1024/2048, PPM
 Supports I2C device extend(baro/compass/OLED etc)(socket)
 Supports GPS (socket)
2018-07-30 09:44:09 +03:00