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
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
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
borisbstyle
2b722b6f82
Merge remote-tracking branch 'digitalentity/cc3d-buzzer-on-pin6' into betaflight
2015-10-20 11:12:32 +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
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
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
Petr Ledvina
fcc9556610
Remove unused pointes if SKIP_CLI_COMMAND_HELP is defiend
2015-10-15 23:37:21 +01:00
Petr Ledvina
bea9ae729e
Make CW0_DEG default in alignSensors
2015-10-15 23:34:46 +01:00
Dominic Clifton
9b054f6fde
More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
...
Rev6.
2015-10-15 23:04:55 +01:00
Dominic Clifton
026afb22c7
Add MPU INT support to mpu6500 driver.
2015-10-15 21:07:54 +01:00
borisbstyle
5b14ab6004
Add mpuIntExtiInit for MPU6500 drivers
2015-10-15 17:06:54 +02:00
borisbstyle
05dec6c21e
Revert "Remove OpenPilot bootloader support."
...
This reverts commit 0150abf1bc
.
Conflicts:
src/main/target/CC3D/target.h
2015-10-15 09:59:29 +02:00
borisbstyle
e25087bbbc
failsafe_off_delay default
...
default
Max Invalid Pulse to 6
Max Invalid Pulse to 10
Max Invalid Pulse to 20
2015-10-15 09:53:38 +02:00
ProDrone
44b751cd5a
Added delay to rxfail detection
...
Added a bad pulse counter to all channels.
More than MAX_INVALID_PULS_COUNTS bad pulses required before
starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.
2015-10-15 09:53:37 +02:00
digitalentity
a2743f50e9
Moved buzzer to Out6
...
Removed PWM12 (Out6) from pwm_mapping
Updated documentation
2015-10-14 22:30:54 +10:00
cmenard
23c534823e
RMDO: Make firmware fit all variants
2015-10-13 00:45:28 +02:00
cmenard
18aaf7a892
RMDO: Bring up to date with GTUNE and SERIAL_1WIRE
2015-10-13 00:45:24 +02:00
borisbstyle
1fed2579c1
Betaflight Final
2015-10-13 00:30:20 +02:00
borisbstyle
4b3ba927e9
Merge branch 'master' into betaflight
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/drivers/serial_usb_vcp.c
src/main/flight/imu.c
src/main/mw.c
src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
borisbstyle
4b7fd5a2de
Restore Original CF Failsafe
2015-10-12 23:38:52 +02:00
Dominic Clifton
0150abf1bc
Remove OpenPilot bootloader support.
...
This can be added back at a later date if required if enough code-size
savings can be found, for instance, the removal of the CLI.
2015-10-12 20:44:51 +01:00
Dominic Clifton
8402f4512a
Merge pull request #1276 from sherlockflight/3d-pid-at-min-throttle
...
Add support for pid_at_min_throttle = 0 for 3D flight
2015-10-12 20:27:53 +01:00
Dominic Clifton
a319394f6b
Merge branch 'blackbox-serial-budget' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-serial-budget
...
Conflicts:
src/main/blackbox/blackbox.c
2015-10-12 20:14:20 +01:00
Petr Ledvina
8f3d9fae9a
unify typedef struct name_s {} name_t;
naming convention
2015-10-12 19:58:12 +01:00
Petr Ledvina
1613c2d572
use full declaration for ImuInit
2015-10-12 19:58:12 +01:00
Petr Ledvina
6999cf1742
Simplify #ifdef nesting
2015-10-12 19:58:11 +01:00
Petr Ledvina
8f6de3e553
Remove unnecessary floating-point calculation
2015-10-12 19:58:10 +01:00
Petr Ledvina
fba2c3d5cc
safety check in altitude code
...
Make sure altitude is in expected range
2015-10-12 19:58:09 +01:00
Petr Ledvina
b723f94c1f
improve code readability
...
it is possible to use traling comma, it does improve git diffs etc.
2015-10-12 19:58:08 +01:00
Petr Ledvina
e8f0e0d97c
use #defines
for ADC on stm32f10x
...
Make stm32f103 ADC more similar to stm32f30x
2015-10-12 19:58:07 +01:00
Petr Ledvina
48cdf650d9
improve container_of macro
2015-10-12 19:58:06 +01:00
Petr Ledvina
dc5a888633
cpm16 / cmp32 functions
...
used to compare timestamps with correct wrap. A bit more readable that typecasting in code. Only few uses replaced now
2015-10-12 19:58:05 +01:00
borisbstyle
5e87387e16
Code Cleanup // Defaults // Version Rename
...
No more version numbering. It's confusing.
Betaflight Bee Version
2015-10-09 23:33:00 +02:00
borisbstyle
4cbff888df
D scaling adjusted to match normal Cleanflight
2015-10-08 16:34:11 +02:00
borisbstyle
8d8d57a1f4
Set F1 target i2c to 800khz
...
Still 200us spare time left in luxfloat
2015-10-08 15:38:49 +02:00