1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

12115 commits

Author SHA1 Message Date
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
leocb
24ab7d3421 Fix struct padding and implict double conversion 2018-08-09 18:00:48 -03:00
leocb
34b0707cb6 change divisions by acc_1G to multiply by the reciprocal value 2018-08-09 14:41:05 -03: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
Alex Wolf
f0511f6e2d Merge branch 'master' of https://github.com/betaflight/betaflight 2018-08-07 21:15:59 -04:00
Michael Keller
283e55e45d Removed SPRACINGF3OSD support. 2018-08-08 08:32:20 +12:00
Bruce Luckcuck
d37244518d Add interpolation channels to the blackbox header
Added blackbox header "rc_interpolation_channels".
2018-08-07 11:07:09 -04:00
Alex Wolf
7b6555f001 Add MSP_MULTIPLE_MSP 2018-08-07 10:47:32 -04: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
Markus Jevring
131d46c850 Enable using the 'heading' field in MAVlink to display mAh used 2018-08-06 20:26:41 +02: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
ctzsnooze
249ee2b309 comma 2018-08-06 20:59:46 +10: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
Alex Wolf
096457fcd4 VTX LUA support for external VTX devices 2018-08-05 21:40:49 -04:00
ctzsnooze
67abb63d95 Set default iterm relax to RP and RC smoothing to filter 2018-08-06 10:01:59 +10: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
Richard Cooper
23d7180da3 Use glyphs from default.mcm 2018-07-31 20:08:02 +01:00
Richard Cooper
516483ee64 Tidy up symbols.h and add docs for osd font 2018-07-31 19:35:01 +01: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
Andrey Mironov
96762b0cb9 Fixed occurrence of OMNIBUSF4 in target.h 2018-07-29 23:01:39 +03:00
Bruce Luckcuck
0fcfb95120 Change default gyro loop to 2.67KHz for I2C gyro targets
Improves dynamic filter operation by providing a wider sampling window due to the higher gyro loop rate.

Makes the dynamic more useful by default on targets like SPRACINGF3.
2018-07-29 10:45:42 -04:00