1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00
Commit graph

63 commits

Author SHA1 Message Date
AJ Christensen
3c8b9637c8 Biquad RC+FIR2: Reverse interface settings DEFINE conditional
* Previously we allowed the user to override from the Biquad RC+FIR2 to the FKF
  impl. at compile time via `make OPTIONS=USE_GYRO_FAST_KALMAN`.
* This was regressed in PR #5144 / commit: 4dd65a2. Restores previous behavior.
2018-02-17 22:51:25 +13:00
mikeller
1de60106b2 Fixed ordering of SPI RX protocols. 2018-02-15 00:22:36 +13:00
Michael Keller
afff03197c
Merge pull request #5144 from fujin/bqrcf2-lpf-cutoff-hz
Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
2018-02-14 13:23:57 +13:00
AJ Christensen
4dd65a2876 Biquad RC+FIR2: Allow user to specify cutoff Hz parameter directly
* Generate 'k' per the code for the PT1
* Adjust function prototypes/functions to accept f_cut/dT where applicable
* Adjust gyro configuration, parameter group, interface settings to suit
2018-02-14 12:09:49 +13:00
jflyper
45c5d37693 Use permanentId for config, convert to boxId_e at init 2018-02-12 16:02:38 +09:00
jflyper
6557b161aa Add box to pinio monitor/mapper 2018-02-12 13:54:40 +09:00
Michael Keller
06691e4d7c
Merge pull request #5108 from jflyper/bfdev-pinio
PINIO Generic pin output driver
2018-02-12 15:06:48 +13:00
jflyper
9475988218 Make burst and non-burst runtime configurable 2018-02-11 23:24:07 +09:00
jflyper
8f76a11081 Generic pin output driver 2018-02-11 15:57:28 +09:00
Michael Keller
81e75badf3
Merge pull request #3724 from DanNixon/cms_power_config
CMS power menu
2018-02-11 13:19:30 +13:00
Michael Keller
ec4b3b0d60 Revert "CAMERA_CONTROL Drop software PWM mode" 2018-02-11 12:33:00 +13:00
jflyper
93ce6e542a Separate pg related to pg directory 2018-02-09 16:46:12 +09:00
jflyper
86149361ab Drop softpwm option
Also separates PG related code to pg directory.
2018-02-04 12:29:22 +09:00
Dan Nixon
22874d8ba2 CMS power menu
Menu including:
- Voltage meter selection
- Current meter selection
- Max cell voltage (moved from MISC menu)
- Voltage scale adjust (moved from MISC menu)
- ADC current scale and offset adjust
- Virtual current scale and offset adjust
2018-02-01 15:31:45 +00:00
Michael Keller
8738e7d623
Merge pull request #5092 from etracer65/airmode_activate_3d_fix
Change airmode activation to be throttle percent based to fix 3D mode
2018-02-02 02:59:14 +13:00
Michael Keller
e4b96eb97a
Merge pull request #5073 from wind0r/remove_disarm_kill_switch_disable
remove setting which disallow disarming on throttle above low
2018-02-02 00:50:50 +13:00
Bruce Luckcuck
003979a2eb Change airmode activation to be throttle percent based to fix 3D mode
The previous logic used an absolute throttle value of 1350us which won't work in 3D mode and resulted in airmode being activated on arming.  Renamed the parameter to airmode_start_throttle_percent and set the default to 32 (equivalent to what the previous setting of 1350 when min_check is taken into account).

