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

2684 commits

Author SHA1 Message Date
borisbstyle
bb12ad8646 Yaw pterm_cut_hz (derived from pterm_cut_hz) 2015-09-02 00:30:57 +02:00
borisbstyle
7a6fbc1702 original dT back
update hex
2015-09-02 00:30:56 +02:00
borisbstyle
bb4b5526cc Correction in watchdog // old dT
restore old dT
2015-09-02 00:30:53 +02:00
borisbstyle
5390cdc804 Selectable BARO (set baro_hardware)
Disabling baro will boost performance on FULL boards
2015-09-02 00:30:51 +02:00
borisbstyle
00ae128e3d constdT for gyro fliter
dTGyro
2015-09-02 00:30:49 +02:00
borisbstyle
41895bc1af New Clli params RC Smoothing and sync_gyro_to_loop 2015-09-02 00:30:46 +02:00
borisbstyle
259630840a Luxfloat more precision in Configurator tuning 2015-09-02 00:30:45 +02:00
borisbstyle
b02a884c0c Betaflight Recognition 2015-09-02 00:30:44 +02:00
borisbstyle
6a92b9a808 F1 target decreased max refresh 2015-09-02 00:30:43 +02:00
borisbstyle
a2d3a79187 Add MPU3050 INT_STATUS 2015-09-02 00:30:42 +02:00
borisbstyle
6f3afb2df1 Enable full 1khz sampling on F1 boards (no acc mode) 2015-09-02 00:30:41 +02:00
borisbstyle
de5f6aa68f MPU6500 INT_STATUS support // MPU3500 dummy handling 2015-09-02 00:30:40 +02:00
borisbstyle
26deeb8ff6 Loop synced to Gyro
Remove double MPU_RA_PWR_MGMT_1

Looptime to Gyro refresh rate

disable 2khz when acc used for F3

Gyro sync code improvement

doc change
2015-09-02 00:30:39 +02:00
borisbstyle
07b9aceb7c Luxfloat Optimisation and new defaults
Remove constraining of delta

Yaw D default to 10

Default change and rebase with master
2015-09-02 00:30:38 +02:00
borisbstyle
d282ec3483 Remove TPA from Iterm PID1 2015-09-02 00:30:37 +02:00
borisbstyle
60955fc27d RC Smoothing
fix loopcount

Improve AUX logic // initial factor set to 1

Better Delta approach

FIX AUX CALC

Update refresh rates
2015-09-02 00:30:36 +02:00
borisbstyle
fdcfe71b73 Improve soft filtering function for reuse
Reorder serial.c *_cut_hz parameters

Remove unnecessary dT calculation in luxfloat

Restructured filter

filter.h fix

Luxfloat remove internal dT

Void function for gyro fillter
2015-09-02 00:30:35 +02:00
Richard Lehey
637fd64f36 Add support for new BMP280 barometer, modified files 2015-09-02 00:30:33 +02:00
Richard Lehey
105910b25a Add support for new BMP280 barometer 2015-09-02 00:30:32 +02:00
nathan
5c20fdf1c5 SPRACINGF3 support for serial1wire passthrough 2015-09-02 00:30:31 +02:00
nathan
5e16460c98 serial 1wire passthrough for ESCs with the BlHeli bootloader 2015-09-02 00:30:30 +02:00
borisbstyle
a534868408 Luxfloat Optimisation and new defaults
Remove constraining of delta

Yaw D default to 10

Default change and rebase with master
2015-09-01 23:43:09 +02:00
borisbstyle
ff23cab2a8 Remove Aux filter // more accurate cycleTime // Code cleanup
Change datatypes
2015-09-01 23:41:56 +02:00
borisbstyle
b69bab33b2 Configurable RC Smoothing 2015-09-01 23:41:56 +02:00
borisbstyle
eaff64d25f RC Smoothing
fix loopcount

Improve AUX logic // initial factor set to 1

Better Delta approach

FIX AUX CALC

