Michael Jakob
6c022455c5
Add BlackBox recording for G-Tune
2015-10-04 18:37:19 +02:00
Michael Jakob
daceb2db9a
Fix G-Tune for LuxFloat PID controller
...
G-Tune documentation fix
2015-10-04 18:37:18 +02:00
Michael Jakob
43f5792a61
G-Tune port from Harakiri
...
Enabled for NAZE, ALIENWWIIF1 and ALIENWIIF3 targets
Implement G-Tune for all PID controllers
The G-Tune tuning results will be save if G-Tune mode will be disabled
during copter is disarmed.
Update PID controller and G-Tune documentation
2015-10-04 18:37:18 +02:00
Michael Jakob
b20dc77a74
Harakiri PID controller make hardcoded parameters configurable
2015-10-04 18:37:17 +02:00
Dominic Clifton
07d985ba5c
More MPU cleanups.
2015-10-02 15:43:44 +01:00
Dominic Clifton
aac13914f9
LPF setting is not needed to detect the gyro sensor, only when it's
...
initialised; now the lpf setting is passed to gyroInit().
This saves a bit of code size and ram as well as making the code
cleaner.
2015-10-02 15:43:44 +01:00
Dominic Clifton
06ceac0614
Remove unused variable warnings when no SPI sensors are used.
2015-10-02 15:43:44 +01:00
Dominic Clifton
6fb500f580
NAZE32 - Add support for BMP280.
2015-10-02 15:43:44 +01:00
Richard Lehey
501c83f851
Add support for new BMP280 barometer
2015-10-02 15:43:44 +01:00
Dominic Clifton
85ba1eb0bd
Add support for MPU6500 connected via I2C.
2015-10-02 15:43:44 +01:00
Dominic Clifton
678c0413cb
Relocate and use some of the common MPU code from MPU6000 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
0361d161fb
Relocate and use some of the common MPU code from MPU6500 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
da46d9f1d2
Relocate and use some of the common MPU code from MPU3050 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
b46d56a5bd
Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Nicholas Sherlock
ca2a6d9cdd
Fix VCP support for new Tx bytes free vtable entry
2015-10-01 17:25:27 +13:00
Nicholas Sherlock
94affd5841
Fix truncated blackbox headers on fast looptimes/slow UARTs
...
As a consequence, now supports 19200 baud for Blackbox logging
2015-10-01 16:48:56 +13:00
Nicholas Sherlock
6e504ca52a
Ability to see how many Tx bytes are free in serial port buffer
2015-10-01 16:48:56 +13:00
4712
f796f93791
Fix: buzzer often starts beeping continuously on ESCs read 2
2015-09-30 19:40:14 -07:00
nathan
e466ed2618
Merge branch 'master' into serial1wire-blheli-multiesc
2015-09-30 08:52:09 -07:00
4712
f43a4186f5
Timeout issue at exit/switch ESC channel fixed
...
- also changed some comments
- uint32_t instead of uint16_t reduced compile size here (check this)
2015-09-30 08:50:52 -07:00
Dominic Clifton
52881b3dfd
Merge pull request #1103 from borisbstyle/luxfloat_delta
...
Luxfloat Optimisation and new defaults
2015-09-29 10:48:23 +01:00
Dominic Clifton
36a3ee4e59
Merge branch 'rcFilter' of https://github.com/borisbstyle/cleanflight into borisbstyle-rcFilter
2015-09-29 10:36:41 +01:00
Dominic Clifton
2c701bd58f
Merge pull request #1212 from Echelon9/fix/imu-magic-number
...
imu: Replace MAGIC_NUMBER with proper array size reference.
2015-09-28 02:17:02 +01:00
Dominic Clifton
ea35c735a3
Merge pull request #1230 from codepox/master
...
Bug Fix : Telemetry Smartport Current amperage is 10 times too big
2015-09-28 02:14:27 +01:00
Dominic Clifton
a47b8f0d58
Merge pull request #1301 from Pierre-A/adcRssi-correction
...
Fix incorrect DMA index for RSSI and External (F1 proc)
2015-09-28 02:12:25 +01:00
Dominic Clifton
779702230f
Fix mAhDrawn - one too many / 1000.
...
Without this commit the mAhDrawn was always 0, now at ~10A draw it ticks
up.
This needs to be verified, but seems to match behaviour of 1.9.x.
Fixes #1353
2015-09-28 01:44:53 +01:00
ProDrone
cc22e76912
RX init issue, optimization.
...
RX initialization/startup issue resolved:
Rx fail fallback values were wrong during init phase.
Without a (powered) receiver connected they stayed there after init.
With a powered receiver they assumed the correct state after init
(causing possible switch events on startup).
Code optimizations:
Taking expression out of the loop.
Prevent double call to function.
Eliminate function call.
Reset rcSampleIndex on rxInit().
2015-09-26 16:29:33 +02:00
Nicholas Sherlock
8e9669dc0c
Fix RX_MSP writing to rcData was causing feedback loop with channel map
...
Fixes support for RX_MSP > 8 channels
2015-09-25 01:34:50 +12:00
Nicholas Sherlock
90ebf2a92d
Fix RX_MSP never set rxSignalReceived to true, increase allowed delay
2015-09-25 01:24:27 +12:00
Dominic Clifton
0d6d83925f
Fix hmc5883 detection broken in c6f5b98a79
2015-09-19 14:30:27 +01:00
Dominic Clifton
e0f4ddeccd
Fix typo from c6f5b98a79
.
2015-09-19 14:26:09 +01:00
Dominic Clifton
0d391eccc4
Remove some test code that was accidentally commited in
...
c6f5b98a79
2015-09-19 14:23:50 +01:00
Dominic Clifton
a9c775b03d
Delete unused FAILURE_MODE_COUNT value.
2015-09-18 20:33:17 +01:00
sblakemore
de6b4e2d73
motolab serial-1wire support, from betaflight / @sblakemore
2015-09-15 19:52:27 -07:00
Pierre-A
0ad8f8e6d3
correction of bug for adcRssi
2015-09-12 11:29:55 +02:00
Dominic Clifton
c6f5b98a79
Improve failure LED status flashing. Now users can identify and report
...
hardware failures by counting the number of long flashes.
Fix up sensor read API so that code that uses sensors can detect
malfunctions.
If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
Nicholas Sherlock
6c231e189b
Reduce amount of wasted dataflash space upon power cycle
...
This wasted overhead becomes important when using the Blackbox "pause"
switch and logging very few of your flights.
2015-09-11 14:17:00 +12:00
Dominic Clifton
6706abdb2e
Merge branch 'issue_8_sensors_align' of
...
https://github.com/drtunes/cleanflight into
drtunes-issue_8_sensors_align
Conflicts:
src/test/Makefile
2015-09-10 02:38:58 +01:00
borisbstyle
786588756e
Bump EEPROM
2015-09-10 02:22:51 +01:00
borisbstyle
26f89b74bd
Configurable Baro Type
...
We can disable/configure mag, acc, but why not baro?
ident
2015-09-10 02:22:50 +01:00
Dominic Clifton
c4680b3b3d
More test code cleanup.
2015-09-10 02:06:15 +01:00
Dominic Clifton
0070573420
Fix unit tests - the tests cannot use a common library of production
...
since when compiling some test code the idea is to stub out production
functionality rather than call production code.
2015-09-10 02:06:14 +01:00
Dominic Clifton
4737f33b19
revert "tests: simplify the build config by building as a library"
2015-09-10 02:06:13 +01:00
Dominic Clifton
76666a3280
Merge pull request #1292 from ProDrone/is1257_rx_suspend_changes_1
...
RX - Adapted implementation of RX suspend & resume on EEPROM read & write
2015-09-10 00:40:08 +01:00
Dominic Clifton
f7b3914a91
Fixing merge and build broken by
...
3cf77579ba
2015-09-10 00:22:08 +01:00
Dominic Clifton
45c82741e7
Enable telemetry_inversion by default on STM32F30x targets because the
...
hardware supports inversion natively.
2015-09-09 21:02:42 +01:00
Dominic Clifton
9d00fb6af4
Merge branch 'acro-external-I2C-baro' of
...
https://github.com/SteveAmor/cleanflight into
SteveAmor-acro-external-I2C-baro
Conflicts:
src/main/drivers/barometer_bmp085.c
src/main/drivers/barometer_bmp085.h
2015-09-09 20:33:02 +01:00
Dominic Clifton
5d5fd81b2e
Fix bug where PPM rx stops working on sparky or CC3D when using motor
...
PWM rate > 500 (brushed motor mode).
Fix is the same as for OneShot since both brushed motors and oneshot use
an 8mhz timer.
Fixes #58
2015-09-09 19:25:08 +01:00
Dominic Clifton
b2f9e603df
STM32F3Discovery - correct default sensor alignment, closes #1289
...
Also updated ChebuzzF3 variant.
2015-09-09 18:48:12 +01:00
ProDrone
5ca5c2d161
Adapted RX suspend & resume on EEPROM read & write
...
Modified to make mechanism use time instead of counters for call
frequency independency.
Skipping RC samples uses a counter for time independency.
Also LED and beeper patterns were changed by previous implementation.
Corrected with RX supend/resume feedback to failsafe system.
2015-09-07 14:19:12 +02:00