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
borisbstyle
90bc67e2cc
Configurable Iterm Reset Offset
2016-05-09 13:12:48 +02: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
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
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
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
9cc5503851
Merge branch 'development_new' into betaflight
2016-05-03 23:50:33 +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
9b3aecbffc
print the target name so we can figure out which target is breaking w/ fake_travis_build.sh
2016-05-03 11:27:58 +02:00
nathan
2264494fca
duplicate file
2016-05-03 11:27:56 +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
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
2aea052f52
print the target name so we can figure out which target is breaking w/ fake_travis_build.sh
2016-04-30 12:41:43 -07:00