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

2314 commits

Author SHA1 Message Date
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
3dcca8c9d5 Fix: buzzer often starts beeping continuously on ESCs read 2 2015-10-01 01:16:24 +02:00
4712
3b3e630bc4 Revert "Fix: buzzer often starts beeping continuously on ESCs read"
This reverts commit 2afeefb753.
2015-10-01 01:12:05 +02:00
4712
2afeefb753 Fix: buzzer often starts beeping continuously on ESCs read 2015-10-01 01:06:06 +02:00
4712
d957235358 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 14:35:26 +02:00
borisbstyle
18268e0a3e Merge pull request #13 from MotoLab/f3_i2c_overclk
Overclock F3 I2C at 1000KHz
2015-09-29 20:54:57 +02:00
borisbstyle
babab7aa4e Merge remote-tracking branch 'Pierre-A/CLI_beeper_off' into betaflight 2015-09-29 12:21:18 +02: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
Moto Moto
a126ac56c5 Overclock F3 I2C at 1000KHz 2015-09-28 21:18:04 -05:00
borisbstyle
c944083f73 Merge branch 'master' into betaflight
Conflicts:
	src/main/config/config.c
	src/main/flight/imu.c
2015-09-29 01:03:25 +02: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
borisbstyle
97c65fe697 dterm_cut_hz default to 40hz 2015-09-25 15:47:12 +02:00
borisbstyle
b9e16ef243 Merge branch 'aux_failsafe' into betaflight
Conflicts:
	src/main/config/config.c
2015-09-25 15:34:57 +02:00
borisbstyle
f39ca7add6 Minimize latency in Acro modes with acc enabled 2015-09-25 15:23:04 +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
borisbstyle
bc7dfb5ff5 Fix for changing PID's for users with Inflight Adjustments
Users who upgraded from 1.9 and have inflight adjustments configured now
experience changed PID's. Sometimes even to dangerous and unflyable
situation. Sometimes rx boots slower than the FC

This is because AUX channels go low and usually thats where they change
things.

IMO the new failsafe behaviour for AUX should be midrc default like
before!

cleanup
2015-09-24 15:16:51 +02:00
borisbstyle
4a492c611a More Jitter Enhancements for Naze target
remove debug

Anti Jitter Enhancements for Naze target

Jitter Optimalisation without emf avoidance
2015-09-24 00:40:42 +02:00
borisbstyle
9ed1c46065 Static i2c Clockspeed set to 1200khz (Stability test needed)
Luxfloat can now run with acc stable
2015-09-23 01:25:45 +02:00
Dominic Clifton
aa3e4501bd Fix hmc5883 detection broken in c6f5b98a79 2015-09-22 23:21:33 +02:00
Dominic Clifton
bfd7399f56 Fix typo from c6f5b98a79. 2015-09-22 23:21:32 +02:00
Dominic Clifton
2d5ea0cfda Remove some test code that was accidentally commited in
c6f5b98a79
2015-09-22 23:21:31 +02:00
Dominic Clifton
4a7ecc5d6a Delete unused FAILURE_MODE_COUNT value. 2015-09-22 23:21:30 +02:00
ProDrone
eca7d9fd21 Add CLI variable i2c_overclock
Add i2c_overclock to master config and bump version
Start using the i2c_overclock CLI setting to initialize i2c clock speed
selector for F1 targets.
2015-09-22 23:21:29 +02:00
ProDrone
cce3a1d755 Add I2C clockspeed selection
Default is normal speed (400 kHz).
Added 800kHz and 1200kHz selection (overclocking).
2015-09-22 23:21:28 +02:00
ProDrone
57fc0f0a57 Added debug IMU speed output 2015-09-22 23:21:27 +02:00
Pablo Dorronsoro
0f322d5127 Sparky: Add beeper 2015-09-22 21:57:20 +02:00
borisbstyle
8be859bb36 Yaw Inversion in quaternion_to_rpy 2015-09-22 11:15:49 +02:00
borisbstyle
08d1dab047 Change Defaults for D 2015-09-22 11:05:27 +02:00
borisbstyle
af6f9de903 Jitter enhancements 2015-09-21 00:19:08 +02:00
borisbstyle
d8e62d0508 Remove multiplier by 3 from delta. (Better for defaults) 2015-09-21 00:19:07 +02:00
borisbstyle
ac34896401 Correction ALIENWIIF1 2015-09-21 00:19:06 +02:00
borisbstyle
0539abc649 Dterm scaling correction // Code cleanup 2015-09-21 00:19:06 +02:00
borisbstyle
f5ad7f6003 BetaFlight V2 recognition
Update binaries
2015-09-21 00:19:01 +02:00
borisbstyle
893b45c518 Change defaults // Cleanup debug 2015-09-19 17:39:13 +02:00
borisbstyle
0ea5a99e2b Merge remote-tracking branch 'prodrone/betaflight' into alphaflight 2015-09-19 16:44:11 +02: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
borisbstyle
7f79bc003d TODO comment 2015-09-19 15:10:10 +02:00
ProDrone
0275129c23 Ignore ACC sensor when setting looptime
IMU uses quaternions instead of euler (ACC speedup).
Faster trigonio & math functions activated.
2015-09-19 15:00:02 +02:00
ProDrone
47afa51bd7 Merge branch 'quat_fsm_vfm_clean_yaw_hack_squash' into betaflight
Conflicts:
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-09-19 14:59:47 +02:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92 Added #define for imu debug output (+16 squashed commit)
Squashed local commits:

from       : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00