Commit Graph

3038 Commits

Author SHA1 Message Date
sblakemore 0a3bf6e991 Add SINGULARITY target 2016-05-31 10:50:56 +10:00
sblakemore 2df7e3cefa Add RTC6705 SPI VTX support 2016-05-31 07:15:37 +10:00
borisbstyle 3470181a0f Add feature for SuperExpo and Airmode // Super Expo by default activated 2016-05-30 20:42:43 +02:00
borisbstyle 23b0e79eff Smoother Iterm Ignore transition 2016-05-30 19:47:53 +02:00
borisbstyle 754982f480 Add higher power function to Super Expo 2016-05-30 13:02:41 +02:00
borisbstyle fb7cfffdeb Anti Desync feature for ESC's // Experimental 2016-05-25 23:51:55 +02:00
borisbstyle 935ad7f613 Fix Luxfloat iterm issue // New Ignore Iterm default 2016-05-25 22:43:06 +02:00
mikeller 94d9df4cc1 Fixed failure to disable beeping on FC init. Also, fixed spelling. 2016-05-25 23:52:40 +12:00
borisbstyle c8945c179a Fix ALIENWII Target 2016-05-24 23:46:32 +02:00
borisbstyle f1d422c322 Seperate ONESHOT125 feature from fast_pwm_protocol 2016-05-24 23:10:09 +02:00
borisbstyle 80e047e651 Fix compile errors in ledstrip.c 2016-05-24 21:59:34 +02:00
borisbstyle aa61bd4fb4 Replace yaw_jump_prevention_limit by D gain for yaw // new defaults based on flight tests 2016-05-24 21:47:57 +02:00
borisbstyle df6d564a9d Revert "Revert "Added 'ledstrip_visual_beeper' feature.""
This reverts commit f8aefc9c6f.
2016-05-24 14:05:52 +02:00
borisbstyle f8aefc9c6f Revert "Added 'ledstrip_visual_beeper' feature."
This reverts commit d6e7ed3560.
2016-05-24 10:46:23 +02:00
borisbstyle 6b3d26e21d Slightly lower D default 2016-05-24 10:13:16 +02:00
borisbstyle 81df1ddda0 Merge pull request #357 from mikeller/ledstrip_visual_beeper
Added 'ledstrip_visual_beeper' option.
2016-05-24 09:55:42 +02:00
borisbstyle 404e250b73 Fix for iterm ignore accuracy 2016-05-24 08:31:00 +02:00
borisbstyle ff5c320b4a Iterm reset rework // Airmode Iterm Protection Configurable // Dynamic Ki
New defaults
2016-05-23 23:57:32 +02:00
borisbstyle 8149508352 Merge pull request #402 from martinbudden/bf_pid_declaration
Moved declaration of pidControllerFuncPtr into pid.h
2016-05-23 22:50:21 +02:00
DTF UHF fc6298d1e9 Clean up Doge buzzer code and use correct logic. 2016-05-20 12:27:01 -04:00
Martin Budden 03ef7f9ba9 Moved declaration of pidControllerFuncPtr into pid.h 2016-05-17 08:45:33 +01:00
Michael Keller d6e7ed3560 Added 'ledstrip_visual_beeper' feature.
Added build condition for LED strip related config option.

Added 'ledstrip_visual_beeper' feature.

