Commit Graph

3038 Commits

Author SHA1 Message Date
borisbstyle 4c1b4a63be Add new line 2016-03-31 00:49:42 +02:00
borisbstyle 2689208408 Fix floating point tpa bug 2016-03-31 00:26:32 +02:00
borisbstyle ad0acf3f5f Change cli naming conventions 2016-03-30 21:43:41 +02:00
borisbstyle f2f1e2c513 Change default expo factor and yaw pterm max 2016-03-30 21:39:14 +02:00
borisbstyle 940d666fb0 default yaw filter 2016-03-30 21:26:45 +02:00
borisbstyle 3e5e30c42c Fix Iterm reset in super expo mode // new defaults 2016-03-30 21:23:14 +02:00
borisbstyle 712beb2ae8 Prevent Arming before gyro calibration completed 2016-03-30 17:29:12 +02:00
borisbstyle 78c155908a Bump EEPROM 2016-03-30 17:15:42 +02:00
borisbstyle 95a464b1ad Add escpassthrough to all targets 2016-03-30 17:13:59 +02:00
borisbstyle cbc7bc2a61 Increase PID performance by removing Dterm for Yaw 2016-03-30 16:54:33 +02:00
borisbstyle feea25edcc Change defaults 2016-03-30 16:43:01 +02:00
borisbstyle bdca96842a Add dump all cli command and restore old dump 2016-03-30 16:40:55 +02:00
borisbstyle 595d5d0867 Acro Plus replaced by Super Expo feature 2016-03-30 12:38:29 +02:00
borisbstyle 7b468c09f0 Luxfloat rework to int pids // Many pid cleanups // filter rework
Eeprom version // Dterm improvement

Further PID Improvements

Version Change

Coupling configured // reworked filtering // more test features

remove iterm scaler luxfloat

Further rework filters etc

Restore original luxfloat but scaled

Restore original luxfloat but scaled
2016-03-30 10:16:20 +02:00
borisbstyle d95220327b Merge pull request #310 from mikeller/add_restore_profile_switch_buffer
Enable CLI dump / restore of multiple profiles without buffer overrun
2016-03-29 15:08:27 +02:00
mikeller 4cc2718d59 Added printing of line of '#' after profile switch during dump to prevent buffer overrun on restore. 2016-03-30 01:47:22 +13:00
borisbstyle 6263f713bd Merge pull request #302 from ethomas999/addVbatHysteresisCmd
Add 'vbat_hysteresis' parameter
2016-03-29 11:37:32 +02:00
borisbstyle d5146df6e6 Merge pull request #308 from larryho5/betaflight_29032016_tbs_release
Betaflight 29032016 tbs release
2016-03-29 11:21:21 +02:00
Larry (TBS) 0cae020f76 - MultiFlasher support for SimonK escs 2016-03-29 15:39:19 +08:00
E Thomas 6eb9922c1c Added 'vbat_hysteresis' parameter 2016-03-27 02:18:12 -04:00
rav-rav a34e9d7482 improved speed of scaleRcCommandToFpvCamAngle 2016-03-23 23:29:10 +01:00
Larry (TBS) 4d481e9c1f - BST change to i2c interrupt
- Add to receive heartbeat from CorePro otherwise, will soft reset the i2c.
2016-03-23 19:22:06 +08:00
borisbstyle 391dad4a7b New Luxfloat yaw default 2016-03-23 00:45:48 +01:00
borisbstyle 4ec5166c0f Add option for gyro calibration on first arm // Remove Retarded Arm 2016-03-21 01:22:40 +01:00
borisbstyle 7e4c64056d Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-03-21 00:41:36 +01:00
borisbstyle 0814b7d479 Merge pull request #283 from MasterZap/shut_up_beeper
Mute RX_LOST beep if the copter was never armed
2016-03-21 00:41:15 +01:00
borisbstyle adedc3fe81 Iterm range for MW23 more sensitive 2016-03-21 00:08:10 +01:00
borisbstyle 087e3ae0f4 Better configuration range for luxfloat in configurator 2016-03-20 20:13:36 +01:00
Zap Andersson 0fb34a64b5 Fix tabs again 2016-03-20 13:25:40 +01:00
Zap Andersson d82b3a44eb Fix tabs 2016-03-20 13:24:04 +01:00
Zap Andersson 451060a8ab Revert "Removed the hard accelerometer cutoff, replaced my a smooth weighting."
This reverts commit 587ab7178a.
2016-03-19 16:58:28 +01:00
Zap Andersson c0e01e8d2b Add 'WAS_EVER_ARMED' arming flag 2016-03-19 16:16:49 +01:00
Zap Andersson ca0fb6c9cf Made the beeper for "RX Lost" shut up if RX was never gained in the 1st place.
Shuts quad up when you just put it down on the ground, or just plug it into USB or whatever.
2016-03-19 13:01:53 +01:00
Zap Andersson 587ab7178a Removed the hard accelerometer cutoff, replaced my a smooth weighting.
Also got rid of a square root :)
2016-03-19 11:18:24 +01:00
Larry (TBS) a58c095df6 - Use Air Mode in CorePro status byte 2016-03-15 13:22:41 +08:00
KiteAnton ee57ba387a Fix beeper dump output bug 2016-03-12 10:30:26 +01:00
KiteAnton 3df01ac21d Output all profiles and rateprofiles in cli dump 2016-03-12 09:01:26 +01:00
borisbstyle 1e8f2bacb8 Oops only 3D Mode needs this 2016-03-10 00:35:19 +01:00
borisbstyle fa63ab52e1 Disabling of 3D Feature on switch 2016-03-10 00:27:44 +01:00
borisbstyle 03cc5fa438 Function for calculating calibration cycles 2016-03-09 22:31:16 +01:00
borisbstyle 21bc85335e pidUpdateCountdown set based on condition 2016-03-09 00:05:13 +01:00
borisbstyle 1187c575ed Gyro Calibration scaled to looptime setting 2016-03-08 22:52:55 +01:00
borisbstyle 0aac025494 Version 2.5.3 / Configurable yaw_p_limit for all pid controllers 2016-03-06 14:04:09 +01:00
borisbstyle 37bd1d65fd Fix 1000 looptime auto config 2016-03-05 22:35:09 +01:00
borisbstyle dc6529ec9e New 1000 looptime default 2016-03-05 20:49:34 +01:00
borisbstyle c9a35d278d yaw protection pirouette // hard yaw manouvres 2016-03-05 20:42:04 +01:00
Dominic Clifton bd9f93660b SPRACINGF3MINI - Cleanup PWM output mapping. Remove no-longer needed
TIM3 / OneShot workaround.
2016-03-04 22:18:37 +01:00
borisbstyle bafdbf4b2a Change min threshold for mix reduction 2016-03-04 22:03:13 +01:00
borisbstyle 65e17dd957 Equal throttle scaling for stick and switch armers // Changed default min_check to get the same effect 2016-03-04 09:13:51 +01:00
borisbstyle 555a9cf705 Merge pull request #248 from MotoLab/betaflight_ON_USB_fix
Fixed ON_USB beeper inhibit
2016-03-04 09:11:08 +01:00
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