1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00
Commit graph

4099 commits

Author SHA1 Message Date
Dominic Clifton
3a84885509 Merge pull request #1374 from ProDrone/improved_rx_failsafe_detection
RX - Improved RX failsafe detection & handling
2015-10-29 21:34:35 +00:00
Dominic Clifton
d252a796e5 Merge pull request #1419 from Pierre-A/fix_HottTelemetry_timing
Fix Hott telemetry timing issue
2015-10-29 21:31:37 +00:00
Dominic Clifton
ade1ef8ac1 Merge branch 'readerror67-usart1_dma' 2015-10-29 21:23:13 +00:00
Read Error
4eb6581b76 Allow USART1 to be used for SERIAL_RX 2015-10-29 21:22:08 +00:00
Read Error
628bd6fb44 F3 ADC fix. 2015-10-29 21:22:06 +00:00
borisbstyle
ba19c3f01e Enable Baro and Mag by default 2015-10-29 22:11:38 +01:00
borisbstyle
89154885d4 Bump Version to 2.1.1 2015-10-29 21:56:40 +01:00
borisbstyle
de49c30515 IRC Identifier 2015-10-29 21:52:50 +01:00
borisbstyle
3d9c177126 Revert "Inhibit the %^0$ buzzer on USB power / Bugfix for no VBAT connected"
This reverts commit bbf70c6370.
2015-10-29 21:44:42 +01:00
borisbstyle
784c5fdbec Add Timer to pidResetErrorGyro
init with zero

pid_at_min_throttle as delay for reset Iterm
2015-10-29 21:39:49 +01:00
borisbstyle
e7ce0193ce Baro Jitter Prevention // Enabled by default 2015-10-29 21:13:12 +01:00
YANN OEFFNER
a2b795580b vOrtex 250 change
- vOrtex 250 configuration added (new target for 250 IRCFUSIONF3)
- fix for barometer on fusion gen 2
- added betaflight identifier (BTLF)
2015-10-29 16:27:28 +01:00
borisbstyle
b2a5b2bb93 New Binary structure 2015-10-29 16:06:29 +01:00
borisbstyle
2eee0f3e4f New version structure 2015-10-29 16:06:01 +01:00
ProDrone
c40db74e61 Working - except when exiting from bootloader
Fixes the `Waiting for Data` problem in configurator when:

- Clicking on `Save and Reboot` button
- Clicking on `Flash Firmware`  button

When the system reboots after programming the new firmware it still
needs a connect/disconnect cycle to work normal. This cannot be solved
since the bootloader is a fixed program in ROM.