Added build condition for LED strip related config option.
2016-05-17 08:46:21 +12:00
borisbstyle 74cd38a77b F1 default Loop set to 1khz 2016-05-16 21:42:08 +02:00
borisbstyle f3f7827c33 Apply gyro zero before filtering // Fix Luxfloat Drift 2016-05-16 21:26:06 +02:00
borisbstyle 17e5c569b2 Optimal defaults 2016-05-11 23:00:29 +02:00
borisbstyle 1c3e3c6825 Merge pull request #392 from GaryKeeble/blackbox-enhancements
Blackbox Enhancements
2016-05-11 20:26:36 +02:00
Gary Keeble c6c373a808 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-11 06:44:58 +01:00
YANN OEFFNER 22c1aa10ad Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-05-10 12:40:20 +02:00
YANN OEFFNER 8244990c86 Clean IRCFUSIONF3 target 2016-05-10 12:28:13 +02:00
borisbstyle b37a0cf734 Merge pull request #389 from mikeller/restore_profile_rateprofile_selection
Restore profile / rateprofile selection as part of 'dump all'
2016-05-10 10:25:46 +02:00
Gary Keeble 85ab270772 Add compile target name
We might as well know what board was running beta flight.
2016-05-10 07:21:33 +01:00
Michael Keller 4e178629e0 Added commands to restore profile / rateprofile selection to output of 'dump all' CLI command. Also added command to save config to 'dump all' output. 2016-05-10 11:16:00 +12:00
Martin Budden a968669f91 Split off updateLEDs function from updateRcCommands. 2016-05-09 16:10:26 +01:00
Martin Budden 52b40b1028 Renamed annexCode to updateRcCommands and tidied. 2016-05-09 16:10:26 +01:00
Martin Budden db4da776c5 Localised RC lookup into rc_curves.c 2016-05-09 16:10:26 +01:00
Gary Keeble a4af3d301d Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-09 14:50:44 +01:00
borisbstyle 90bc67e2cc Configurable Iterm Reset Offset 2016-05-09 13:12:48 +02:00
Gary Keeble a4e789fca6 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-07 09:53:23 +01:00
borisbstyle 9e5c5e88c7 Rework Fast PWM protocol configuration and timing 2016-05-07 00:58:38 +02:00
borisbstyle c74c5df73d Merge pull request #384 from aughey/betaflight
Setting gyro scale for fake sensors.
2016-05-06 20:54:59 +02:00
borisbstyle 731693dfcd Merge pull request #381 from martinbudden/bf_pidloop_debug
Changes to help debug/optimise taskMainPidLoopCheck
2016-05-06 20:54:33 +02:00
Gary Keeble c514d4f5e6 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-06 19:45:58 +01:00
borisbstyle 0af66353a4 Working Fix for increased Expo precision by factor 5 2016-05-06 20:34:53 +02:00
JOhn Aughey f46f50c223 Before resetting, clear the reboot schedule flag. 2016-05-06 10:40:17 -05:00
JOhn Aughey 88683a4da3 Setting gyro scale for fake sensors. 2016-05-06 10:18:10 -05:00
Gary Keeble 045df58453 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-06 12:17:06 +01:00
Martin Budden a959e6aa27 Changed default CC3D_OPBL build to include pid_luxfloat. 2016-05-05 23:39:14 +01:00
borisbstyle 7dbab96d99 Improve Expo Precision 2016-05-06 00:17:44 +02:00
Martin Budden 876fe536e6 Fixed CC3D related build flags. 2016-05-05 15:19:50 +01:00
borisbstyle 37874d7a17 Merge pull request #376 from aughey/betaflight
Resubmitting the pull request for offline testing
2016-05-05 16:07:08 +02:00
borisbstyle 6af2b84297 Inrease Max yaw P limit // filter defaults 2016-05-05 16:05:42 +02:00
Martin Budden 825475fd43 Added new debug mode to time pidloop subtasks. 2016-05-05 10:28:26 +01:00
borisbstyle fa24d2950e Merge pull request #380 from rav-rav/filtering
biquad filtering improvements
2016-05-04 23:44:51 +02:00
borisbstyle 3159debb44 Merge pull request #379 from martinbudden/bf_display_tasks
Added tasks page to OLED display
2016-05-04 23:41:26 +02:00
borisbstyle 56acda8814 Merge pull request #377 from martinbudden/bf_tasks
Minor improvements to pid loop in mw.c
2016-05-04 23:40:52 +02:00
borisbstyle 771f2c61eb Fix out of order PPM ISR // Fix PPM for SPRACINGF3EVO 2016-05-04 23:39:19 +02:00
rav-rav f62ec043cf fix error in biquad coefficients calculation
improve biquad precision and performance by using direct form 2 transposed instead of direct form 1
keep float results for luxfloat pid controller, instead of casting twice
2016-05-04 22:44:33 +02:00
Martin Budden 2bae11d581 Added tasks page to OLED display. 2016-05-04 20:25:19 +01:00
Gary Keeble e3ea79ce97 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-04 12:59:39 +01:00
Martin Budden 8c7c72c5dc Tidy of main pid loop. 2016-05-04 10:40:56 +01:00
borisbstyle e9963f454b Fix data type for gyro lowpass // Defaults 2016-05-04 10:39:07 +02:00
JOhn Aughey 70130a1bcb Allowing the fake gyro and accel values to be set externally 2016-05-03 17:47:16 -05:00
JOhn Aughey faf1c9a6d2 Breaking out the main init and main loop to allow for offline testing 2016-05-03 17:46:56 -05:00
JOhn Aughey cb39345dd3 Fixing a null dereference in the case that VBAT is not defined 2016-05-03 17:45:37 -05:00
JOhn Aughey fd245bb8f8 Allowing a custom flash memory address for offline testing. 2016-05-03 17:45:13 -05:00
JOhn Aughey 8310c6f050 Moving constrain to the include file and making it static inline 2016-05-03 17:44:49 -05:00
borisbstyle 5ffb3b5068 Revert "Merge pull request #372 from aughey/betaflight"
This reverts commit a6a5f50ffb, reversing
changes made to 9cc5503851.
2016-05-04 00:00:04 +02:00
borisbstyle a6a5f50ffb Merge pull request #372 from aughey/betaflight
Changes to support offline testing
2016-05-03 23:54:43 +02:00
borisbstyle a4456ce6b9 Initial dynamic PID implementation
New Defaults and some rework in dynamic PID

Cli Fixes

Copy / Paste Protection

Change Stick threshold

Remove differentiator

