borisbstyle
8c8da923a7
2.5 Patch 1
2016-03-04 09:10:10 +01:00
Moto Moto
b75b01b4c5
Fixed ON_USB beeper inhibit
2016-03-03 23:06:04 -06:00
borisbstyle
be038743b2
Add Beeper disable ON_USB
2016-03-03 21:05:21 +01:00
borisbstyle
3bd8c467c4
Remove re-calculations // Increase minimum
2016-03-03 21:05:02 +01:00
borisbstyle
3d345c4299
Cleanup old beeper command
2016-03-03 17:18:49 +01:00
Pierre-A
5b2e79525c
add BEEPER_SYSTEM_INIT condition
2016-03-03 17:04:21 +01:00
Pierre-A
6b1e3fc2c4
including suggestions by ledvinap
2016-03-03 16:59:09 +01:00
Pierre-A
3af6ff7e9b
beeperCount in beeperOffSetAll for config_unittest
2016-03-03 16:58:50 +01:00
Pierre-A
b4fb558dd4
new "beeper" CLI command
2016-03-03 16:58:01 +01:00
borisbstyle
257865cff2
Simplify Fixed point Math notations
2016-03-03 16:17:10 +01:00
borisbstyle
431ca856cf
Add back subtasks
2016-03-03 13:33:07 +01:00
borisbstyle
88a70f53d1
Accelerometer Range Increased to 16G
...
Change scale according to the int32_t / 16
2016-03-03 13:13:20 +01:00
borisbstyle
9df909bae2
Dynamic motor update timing based on ESC protocol
2016-03-03 13:07:46 +01:00
borisbstyle
27c2a5db79
Rework Airmode saturation // Slow down de-saturation process
2016-03-02 23:19:55 +01:00
borisbstyle
a058bb3843
Fix debug calculation in motor cycletime
2016-03-02 14:54:44 +01:00
borisbstyle
c2338ef0ed
Bump EEPROM
2016-03-02 14:20:33 +01:00
borisbstyle
4074b74676
Merge pull request #235 from dmitryrechkin/betaflight
...
Ability to configure spektrum_sat_bind auto reset on hard reboot
2016-03-02 14:18:54 +01:00
borisbstyle
b191919b6e
Fix airmode debug
2016-03-02 14:15:42 +01:00
borisbstyle
39fb722536
Auto config protection for 4K motor update with oneshot125
2016-03-02 14:13:32 +01:00
borisbstyle
795feddf71
Fix BST // Sync motor to PID loop (less CPU)
2016-03-02 14:05:26 +01:00
borisbstyle
24b4d37d43
Add Attitude task
2016-03-02 00:10:29 +01:00
borisbstyle
eb04e2c745
Adjust some defaults
2016-03-01 23:03:02 +01:00
borisbstyle
fb64fc32c5
Add Transponder to SPF3MINI // Autoconfig adjustment
2016-03-01 22:46:18 +01:00
Dmitry Rechkin
2546eb15e7
At some point code has been changed to automatically reset
...
spektrum_sat_bind setting to 0 on hard reboot, which made obsolete 0 option
and essentially removed a feature which allowed to request binding on every
boot, which, for example, is how toy quadcopters behave.
I've added new setting:
"spektrum_sat_bind_autoreset" which can accept values:
0 - disabled
1 - enabled (by default, to preserve current behavior)
It is convenient, if you send BNF quadcopter to somebody, so they can
start flying it without the need to figuring out how cleanflight works, if
they are not familiar with it.
2016-03-01 13:42:30 -08:00
borisbstyle
16ca4ff16e
Merge pull request #224 from basdelfos/betaflight
...
Cell voltage for FrSky Telemetry protocol
2016-03-01 22:05:00 +01:00
borisbstyle
3bec29d603
Merge pull request #234 from AlienWiiBF/PPM_fix
...
AlienFlight F3 PPM receiver fix
2016-03-01 22:03:51 +01:00
borisbstyle
717290872c
Change priorities for tasks
2016-03-01 21:49:37 +01:00
borisbstyle
98a1de2b70
Fix min check // Restore brushed motor support
2016-03-01 21:33:59 +01:00
borisbstyle
099f4b6fa0
Revert "Add min_check deadband for stick armers"
...
This reverts commit 94e5472817
.
2016-03-01 21:28:33 +01:00
borisbstyle
7386d88d0e
Merge corrections
2016-03-01 14:55:04 +01:00
Martin Budden
c80b8cd718
Improved inclusion of platform.h. Improved initialization in queueClear.
2016-03-01 12:39:43 +01:00
Martin Budden
01a19cdc04
Post rebase fixup.
2016-03-01 12:39:37 +01:00
Martin Budden
32c4348357
Some rework before rebase.
2016-03-01 12:39:26 +01:00
Martin Budden
cd3b584879
Added test to check filling up and emptying queue.
2016-03-01 12:39:20 +01:00
Martin Budden
3fa0163713
More test code. Fixed bug in queueAdd.
2016-03-01 12:39:12 +01:00
Martin Budden
63db2d00f3
Stoppd using TASK_BEEPER in tests, since this is undefined.
2016-03-01 12:38:59 +01:00
Martin Budden
d8776c8e47
Removed conditional inclusion of queueContains.
2016-03-01 12:38:31 +01:00
Martin Budden
d545cbf620
Whitespace tidy.
2016-03-01 12:38:10 +01:00
Martin Budden
e52c597d0e
Minor optimisations to queueAdd and queueRemove
2016-03-01 12:38:07 +01:00
Martin Budden
2b8e75a761
Fixed static inline declaration of queue iterators. Minor tidy of case when selectedTask == NULL
2016-03-01 12:14:25 +01:00
Martin Budden
757fb54512
Optimised scheduler queue iterators.
2016-03-01 12:14:21 +01:00
Martin Budden
3d403fed8f
Minor optimisation: only inclued queueContains if it is required.
2016-03-01 12:13:36 +01:00
Martin Budden
b22610b9e5
Unittests
2016-03-01 12:13:30 +01:00
Martin Budden
e627751076
Minor tidy.
2016-03-01 12:10:34 +01:00
Martin Budden
f66b565ee0
Improvements to queue.
2016-03-01 12:10:17 +01:00
Martin Budden
8ba8bba7a3
Removed isEnabled flag, replaced by task being in queue or not.
2016-03-01 12:10:04 +01:00
Martin Budden
5a9523c26b
Initial commit of run queue for scheduler.
2016-03-01 12:09:56 +01:00
borisbstyle
bab2c72ae0
Preparation before merge
2016-03-01 11:49:33 +01:00
borisbstyle
94e5472817
Add min_check deadband for stick armers
2016-03-01 11:30:32 +01:00
borisbstyle
a2a58d8ccb
Add Experimental LPF parameter
2016-03-01 00:28:59 +01:00
Michael Jakob
be634758c4
AlienFlight F3 PPM receiver fix
2016-03-01 00:19:49 +01:00
borisbstyle
856ceee528
Fix BB / Acc reading / Optimize scheduler
2016-03-01 00:17:20 +01:00
borisbstyle
c050351cb4
Update autoconfig
2016-02-29 00:58:59 +01:00
borisbstyle
37ad29f68a
Fix broken servo support
2016-02-28 23:26:57 +01:00
borisbstyle
0de34f14fe
Overclock F1 targets by default (CC3D excluded) // Fix timer scaling for oneshot125 / oneshot42
2016-02-28 23:23:01 +01:00
borisbstyle
6e96adff0d
Scheduled motor refresh rate
2016-02-28 20:23:30 +01:00
borisbstyle
10b629c736
New Auto config defaults motor value
2016-02-28 01:33:00 +01:00
borisbstyle
977fec408a
Change use_fast_pwm to forced_motor_pwm // New default fixed PWM rates
2016-02-28 01:16:59 +01:00
borisbstyle
a5278740bd
Improve performane on all targets // remove emf_avoidance
2016-02-27 16:28:20 +01:00
borisbstyle
35ce724a22
New defaults auto looptime settings
2016-02-27 00:36:32 +01:00
borisbstyle
bc2627b48f
Increase Max Aux Channels
2016-02-26 23:27:28 +01:00
borisbstyle
4b120c4b41
Motor Jitter Improvements
2016-02-26 23:25:12 +01:00
Bas Delfos
0a12937c4b
Cell voltage for FrSky Telemetry protocol
...
Same implementation as SmartPort protocol
2016-02-26 19:02:30 +01:00
borisbstyle
bc23418cec
Adjust Delta Scaling on MW23
2016-02-26 00:49:19 +01:00
borisbstyle
14bd2ccc7f
Bump version to 2.5.0
2016-02-26 00:22:08 +01:00
borisbstyle
f30a188937
Add selectable debug options
2016-02-26 00:22:08 +01:00
borisbstyle
2e8fa5eab1
Taskmain rework part II
...
INT wait
Fix auto settings F3
2016-02-26 00:22:05 +01:00
borisbstyle
f7091f48d0
Rework scheduler interaction with realtime process // Detailled task manager // Fix gyro sync (was broken)
...
Fix cycletime calculations
2016-02-25 20:09:07 +01:00
borisbstyle
9e1f78075d
Merge pull request #197 from chocol4te/betaflight
...
Ben Timby's Serial Passthough feature
2016-02-25 11:42:41 +01:00
borisbstyle
f24dbd5a35
Merge pull request #217 from nathantsoi/bf-min-throttle
...
fixes remove limit on min throttle
2016-02-25 10:36:26 +01:00
borisbstyle
e4302b30fd
Merge pull request #215 from nathantsoi/sbus-inversion-2.4.1
...
Sbus inversion option tested against 2.4.1
2016-02-25 10:34:47 +01:00
nathan
a3c8fb6e11
fixes remove limit on min throttle
2016-02-25 00:17:52 -08:00
nathan
35cfa5a3f1
sbus inversion option
2016-02-24 21:10:23 -08:00
borisbstyle
1638124e3c
Fix for negative innacuracy
2016-02-25 00:00:24 +01:00
borisbstyle
3f09e5a114
Remove limit on throttle (min_check)
2016-02-24 23:51:52 +01:00
borisbstyle
127251cc99
Some cleanups
...
Fix missing bracket
2016-02-24 23:51:50 +01:00
borisbstyle
df159d195d
MW23 delta scaling to cycletime
2016-02-24 23:35:53 +01:00
borisbstyle
f5de06c59e
Enable Faster cycletimes (Sample Rates) on all targets // More automatic looptime calculations
...
cleanup
2016-02-24 23:17:21 +01:00
borisbstyle
981bddf182
Iterm scaling to looptime MW23
...
more shifting math
2016-02-24 01:57:48 +01:00
borisbstyle
e0c1f84206
FastPwm for all oneshot42/125 and multishot // Cleanup
2016-02-23 23:42:26 +01:00
Pierre-A
702ef4e798
initialise softSerial Rx to PullUp
2016-02-23 23:17:02 +01:00
Pierre-A
d2b14109fe
Fix bug in Hott GPS altitude
2016-02-23 23:15:32 +01:00
KiteAnton
c8d219d325
Bug fix for profile dump hickup
2016-02-23 22:50:21 +01:00
borisbstyle
93f3c0ae40
Move Iterm reset to Acro Plus only
2016-02-23 11:17:49 +01:00
borisbstyle
ee76376005
Multishot Implementation
2016-02-23 11:07:33 +01:00
borisbstyle
6b8f4f1111
Oneshot42 Implementation
2016-02-23 00:22:37 +01:00
borisbstyle
e561ec3cb7
Experimental double pass averaging for dterm for smoother D
2016-02-22 14:16:50 +01:00
borisbstyle
36a77c39d4
Merge branch 'beta_backup' into betaflight
2016-02-22 13:10:39 +01:00
borisbstyle
e3dce9f705
Configurable VFAS cell/full voltage
2016-02-22 11:55:33 +01:00
borisbstyle
f2075888a3
Remove gtune on a gentle way
2016-02-21 14:10:49 +01:00
borisbstyle
4eb6456ea1
Revert "Remove GTUNE"
...
This reverts commit a16ac7fbe7
.
2016-02-21 14:06:10 +01:00
borisbstyle
a1f30841c0
VFAS is now cell voltage
2016-02-21 13:31:22 +01:00
borisbstyle
3842950639
version increment
2016-02-21 13:23:41 +01:00
borisbstyle
97504c0ffe
Configurable PID jitter buffer
2016-02-21 13:18:06 +01:00
borisbstyle
9b43dfde19
Reduce low throttle response in normal mode
2016-02-21 13:11:51 +01:00
borisbstyle
2dc424d83b
restore original modes order
2016-02-21 13:09:21 +01:00
mikeller
ae08ce8dcd
Added 'rateprofile X' header to rateprofile dump in 'dump profile'.
2016-02-21 18:56:28 +13:00
borisbstyle
67d3d84a95
Spool up prevention without airmode
2016-02-20 21:25:01 +01:00
borisbstyle
390da2371e
Bump EEPROM
2016-02-20 20:47:41 +01:00
borisbstyle
6df1b3ead3
Merge pull request #202 from KiteAnton/rateprofile
...
Rateprofiles to profiles
2016-02-20 20:46:17 +01:00
borisbstyle
1c6cfc980d
Merge pull request #203 from KiteAnton/remove_gtune
...
Remove GTUNE
2016-02-20 20:45:02 +01:00
borisbstyle
5706f163aa
remove unnecessary argument
2016-02-20 20:26:57 +01:00
borisbstyle
240969be4a
Slow down Acc speed on lower looptimes
2016-02-20 20:25:35 +01:00
borisbstyle
06942f574e
Cycletime Jitter buffer added // Removed reservations in scheduler
2016-02-20 20:18:51 +01:00
KiteAnton
a16ac7fbe7
Remove GTUNE
2016-02-20 14:20:31 +01:00
KiteAnton
197606e276
set variable for rateprofile not needed
2016-02-20 12:54:31 +01:00
KiteAnton
076ac6d0e7
Rateprofiles added to profiles
2016-02-20 12:50:13 +01:00
Your Name
0d2bf3184c
Fix oneshot kills RX_PPM
2016-02-19 23:32:08 +01:00
borisbstyle
850700df14
Fix Iterm Bug
2016-02-19 23:28:50 +01:00
borisbstyle
293820f567
Move acroplus to mixer
2016-02-19 21:00:16 +01:00
borisbstyle
fa391507b6
Fix typo in cli for acroPlus offset
2016-02-19 01:45:12 +01:00
borisbstyle
77b387a08a
Acro Plus Rework
2016-02-19 01:03:34 +01:00
borisbstyle
100f895a9c
Bump version to 2.4.1
2016-02-19 01:03:34 +01:00
borisbstyle
ccd6d8bb70
New default values
2016-02-19 01:03:34 +01:00
borisbstyle
7fd88f060d
Fixed point math Implementation instead of floats
2016-02-19 01:03:24 +01:00
borisbstyle
5435fd0cb7
Configurable max_aux_channel
...
Fix Aux channel calculation
2016-02-18 21:36:44 +01:00
borisbstyle
4c2acde6e2
Configurable Dterm average count
2016-02-17 21:44:07 +01:00
borisbstyle
33eef46db3
PID3 mw23 implementation
...
Finish PID3 implementation
2016-02-17 21:18:36 +01:00
borisbstyle
57a3e59a38
Rework Acc filtering
2016-02-17 17:37:01 +01:00
borisbstyle
974274b748
cleanup code
2016-02-17 14:57:42 +01:00
Ferdia McKeogh
969c2393a1
Update serial.h
2016-02-16 18:01:15 +00:00
Ferdia McKeogh
fde0075296
Update serial_cli.c
2016-02-16 17:39:06 +00:00
Ferdia McKeogh
c31fd202c5
Update serial.h
2016-02-16 17:33:30 +00:00
Ferdia McKeogh
7b7ee481db
Update serial.c
2016-02-16 17:31:29 +00:00
Ferdia McKeogh
df2ba31c1d
Update gps.c
2016-02-16 17:28:13 +00:00
borisbstyle
66f7e52fad
Fix symmetry PID1/PID2 acro plus
2016-02-15 00:20:47 +01:00
borisbstyle
74de4c72cc
Merge pull request #188 from AlienWiiBF/AlienFlight_fix
...
AlienFlight fixes
2016-02-15 00:18:12 +01:00
borisbstyle
9f3a92be62
Change vbat calc notation
2016-02-15 00:13:30 +01:00
borisbstyle
13783da391
Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight
2016-02-14 22:22:37 +01:00
borisbstyle
881a448255
Convert gyroADC and accADC to int32_t
2016-02-14 22:03:19 +01:00
Michael Jakob
513db25bd5
AlienFlight fixes
2016-02-13 11:07:04 +01:00
borisbstyle
05f5dab607
Merge pull request #187 from larryho5/betaflight_12022016_tbs_release
...
- Solved sending huge spaces between bytes on BST
2016-02-13 09:24:12 +01:00
borisbstyle
468cebcec2
biquad to Vbat
2016-02-12 16:33:05 +01:00
Larry (TBS)
49741ccae9
- Better BST Code
2016-02-12 18:18:24 +08:00
mikeller
64a0bb8241
Added Aux / Adjustment range / RX range to 'dump master' output.
2016-02-12 22:49:08 +13:00
borisbstyle
f47b332b6f
Fix delta for battery filtering
...
fix
2016-02-12 10:35:47 +01:00
borisbstyle
bca5514a48
Add DMA handlers to targets
...
add gtune to naze
2016-02-10 22:55:58 +01:00
borisbstyle
3a156f98ab
Fix LED_STRIP feature // Add DMA drivers // UART fixes
2016-02-10 22:36:05 +01:00
4712
2af929797d
Fix for: serial buffer broke BLHeli 1wire pass through
2016-02-10 11:10:35 +01:00
borisbstyle
3f261970c5
Remove unnecessary re-calculations
2016-02-10 09:48:13 +01:00
borisbstyle
83d8a8441c
Remove lowpass.c // replace by pt1
...
unittests fix
2016-02-10 09:31:55 +01:00
borisbstyle
19d1a92c4f
Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight
2016-02-09 22:22:02 +01:00
borisbstyle
479db75760
Remove some target specific settings
2016-02-09 22:21:30 +01:00
KiteAnton
493fd865c4
Additional cleanup from config transfer
2016-02-09 22:08:33 +01:00
borisbstyle
de3ea1c439
Merge pull request #171 from atomiclama/fpvCanAngleFix
...
fix for fpv cam angle
2016-02-09 15:25:55 +01:00
borisbstyle
dd2478f582
Prevent unnecessary Iterm windup during failsafe and when not armed
2016-02-09 12:10:47 +01:00
borisbstyle
99d9d7483f
Add failsafe_procedure
2016-02-09 12:06:00 +01:00
borisbstyle
b745d9e480
Disable baro on CC3D target // More flash space
2016-02-09 11:40:02 +01:00
borisbstyle
ed98bf4b66
Remove transponder // Fix for SPRACINGF3MINI build error
2016-02-09 10:14:45 +01:00
borisbstyle
a88fb685fa
3D prevent negative arming // Reverse logic
2016-02-09 09:48:37 +01:00
borisbstyle
801a385b6a
Fix Luxfloat Iterm drift
2016-02-09 08:52:52 +01:00
borisbstyle
f5375291ca
Cleanup 3D code
2016-02-09 01:33:50 +01:00
borisbstyle
5fd2d1d2d6
New default PID's. Mostly for level modes
2016-02-08 23:35:20 +01:00
borisbstyle
3c01e78db6
Jeti Exbus telemetry set to 500hz
2016-02-08 23:26:28 +01:00
Thomas Miric
08fb5bc1dd
rewrite some functions
...
Some functions are rewritten to obtain a clearer code
2016-02-08 23:26:28 +01:00
Thomas Miric
e985a6c60b
Change updateCRC8 with the optimized code from ledvinap
2016-02-08 23:26:28 +01:00
Thomas Miric
0850e89550
code formating and corrected spelling
2016-02-08 23:26:28 +01:00
Thomas Miric
bf8c3c88bc
Add Jeti Ex Bus receiver with telemetry capabilities
2016-02-08 23:26:28 +01:00
borisbstyle
7bef1db230
Merge pull request #170 from borisbstyle/cc3d_ppm_timer_conflict
...
CC3D - don't share timer between PPM capture and motor output
2016-02-08 23:00:53 +01:00
borisbstyle
1d60ef46ba
Fixed throttle problem in 3D // Tested
2016-02-08 22:58:09 +01:00
edusteinhorst
56e9278354
CC3D - don't share timer between PPM capture and motor output
...
A periodic glitch happens on AUX channels when using OneShot on CC3D,
especially with faster update loops. This is caused by a race condition
while forcing timer overflows and sharing the timer for PPM capture.
It causes the craft the fall out of the sky when using a switch to arm.
* Remap PPM in from S1_IN to S6_IN
* Remap RSSI_ADC from S6_IN to S3_IN
* Block PWM12/S6_OUT from being used with Oneshot/brushed motors so
TIM2 (PPM_IN timer) doesn't change prescaler or is manually overflowed
* Allow only one feature out of SOFTSERIAL/RSSI_ADC/SONAR, since they
will now share the same pin
* Update docs to reflect port changes and restrictions
This fixes cleanflight/cleanflight#1748 ,
fixes borisbstyle/betaflight#64 , fixes borisbstyle/betaflight#127
fix BP6
2016-02-08 21:27:46 +01:00
borisbstyle
3fc14404dc
Prevent saving wrong gyro_sync_denom through configurator
2016-02-08 14:50:33 +01:00
borisbstyle
7ee65eac8f
Fix Race Targets
2016-02-08 14:48:13 +01:00
atomiclama
69b25af867
fix for mixer
2016-02-08 12:24:03 +00:00
borisbstyle
604896a3fc
Fix 3D inversed throttle
2016-02-08 09:18:41 +01:00
borisbstyle
beaca5ba36
Disable saturation limit for non-airmode
2016-02-08 01:28:50 +01:00
borisbstyle
ee3111229a
Working PID to Voltage Scaling // up to 25% gain from full to empty battery
2016-02-08 01:15:09 +01:00
borisbstyle
9b826f4373
Configurable saturation limit for Airmode
2016-02-07 23:50:46 +01:00
borisbstyle
8b85c57723
Merge pull request #164 from AlienWiiBF/CLI_Fix
...
Fix CLI table lookup for targets without blackbox support
2016-02-07 20:42:38 +01:00
borisbstyle
a1978b265a
Disable error interrupt USB // Fixes CPU overload and arming issues on some boards. Thanks to moto moto
2016-02-07 20:41:22 +01:00
Michael Jakob
c906e4cd76
Fix CLI table lookup for targets without blackbox support
2016-02-07 13:15:04 +01:00
borisbstyle
350bae1ae9
Remove Some WTF's
2016-02-07 01:49:37 +01:00
borisbstyle
9a5a73ade9
Fix compile error
2016-02-06 23:01:05 +01:00
borisbstyle
cec838090d
Apply proper calculation to Vbat PID scaler
2016-02-06 22:23:22 +01:00
borisbstyle
3b84cddc3d
Fixes and cleanups to the new Airmode code
2016-02-06 22:13:44 +01:00
borisbstyle
035b34bbc4
Cleanup delta method code code and refactor
2016-02-06 14:00:45 +01:00
borisbstyle
71392f846d
Merge pull request #163 from readerror67/lux_minor_fix
...
Minor fix for VBAT and PPM on LUX
2016-02-06 13:48:07 +01:00
borisbstyle
f1bb13d364
VBAT PID compensation Initial Implementation // Untested
2016-02-06 13:42:52 +01:00
borisbstyle
0e735ae313
Scale antiWindup increment to looptime. It is now always 500ms
2016-02-06 13:12:15 +01:00
borisbstyle
cdb671b0d6
Configurable gyro Denominator when gyro_lpf set to OFF
2016-02-06 13:09:40 +01:00
Read Error
623c5452a4
Minor fix for VBAT and PPM.
2016-02-06 05:22:20 -05:00
borisbstyle
9f15da0641
Fix Profile selection Bug MSP and rc_controls.c warnings
2016-02-05 23:00:23 +01:00
borisbstyle
36de2bbc23
Merge pull request #159 from KiteAnton/config_cleanup
...
Config cleanup
2016-02-05 22:50:22 +01:00
Michael Jakob
47f1d7e955
SPI3 fix
...
reintroduce SPI timeout to avoid driver blockage
AlienFlight related fixes
2016-02-05 22:14:49 +01:00
borisbstyle
fda0794441
Airmode rework // Fix 3D from negative to positive // cleanup
2016-02-05 22:04:39 +01:00
borisbstyle
18da3d08f8
Refactor previousErrorGyroI
2016-02-04 12:10:14 +01:00
borisbstyle
4b6f276d2b
Set mid_rc for throttle checks in 3D
2016-02-04 12:01:51 +01:00
borisbstyle
212017654b
Airmode overrules motor stop
2016-02-04 11:33:54 +01:00
KiteAnton
9711cb5a28
Bump EEPROM version
2016-02-04 05:59:43 +01:00
borisbstyle
c55d0baf31
Fix non Working Anti Windup
2016-02-04 01:55:44 +01:00
borisbstyle
5174e96549
Revert "Replace old lowpass with BiQuad for Vbat and Servo"
...
This reverts commit 27772ba56a
.
2016-02-04 00:45:09 +01:00
borisbstyle
7f5f93a13d
Cleanflight sync serial_cli.c // Scheduler CPU instead of load
2016-02-03 23:44:56 +01:00
KiteAnton
7c582fb863
Fix PR issue for colibri target
2016-02-03 22:06:09 +01:00
KiteAnton
cd30abdec6
Additional fix to solve rebase misses
2016-02-03 21:42:53 +01:00
KiteAnton
a24b02b90f
Further config restructuring, moved rates to profile
2016-02-03 21:28:00 +01:00
KiteAnton
41a2a3767f
Fix PR also for COLIBRI_RACE target
2016-02-03 21:20:25 +01:00
KiteAnton
b4b0669b78
Fix issue/bug in PR with pointer overwriting other values
2016-02-03 21:15:39 +01:00
KiteAnton
62e0e59ab5
Additional configs moved from profile to master
2016-02-03 21:10:08 +01:00
KiteAnton
0d054af27f
Additional inflight adjustments possible
2016-02-03 21:03:27 +01:00
KiteAnton
f685635c4f
Remove one profile
2016-02-03 21:03:27 +01:00
KiteAnton
69c7c2f9c7
Move modes and adjustments from profile to free up flash
2016-02-03 21:03:27 +01:00
borisbstyle
27772ba56a
Replace old lowpass with BiQuad for Vbat and Servo
2016-02-03 14:33:43 +01:00
borisbstyle
eebacc2542
Refactor BiQuad // Set filters to floats
2016-02-03 13:46:56 +01:00
borisbstyle
403812c45f
Fix Ledstrip for LUX_RACE target
2016-02-03 12:06:23 +01:00
borisbstyle
3fc0d85003
Gyro Speed selectable through Gui by Looptime setting
2016-02-03 11:57:12 +01:00
borisbstyle
63dcc3dc1d
Add LTM Telemetry // Remove MSP telemetry
2016-02-03 11:14:35 +01:00
borisbstyle
4888a3a375
Update MSP // Sync to Cleanflight version
2016-02-03 11:00:26 +01:00
Larry (TBS)
364029afec
- BST Update and BST_SET_LED_COLORS can set one by one.
2016-02-03 09:56:26 +01:00
borisbstyle
77f589b3ce
fake_travis targets
2016-02-03 09:36:09 +01:00
borisbstyle
c89535ad26
Disable Ledstrip for LUX_RACE target
2016-02-03 02:22:34 +01:00
borisbstyle
d3d08389f7
Fix some compile errors
2016-02-03 01:53:12 +01:00
borisbstyle
9859bbfcae
Less Anti Winduo in Air mode
2016-02-03 01:32:57 +01:00
borisbstyle
9b3a2f3f76
Acro plus increased sensitivity
2016-02-03 01:08:37 +01:00
borisbstyle
a1ebe6fd4f
Remove old mixer // Separate Acro Plus from Airmode // Fix MOTOLAB merge issues
2016-02-03 00:58:38 +01:00
borisbstyle
e55786e1bb
Remove unneded things
2016-02-02 23:36:45 +01:00
borisbstyle
92dbd68d9c
Fix serial.h
2016-02-02 23:36:44 +01:00
Dominic Clifton
c8c5eaf677
Prevent serial tx buffer overflow.
...
Note: this is likely not the best solution, we can investigate further
in due course.
See #1753
2016-02-02 23:36:44 +01:00
borisbstyle
220850e429
Fix Spracing Mini merge
2016-02-02 23:36:43 +01:00
Dominic Clifton
a259a49db1
SPRacingF3Mini - Reduce current draw when using transponder while
...
connected via USB cable.
2016-02-02 23:36:43 +01:00
Dominic Clifton
6d32aa5d7b
SPRacingF3Mini - First cut of transponder system.
...
Implementation is DMA buffer based, just like the WS2811 LED Strip code,
so that there is minimal impact on flight performance.
Currently the code is mutually exclusive with the LED_STRIP code and
there is no means to set the transponder code.
2016-02-02 23:36:42 +01:00
Nicholas Sherlock
360ea84a14
SDCard: multi-block write, card profiling. AFATFS: Bugfixes
2016-02-02 23:36:42 +01:00
Nicholas Sherlock
518c765620
Robustness improvements for Blackbox SD card log start
2016-02-02 23:36:41 +01:00
Nicholas Sherlock
09904b2206
Better reporting of fatal SD card states
2016-02-02 23:36:41 +01:00
Dominic Clifton
ea0df5d1a1
Enable MSP on first non USB VCP serial port for all VCP targets by
...
default. This also helps with 1WIRE passthough as VCP to 1WIRE is not
implemented yet.
2016-02-02 23:36:41 +01:00
Nicholas Sherlock
67e425f416
Enable Blackbox on SD card by default on SPRACINGF3MINI
2016-02-02 23:36:40 +01:00
Nicholas Sherlock
9d29efdd5d
Only look for SD card during initial startup and give up after timeout
2016-02-02 23:36:40 +01:00
Nicholas Sherlock
e9b6867d40
Add MSPs for Blackbox and SD card status/configuration
2016-02-02 23:36:39 +01:00
Dominic Clifton
28c8a918db
Add 1WIRE configuration.
2016-02-02 23:36:39 +01:00
Nicholas Sherlock
4700bb638c
More detailed afatfs state reporting for CLI
2016-02-02 23:36:38 +01:00
Nicholas Sherlock
9389cc4a29
Remove "SDCARD" toggleable feature
2016-02-02 23:36:38 +01:00
Nicholas Sherlock
536579e83a
Retain SD card log data when power is lost in flight
2016-02-02 23:36:38 +01:00
Nicholas Sherlock
6055ab2432
Updates to use newly merged SD card code
2016-02-02 23:36:37 +01:00
Nicholas Sherlock
dce49d4abb
Delete interim SD card support
2016-02-02 23:36:36 +01:00
Nicholas Sherlock
71335dc65d
Support enabling DMA for sdcard write at runtime
2016-02-02 23:36:36 +01:00
Nicholas Sherlock
75d5c64b33
Flush SD card pages in write order
2016-02-02 23:36:35 +01:00
Nicholas Sherlock
392ec7412a
Reset the card when a timeout/fault is detected during init/read/write
2016-02-02 23:36:35 +01:00
Nicholas Sherlock
e572ccebad
Discard logged files when blackbox was paused for the entire flight
2016-02-02 23:36:35 +01:00
Nicholas Sherlock
a35ccd28de
DMA support for SD-card write
2016-02-02 23:36:34 +01:00
Nicholas Sherlock
97ee6142a9
Fix timing bugs during SD card init which become visible with -Os
2016-02-02 23:36:34 +01:00
borisbstyle
efda3f86c1
fix merge
2016-02-02 23:36:33 +01:00
Nicholas Sherlock
14c13085b7
Add AFATFS support to Blackbox
2016-02-02 23:36:33 +01:00
Nicholas Sherlock
04d8dd27bf
Move SDCard SPI clock dividers into target.h (they depend on the bus Hz)
2016-02-02 23:36:32 +01:00
Nicholas Sherlock
96182c7c07
Working on using AFATFS from Blackbox
2016-02-02 23:36:32 +01:00
Nicholas Sherlock
84d3cc6175
Basic SDCard block read / write (minimal timeout/error handling)
2016-02-02 23:36:32 +01:00
Nicholas Sherlock
3941c6c252
Delete dubious SPI timeout mechanism
...
The result from this mechanism is never checked, and SPI is not a bus
prone to timeouts anyway (the master generates the clock and the
transmission happens in a deterministic amount of time no matter if the
slave is cooperative, absent, or uncooperative.)
The timeout counter was set *per transfer*, and is fixed no matter what
the SPI clock speed. If the transfer size is large, and the SPI clock is
slow, stalls on the SPI bus are unavoidable (as we can generate data
faster than SPI can transmit it). These accumulate over the length of a
long transfer and trigger a "timeout". Detecting these as fatal timeouts
is not helpful.
2016-02-02 23:36:31 +01:00
Nicholas Sherlock
264c094eef
Add ability to check for SPI bus busy condition
2016-02-02 23:36:31 +01:00
Dominic Clifton
77f0fb716d
Fix MPU6500 bypass configuration.
2016-02-02 23:36:30 +01:00
Dominic Clifton
180e1cb7b6
SPRacingF3Mini - Quick hack to allow configuration to be reset when
...
holding buttons A and B down for 5 seconds when powering on.
2016-02-02 23:36:30 +01:00
Dominic Clifton
b030d494c8
SPRacingF3Mini - Change configuration defaults.
2016-02-02 23:36:30 +01:00
Dominic Clifton
0ef8f08f10
SPRacingF3Mini - Enter spektrum bind mode when button A is pressed on
...
cold boot.
2016-02-02 23:36:29 +01:00
Dominic Clifton
680acc518f
SPRacingF3Mini - Clarify timer usage.
2016-02-02 23:36:29 +01:00
Dominic Clifton
52d97869b8
SPRacingF3Mini - Initial support for new target.
2016-02-02 23:36:28 +01:00
Dominic Clifton
7f398cbe4b
Cleanup sdcard info messaging.
2016-02-02 23:36:27 +01:00
Dominic Clifton
8f461b3942
Allow SD card detect signal to be inverted.
2016-02-02 23:36:27 +01:00
Dominic Clifton
4b955f09da
SDCard - Basic functionality.
...
Detect card, query capacity, read data.
2016-02-02 23:36:26 +01:00
Dominic Clifton
b1ba72c162
Update MPU6050 so it works with later versions.
2016-02-02 23:36:26 +01:00
Michael Hope
cf7c9d4100
cli: add buffering.
...
This greatly speeds up the CLI when running over USB VCP under a
virtual machine.
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:26 +01:00
Michael Hope
195456f9ac
serial: allow buffering to speed up USB virtual COM ports.
...
Add begin write and end write hints. If implemented by the serial
driver, then the driver can buffer up data sent via serialWrite() and
flush it when serialEndWrite() is called.
Implemented at the buffer level as it requires the least change to how
serial_msp and serial_cli are architected.
Also tidy up the visibility in the VCP driver.
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:25 +01:00
Michael Hope
0e460c18b0
msp: add buffering around the writes.
...
This bulks up the writes and lets the USB VCP driver send one 20 byte
frame instead of 20 one byte frames. This speeds up the blackbox
download and makes VCP much more reliable when running under a virtual
machine.
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:25 +01:00
Michael Hope
96306ff9ab
serial: add writeBuf() and implement for USB.
...
This lets USB send up to 32 bytes in a frame instead of 32 one byte
frames. Add a fallback for drivers that don't implement writeBuf().
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:24 +01:00
Michael Hope
75c86825f7
drivers: add a buffering writer.
...
This wraps around the serial API and buffers a configurable number of
characters before flushing.
Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:24 +01:00
Dominic Clifton
0344fa22f4
Syncronsise I2C timeouts of F1 and F3 targets
2016-02-02 23:36:24 +01:00
borisbstyle
35defbb27b
Sonar merge
2016-02-02 23:36:23 +01:00
Dominic Clifton
85f7b10e24
Fix some F3 target compilation issues.
...
Remove LED_STRIP support from AlienWiiF3 target. It was using sparky
source but Sparky has led strip signal on a PWM motor output due to
hardware mappings and that doesn't make sense for the AlienWiiF3 target
which is has brushed motor circuitry.
2016-02-02 23:36:22 +01:00
Dominic Clifton
e7620727ff
Fix led strip unit test compilation warning.
2016-02-02 23:36:22 +01:00
KiteAnton
c072ac265c
Change OFF to NONE
2016-02-02 23:31:58 +01:00
KiteAnton
6226ea4b98
Table lookup for hardware settings
2016-02-02 23:31:57 +01:00
kamaloo
c767fe8e1e
Move dT scaling before filtering
...
From DSP point of view scaling by dT before filtering is more correct. This should yield less delta noise with noisy dT values. BiQuad/Moving average adds some delay to data so current dT is not valid for current filter output.
2016-02-02 23:31:57 +01:00
Read Error
35125ecf10
Sorry, it should be on USART3.
2016-02-02 23:31:56 +01:00
Read Error
1740291d26
Move 1wire to USART2
2016-02-02 23:31:56 +01:00
Michael Jakob
7634e4c635
AlienFligth F3 V2 support
...
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00
cmenard
b1476c05f8
Correct RX_Serial port and spektrum_sat_bind
2016-02-02 23:31:55 +01:00
borisbstyle
3433dc74b6
fix version
2016-02-02 23:31:54 +01:00
cmenard
d174314692
Add Lux target
2016-02-02 23:03:08 +01:00
borisbstyle
e973bb149f
Bump patch version 2.3.5
2016-02-02 22:50:21 +01:00
borisbstyle
06b3f625d1
Airmode Saturation fix // Needed for some setups
2016-02-02 22:48:52 +01:00
borisbstyle
17f214d2ab
Bugfix for brushed motor support
2016-01-26 13:43:23 +01:00
borisbstyle
42bc172abc
New Defaults // Rc smoothing always enabled in level modes
2016-01-25 23:53:47 +01:00
borisbstyle
112543efb2
Add alternative delta approach (set delta_from_gyro = ON)
2016-01-25 23:22:18 +01:00
borisbstyle
b9fb178237
Moving average for D when no filter
2016-01-25 22:15:12 +01:00
borisbstyle
55cf3913a0
3D Airmode enhancements // Iterm Shrinking replaced to limiting
2016-01-25 12:08:33 +01:00
borisbstyle
b86f304dec
Bump version to 2.3.4
2016-01-25 12:08:33 +01:00
borisbstyle
eac5a96e4a
Fix assymetric issue acro plus
2016-01-20 11:31:33 +01:00
borisbstyle
ac2ed9fbf1
New beginners defaults
2016-01-20 00:15:53 +01:00
borisbstyle
892778a08e
Airmodeplus itermscaling more agressive // Remove from level modes
2016-01-20 00:15:48 +01:00
borisbstyle
b5dcbbed25
Airmode mixer rework // Fix stopping motors caused by 3D feature
2016-01-19 21:50:42 +01:00
borisbstyle
782482bf76
Activate Air mode in Neutral State for 3D feature
...
Fix init
2016-01-19 14:17:36 +01:00
borisbstyle
95177c027e
Bump Version to 2.3.3
2016-01-18 23:51:55 +01:00
borisbstyle
493282a274
Fix 3D Airmode Bugs
2016-01-18 23:51:35 +01:00
borisbstyle
f719a0260a
Merge pull request #123 from nathantsoi/spracing-bmp180
...
bmp085 and bmp180 on spracingf3 and derivatives
2016-01-18 20:55:12 +01:00
borisbstyle
2930260f40
Multiple 3D fixes. Motor stop / PID resolution / failsafe
2016-01-18 16:21:17 +01:00
borisbstyle
2f6eeed6f5
Fix Motor stop and 3D reverse
2016-01-18 13:13:30 +01:00
borisbstyle
91d12a0b7c
New name for FPV cam mix roll_yaw_cam_mix_degrees
2016-01-18 12:13:30 +01:00
borisbstyle
9fcfce0b90
New default PID's for beginners
2016-01-18 12:08:50 +01:00
borisbstyle
f70cb8177e
Insane Acro factor renamed to Acro plus factor // Rates are softened
2016-01-18 11:50:45 +01:00
borisbstyle
f69943d095
Enable Airmode In 3D feature // Separate Mixers
2016-01-18 11:12:13 +01:00
nathan
d8ee7b68c1
bmp085 and bmp180 on spracingf3 and derivatives
2016-01-17 23:29:50 -08:00
borisbstyle
03d86b14db
Version 2.3.2
2016-01-18 02:53:00 +01:00
borisbstyle
bdac49da60
RP rate Insane Acro Ignored
2016-01-18 01:59:29 +01:00
borisbstyle
a105af1225
Filter Cleanup CF coding style// Remove Old pt1 for acc etc // F1 slower acc update
2016-01-18 00:51:20 +01:00