Update refresh rates
2015-09-01 23:41:55 +02:00
Nicholas Sherlock
be815ec070 Support pid_at_min_throttle = 0 for 3D flight 2015-09-01 01:46:44 +12:00
Nicholas Sherlock
1a15e5aa08 Blackbox: Fix slow frames were not logged when logging rate was 1/32 2015-08-30 21:53:33 +12:00
Nicholas Sherlock
2b356a47dc Improve Blackbox header writing reliability 2015-08-30 02:33:16 +12:00
Nicholas Sherlock
f29b9dd329 Blackbox: Use rx getters instead of importing private state directly 2015-08-28 21:26:11 +12:00
Nicholas Sherlock
b6a75cb3f1 Add Blackbox logging of rx loss state flags
Closes #1266
2015-08-28 17:26:45 +12:00
Moto Moto
2e351b0991 Add MOTOLAB build target and associated source files 2015-08-23 19:42:18 -05:00
Dominic Clifton
c49bd407bf Fix PORT103R and EUSTM32F103RC builds broken by
1f127905f7
2015-08-20 21:56:48 +01:00
Dominic Clifton
7adfeffafb Cleanup SPI initialisation. Relocate mpu6500 spi configuration from
Colibri race specific code into the mpu6500 driver.
2015-08-20 21:39:02 +01:00
Larry (TBS)
3b1f423c49 COLIBRI RACE support 2015-08-20 19:18:10 +01:00
Nicholas Sherlock
c5a7914fe8 Fix upper bound clamping of FP PID settings upon MSP read 2015-08-20 16:10:18 +12:00
Dominic Clifton
718729504e Allow FC to reverse input channels by using rxrange.
Just reverse the min/max arguments.

Unit tested.

Fixes #1132.
2015-08-20 02:46:03 +01:00
Dominic Clifton
3f8363f908 Merge pull request #1233 from cleanflight/rxfail-auto-mode
Failsafe - Add rxfail `auto` mode.
2015-08-20 02:05:51 +01:00
Dominic Clifton
2c79b9777e Large code re-organization which separates some key tasks in the rx
code.

Tested with X8R in SBus and PWM, and Spek Sat, GR-24 PPM, PWM and SUMD,
Spek PPM
2015-08-20 01:46:29 +01:00
Dominic Clifton
a030d4dd9e Failsafe - Add rxfail auto mode. Allow rxfail to be used for all
channels, not just aux channel.
2015-08-20 01:37:29 +01:00
Dominic Clifton
5142ff032a HoTT - Apply quick workaround to allow HoTT to work on hardware serial
ports, previously only softserial was working. - See #1021
2015-08-19 17:55:01 +01:00
codepox
5c23e9a181 Bug: Telemetry Smartport Current amprerage is 10 times to big 2015-08-19 00:20:03 -04:00
Phillip Jones
f239eb3f35 This addresses issue #8 by adding unit tests for sensorsAlign().
The test file includes a simple independent implementation of
vector rotation. Each of the following sensor_align_e types are
tested:
 * CW0_DEG
 * CW90_DEG
 * CW180_DEG
 * CW270_DEG
 * CW0_DEG_FLIP
 * CW90_DEG_FLIP
 * CW180_DEG_FLIP
 * CW270_DEG_FLIP

For each test, three unit vectors and a random vector are tested.
 * {1, 0, 0}
 * {0, 1, 0}
 * {0, 0, 1}
 * {R, R, R} (where R is a random number)

The vector under test is rotated using the functions defined in the
test file. The output of the test function is compared to the
output of the sensorsAlign() function. The outputs match for all
test conditions.
2015-08-18 14:00:37 -06:00
Dominic Clifton
3878a7ea2c make the rollover pattern tests less verbose 2015-08-18 19:08:37 +01:00
Echelon9
c6a3d3c2f6 imu: Replace MAGIC_NUMBER with proper array size reference. Consistent with GPS_angle[ANGLE_INDEX_COUNT]. 2015-08-16 00:21:23 +10:00
Dominic Clifton
94c243c279 Merge branch 'rx_sumd_added_crc_check' of https://github.com/ProDrone/cleanflight into ProDrone-rx_sumd_added_crc_check
Conflicts:
	src/main/rx/sumd.c
2015-08-12 01:10:31 +01:00
Dominic Clifton
f510fe88b7 Merge pull request #1190 from ProDrone/pr995_modifications_1
RX - Corrections to RX fail detection, hold and preset, when using a PWM connection
2015-08-12 00:31:55 +01:00
ProDrone
d2c40076db PPM and PWM now have their own ___ReadRawRC functions.
Because a required change for PWM disturbed the PPM mode.
2015-08-12 00:58:44 +02:00
Dominic Clifton
cb92878fd0 Merge pull request #1172 from digitalentity/magzero-cli
Add ability to get/set mag calibration data
2015-08-11 22:16:45 +01:00
Dominic Clifton
e0d8f3bb1c Merge pull request #1185 from EvilBadger/MFNBFC-Battery
Modified VBatt functionality to enable better precision.
2015-08-11 21:52:36 +01:00
henn1001
7bd79e159c quick implementation of fastpwm 2015-08-11 01:56:32 +02:00