Change Default PIDs
2016-05-03 23:48:41 +02:00
borisbstyle ad756bceb4 New version 2016-05-03 11:44:02 +02:00
borisbstyle 29865701da Change Filter lowpass Frequency to int 2016-05-03 11:43:56 +02:00
borisbstyle 3dd6424f34 Revert "Fixed a bug which caused printing of floats larger than 100 in the CLI to crash"
This reverts commit 6ce8fe3c0f.
2016-05-03 11:28:00 +02:00
nathan e1f52d9c7b guess we need some defines 2016-05-03 11:27:59 +02:00
nathan 08e87a40cf dont try to check the gyro status if the gyro doesnt support interrupts 2016-05-03 11:27:55 +02:00
nathan d97d4dd544 hardfault handler w/ debugging info and an automatic breakpoint 2016-05-03 11:27:54 +02:00
JOhn Aughey b6ff69feda Moving constrain and constrainf to the include file to be inlined. 2016-05-02 10:03:43 -05:00
JOhn Aughey 6d15c03813 Fixing null deref error when VBAT is not set.
If VBAT is not configured, batteryConfig is null.  This will
possibly set the vbatPidCompensation to an unknown value.
This change checkes for the validity of batteryConfig before
defining the values to be used.
2016-05-02 09:47:36 -05:00
JOhn Aughey 091aa24249 For fake gyro/acc, set the output to an fake variable.
For testing, the gyros and accelerometer values might needed
to be artifically set.  This change allows a testing loop to
set the gyro and acc to values through a global variable.
2016-05-02 09:47:36 -05:00
JOhn Aughey ac11732a86 Separate the initialization and main step into two different functions.
For testing, it is useful to have the loop be separated from the
initialization so that an external function can step through the
main loop.
2016-05-02 09:47:36 -05:00
JOhn Aughey b3216439de Allow the address of the start of the flash space to be defined externally.
For testing, the flash memory can be allocated and defined to a
different region than on an embedded processor.
2016-05-02 09:47:36 -05:00
JOhn Aughey 61392c5afc Removing inline from constrin and constrainf.
These functions are used elsewhere and the inline declaration
can cause the compiler to make them static and unavailable outside
of this file.  Unless these functions are defined in a .h file,
they cannot be inlined.
2016-05-02 09:47:36 -05:00
Gary Keeble 17b0c03992 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-02 10:37:30 +01:00
borisbstyle 3f524297d1 Merge pull request #374 from nathantsoi/stm32f3discovery-compat
Stm32f3discovery compat
2016-05-01 00:06:07 +02:00
nathan 79d5414f3e guess we need some defines 2016-04-30 14:33:36 -07:00
nathan 96f4d090a2 dont try to check the gyro status if the gyro doesnt support interrupts 2016-04-30 12:34:55 -07:00
nathan 46a49f6147 hardfault handler w/ debugging info and an automatic breakpoint 2016-04-30 12:16:02 -07:00
borisbstyle d62d894cc8 Cleanup unused variables
Fix
2016-04-30 12:20:07 +02:00
Gary Keeble c6c462b92f Added SuperExpo Yaw field to header
Added the super expo yaw field value and mode to header.
2016-04-30 09:34:30 +01:00
borisbstyle a36fe5099f Fix float / double warnings 2016-04-30 09:58:58 +02:00
Gary Keeble 7af7ddcac0 Add Betaflight Revision to Header Field
Added Betaflight version number to header; no more doubt about which
version you were flying when the log was made.
2016-04-28 17:10:23 +01:00
Gary Keeble f27932e236 Renumber Header Indexes
Renumbered the header index after removal of Item 40 on.
2016-04-28 06:35:46 +01:00
borisbstyle 1031e40a52 Change min_check default to something higher // Prevent arming issus on defaults 2016-04-27 22:51:49 +02:00
borisbstyle bef46dd120 TPA added for Yaw // Cleanup unused config params 2016-04-27 22:18:01 +02:00
borisbstyle 86c2e12c07 Optional SUPER EXPO for yaw // Optional always Iterm reset // Rework Iterm reset 2016-04-27 22:09:17 +02:00
borisbstyle afd5f8b542 Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-04-27 21:09:04 +02:00
borisbstyle cbcf028302 Dterm robust differentiator Initial Implementation 2016-04-27 21:08:15 +02:00
Gary Keeble 3444967b1c Extend header to include setup information
Add additional header information for PID parameters etc into header.
2016-04-25 13:31:51 +01:00
Gary Keeble 6343da6f09 Use the flightModeFlags slow field for rcModes
This value was always zero, so re-task it for the flight mode selection
(which it was always designed for).
2016-04-25 07:18:34 +01:00
Gary Keeble 372c9de651 Added PID configuration, filters etc to Log file
Add the PID configuration settings, controller number, dterm filters
etc to blackbox log file.
2016-04-24 21:52:35 +01:00
borisbstyle 8bffa11d19 Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-04-22 12:23:25 +02:00