Fix is for F1 targets and only tested on naze boards.
2015-10-27 20:09:59 +01:00
borisbstyle
21258ce42d New CC3D Binaries 2015-10-24 21:15:52 +02:00
borisbstyle
3851dbd8fa Update Binaries 2015-10-23 23:23:33 +02:00
borisbstyle
0186614a2a Change Lux Level Default 2015-10-23 23:19:44 +02:00
borisbstyle
5d152a5f4f Correct dT declaration 2015-10-23 23:15:44 +02:00
borisbstyle
763c0d2dfa Merge pull request #26 from AndersHoglund/betaflight
Separate CC3D bin/hex (opbl/non-opbl) in the clean goals.
2015-10-23 23:14:36 +02:00
Anders Hoglund
af5f29afc9 Separate CC3D bin/hex (opbl/non-opbl) in the clean goals. 2015-10-23 18:48:43 +02:00
borisbstyle
7de7ba60d6 Some defaults changed
max angle
2015-10-23 01:32:23 +02:00
borisbstyle
d685b4d6d8 Pid Controller Cleanup
Correction to dump
2015-10-23 01:10:21 +02:00
borisbstyle
d076a60eb5 Cleanup // Reorganisation 2015-10-22 17:27:26 +02:00
Pierre-A
5376dc4ce3 Fix Hott telemetry timing issue 2015-10-22 17:02:44 +02:00
borisbstyle
fbfc9ee9ca EEPROM version 2015-10-22 10:52:00 +02:00
Konstantin Sharlaimov (DigitalEntity)
5df8ca926c Quaternion-based DCM IMU (original code my S.Madgwick)
Restore binaries from merge
2015-10-22 10:45:36 +02:00
Austin St. Aubin
d85e33cc00 Updated Defaults for PIDs.
Updated Defaults for PIDs & a few others.
Also I would like to share a good doc with the Cleanflight community that some might find helpful when working with CLI.
Google Doc: [Cleanflight - CLI Settings Editor - MASTER](https://docs.google.com/spreadsheets/d/1w_oMmGCGX0DwAlVX7pBPtD-X-STbLmb4nSxLJL-hXmc/edit?usp=sharing)
2015-10-21 17:04:41 -05:00
borisbstyle
846b86f489 Update Binaries (21-10-2015) 2015-10-21 09:40:42 +02:00
borisbstyle
cb7028b7f1 Merge remote-tracking branch 'prodrone/improved_rx_failsafe_detection' into betaflight
Conflicts:
	src/main/drivers/accgyro_mpu6500.c
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/system.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
2015-10-21 09:21:33 +02:00
ProDrone
a64e2c4f1a Improved RX failsafe detection & handling
modified debug output (currently disabled)

To solve problem as indicated here:
https://github.com/cleanflight/cleanflight/issues/1266#issuecomment-135640133

and here:
https://github.com/cleanflight/cleanflight/pull/1340

and here:
https://github.com/cleanflight/cleanflight/pull/1342

Tested on FrSKY X4RSB with latest CPPM firmware (non-EU version).
Firmware filename: X4R-X4RSB_cppm_non-EU_150630

In both SBUS and CPPM mode.

---
Added delay to rxfail detection

All channels are monitored for bad (out of valid range) pulses.
On bad pulses channel data will HOLD the last value for a period of
MAX_INVALID_PULS_TIME (300ms) before starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.

---
Init ARM switch rc channel to OFF for safety

Initialize ARM switch to OFF position when arming via switch is defined.
To prevent arming during init when RX is disconnected and/or when RX is
connected but TX is still off.

---
Modified rx_rx_unittest.cc

Adapted because rxInit() parameters changed.
Added tests for ARM switch initialization.
No further tests added.

---
Move smoothing of rcData to rcCommand

Commit from @borisbstyle pr #1418
rc_smoothing function has changed to leave rcData unchanged in #1418
2015-10-21 01:50:59 +02:00
borisbstyle
a31a962467 Move smoothing of rcData to rcCommand 2015-10-20 20:26:35 +02:00
Pierre-A
48c8802153 Fix Hott telemetry timing issue 2015-10-20 14:48:57 +02:00
borisbstyle
2b722b6f82 Merge remote-tracking branch 'digitalentity/cc3d-buzzer-on-pin6' into betaflight 2015-10-20 11:12:32 +02:00
borisbstyle
18c972f9a8 Merge pull request #22 from MotoLab/beep_inhibit
Inhibit the buzzer on USB power, if batterycellcount < 2
2015-10-20 09:54:11 +02:00
Lichtl
82c6ef11af Correcting wrong compass alignment reported in #1407 2015-10-20 09:48:22 +02:00
Moto Moto
bbf70c6370 Inhibit the %^0$ buzzer on USB power 2015-10-19 22:19:38 -05:00
Dominic Clifton
efc31f9d57 Merge pull request #1409 from readerror67/f3adcfix
F3 ADC fix.
2015-10-19 23:02:41 +01:00
Dominic Clifton
7323b47ba4 Merge pull request #1408 from readerror67/clbrmpufix
COLIBRI RACE gryoDetection fix.
2015-10-19 23:02:22 +01:00
Read Error
bd62fab916 F3 ADC fix. 2015-10-17 08:35:59 -04:00
Read Error
f70958b6d3 COLIBRI RACE gryoDetection fix. 2015-10-17 08:32:30 -04:00
borisbstyle
086e383602 Merge Cleanup for old CC3D INT Code
more merge errors CC3D
2015-10-16 13:30:02 +02:00
borisbstyle
eb138dc601 COLIBRI_RACE MPU_DATA_READY Handler
Colibri Race MPU INT support

revert some things

revert more

Update Colibri Race Binaries

Update target.h Colibri_race

Update Target.h
2015-10-16 12:41:49 +02:00
Dominic Clifton
ddc5a5f15f Add IRQn_Type to tests to fix compilation errors. 2015-10-16 10:40:59 +02:00
Petr Ledvina
4e86cd01eb Remove unused pointes if SKIP_CLI_COMMAND_HELP is defiend 2015-10-16 10:40:59 +02:00
Petr Ledvina
7a1342bce5 Make CW0_DEG default in alignSensors 2015-10-16 10:40:58 +02:00
Juan González
479315a49b Little cleanup in Gtune documentation
It was a little bit hard to read with only two paragraphs, and looking at the raw .md file it was clear that having just two paragraphs was not the original intention.
2015-10-16 10:40:58 +02:00
Dominic Clifton
4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
Dominic Clifton
2c9d7450ac Add MPU INT support to mpu6500 driver. 2015-10-16 10:34:43 +02:00
Dominic Clifton
526f4777a2 Add IRQn_Type to tests to fix compilation errors. 2015-10-16 08:24:19 +01:00