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

3119 commits

Author SHA1 Message Date
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
Konstantin Sharlaimov (DigitalEntity)
37d9cba4c9 Add ability to get/set mag calibration data 2015-09-02 00:30:21 +02:00
EvilBadger
52c7eac52c Modified VBatt functionality to enable better precision. 2015-09-02 00:30:03 +02: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
Joe Poser
685a0d6234 Typo fix on Readme.me
Minor fix on bullet point in new features list
2015-08-24 10:55:57 +01:00
Moto Moto
2e351b0991 Add MOTOLAB build target and associated source files 2015-08-23 19:42:18 -05:00
Echelon9
cf8a6f8f8b Add command 'make cppcheck' and friend. 2015-08-22 14:23:55 +10:00
Juan González
d48a6d5e32 Fix little typo 2015-08-21 17:27:32 +02:00
Juan González
d857f33490 Update tests invocation in Development.md 2015-08-21 13:05:22 +02:00
Dominic Clifton
c49bd407bf Fix PORT103R and EUSTM32F103RC builds broken by
1f127905f7
2015-08-20 21:56:48 +01:00
Dominic Clifton
1f127905f7 Merge branch 'larryho5-master' 2015-08-20 21:39:15 +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
Dominic Clifton
a373c095e3 Correct new rxfail documentation. Fixes #1238 2015-08-20 18:35:36 +01:00
Dominic Clifton
f0b0cbd83a Update OSX building instructions to cover GCC 4.9.2. 2015-08-20 18:34:15 +01:00
Dominic Clifton
2e81a2892f Merge branch 'Echelon9-feature/make-top-level-test' 2015-08-20 18:28:29 +01:00
Dominic Clifton
b4172941c1 Merge branch 'feature/make-top-level-test' of https://github.com/Echelon9/cleanflight into Echelon9-feature/make-top-level-test 2015-08-20 18:27:22 +01:00
Dominic Clifton
4c4ce63563 Merge pull request #1231 from Echelon9/fix/make-ARCH_FLAGS-dup
Remove duplicated -mfpu=fpv4-sp-d16 under cortex-m4 based targets.
2015-08-20 18:26:16 +01:00
Dominic Clifton
37dbc182d5 Merge pull request #1235 from sherlockflight/pid_msp_max
Fix upper bound clamping of floating point PID settings upon MSP read
2015-08-20 18:25:07 +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
be368bc576 Merge pull request #1224 from cleanflight/rx-loss-detection-fixes
Failsafe - Fixes for RX loss detection.
2015-08-20 02:05:45 +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
Echelon9
e7d4f7da7f Remove duplicated -mfpu=fpv4-sp-d16 under cortex-m4 based targets. 2015-08-19 23:11:02 +10:00
Phillip Jones
241d30a686 Merge branch 'issue_8_sensors_align' of github.com:drtunes/cleanflight into issue_8_sensors_align 2015-08-18 14:03:01 -06: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
Nicholas Sherlock
53a1d7bcd7 Reshuffle Blackbox docs to reduce duplication, some updates 2015-08-18 21:13:41 +12:00
joshuabardwell
a03c0a4bdf Add information about wiring up OpenLog 2015-08-18 21:03:53 +12:00
Echelon9
f85bd89947 Promote 'make test' to a top level folder feature. 2015-08-17 23:02:19 +10:00
Dominic Clifton
6620be1768 Merge pull request #1211 from Echelon9/fix/readme-typo
Fix small typos in README.md
2015-08-17 09:45:07 +01:00
Echelon9
4c03b7880b Further typo fixes in the main README.md 2015-08-16 13:04:34 +10:00
Echelon9
9b71acd49a Fix small typo in README.md 2015-08-15 22:34:22 +10:00
Phillip Jones
92c3d1ac1d Merge branch 'master' into issue_8_sensors_align 2015-08-13 22:35:49 -06:00
Phillip Jones
a163613cf8 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-13 22:13:02 -06:00
Dominic Clifton
e5e7bec406 Merge branch 'ProDrone-rx_sumd_added_crc_check' 2015-08-12 01:11:00 +01:00