To preserve MSP functionality the value is transformed to/from microsecond values (32 becomes 1320) when interfaced.
2018-01-31 22:40:56 -05:00
Bruce Luckcuck
a32b05c284 Initial implementation of Runaway Takeoff Prevention (anti-taz)
Detects runaway pidSum values on takeoff and auto-disarms to prevent the "Tasmanian Devil" caused by incorrect props, wrong motor order/direction, incorrect flight controller orientation, etc.  After a successful takeoff and normal flight is detected the feature is disabled for the remainder of the battery.
2018-01-31 07:36:16 -05:00
Martin Budden
7acebf8b34 Increased number of rate profiles to 6 2018-01-31 09:21:53 +00:00
Steffen Windoffer
45a6588eaf remove setting which disallow disarming on throttle above low 2018-01-30 23:48:54 +01:00
Steffen Windoffer
0506d755a3 remove unused entries from cli lookup table 2018-01-27 22:58:27 +01:00
Adrian Miriuta
b21d681153 Introduced cli parameter <gyro_offset_yaw>
It allows to manually compensate gyro drift over time.
rebased squashed.
2018-01-25 12:45:38 +01:00
Michael Keller
b579ef2703
Merge pull request #4992 from mikeller/fix_selectable_rates
Fixed Betaflight rates calculation. Moved `rates_type` into rate profile config in CLI.
2018-01-20 16:48:06 +13:00
Michael Keller
c4b5748b8d
Merge pull request #4978 from qba667/betaflight_ibus
Additional IBUS telemetry implemented.
2018-01-20 16:27:50 +13:00
mikeller
d9922c8227 Fixed Betaflight rates calculation. Moved rates_type into rate profile config in CLI. 2018-01-20 16:16:45 +13:00
qba667
5748e75408 Additional IBUS telemetry implemented. 2018-01-18 13:37:02 +01:00
mikeller
ee65eba88d Added selectable RaceFlight rates. 2018-01-19 00:38:14 +13:00
Michael Keller
bca7b905b5
Merge pull request #4965 from fujin/biquad-RC-FIR2-filter
Biquad RC+FIR2 Filter: Prototype of ledvinap's suggestion on #4890
2018-01-16 16:15:33 +13:00
AJ Christensen
17bd318ec1 Biquad RC+FIR2 Filter: Prototype of ledvinap's suggestion on #4890
https://github.com/betaflight/betaflight/pull/4890#issuecomment-356636997
2018-01-16 15:37:19 +13:00
Michael Keller
bf1d31083b
Merge pull request #4926 from DanNixon/osd_temperatures
Add temperature sensors to OSD
2018-01-16 01:03:19 +13:00
mikeller
018c24fec2 Fixed range for setpoint_relax_ratio to avoid division by zero. 2018-01-14 12:12:54 +13:00
Dan Nixon
f8e4d02c99 Add core (MCU) temperature to OSD 2018-01-13 12:39:42 +00:00
mikeller
88a7aeb672 Adjusted CLI parameter value range for PWM input parameters to be the valid PWM input range. 2018-01-10 18:55:00 +13:00
Michael Keller
2157bd67e0
Merge pull request #4916 from mikeller/convert_vtx_defines_to_use_use
Converted defines for `VTX_COMMON`, `VTX_CONTROL`, `VTX_RTC6705`, `VTX_RTC6705SOFTSPI`, `VTX_TRAMP`, `VTX_SMARTAUDIO` to use `USE_` prefix.
2018-01-10 01:04:39 +13:00
Michael Keller
05304e07d0
Merge pull request #4890 from fujin/rs2k-fast-kalman-implementation-only
Fast Kalman Gyro Filter: Implementation and parameter groups only
2018-01-10 00:55:02 +13:00
mikeller
385623bd9d Converted defines for VTX_COMMON, VTX_CONTROL, VTX_RTC6705, VTX_RTC6705SOFTSPI, VTX_TRAMP, VTX_SMARTAUDIO to use USE_ prefix. 2018-01-09 17:34:34 +13:00
Michael Keller
ce2c3e28bd
Merge pull request #4907 from martinbudden/bfa_settings_alt_hold
Moved some alt_hold settings under build flag
2018-01-09 14:50:04 +13:00
Moto Moto
b931284a58 Fix power control for RTC6705 VTXs 2018-01-07 16:14:16 -06:00
Kalyn Doerr
6e6aafe6d5 Fast Kalman Gyro Filter: Implementation and parameter groups only
Signed-off-by: AJ Christensen <aj@junglistheavy.industries>
2018-01-08 08:15:20 +13:00
Chris
efc556f91a Add LPS25HB driver 2018-01-07 18:00:19 +01:00
Martin Budden
13dc428203 Moved some alt_hold settings under build flag 2018-01-07 10:25:17 +00:00
mikeller
09d396c05c Cleaned up parameter group handling.
Fixed missing include.
2017-12-31 10:51:01 +13:00
mikeller
0b9884961d Updated handling of FrSky telemetry processing, renamed to FrSkyHub for disambiguation. 2017-12-28 11:01:35 +13:00
mikeller
f6bdfd91e2 Moved beeper parameter groups to pg/. 2017-12-24 17:56:37 +13:00
mikeller
2d930b28ce Moved vcd parameter group to pg/. 2017-12-24 15:13:48 +13:00
mikeller
d82c72bc54 Moved sdcard parameter group to pg/. 2017-12-24 12:23:27 +13:00
mikeller
9cb4f6b097 Moved parameter group for rx_pwm to pg directory. 2017-12-24 10:04:45 +13:00
mikeller
200167aaf7 Moved max7456 parameter group into pg/ directory. 2017-12-24 09:09:26 +13:00
Martin Budden
2281c9ab8c Add option to check gyro overflow on yaw or all axes 2017-12-23 16:51:08 +00:00
jflyper
a510091bf1 Add Benewake TFmini/TF02 support 2017-12-21 02:21:36 +09:00