Martin Budden
342148524f
Blackbox code tidy
2017-04-29 08:58:05 +01:00
Martin Budden
d1302712f2
Tidied blackbox function names to have blackbox prefix
2017-04-28 10:00:59 +01:00
Martin Budden
33c377f5d7
Added blackbox debug field condition
2017-04-28 09:56:08 +01:00
Martin Budden
9c2fd3bcaf
Tidied whitespace in blackboxMainFields
2017-04-28 09:35:02 +01:00
Martin Budden
4f95a50322
Tidied blackbox switch statements
2017-04-24 08:28:27 +01:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Hydra
2b1dac4c6d
CF/BF - First cut of allow building of the OSD SLAVE board without all
...
the flight controller code.
Likely the dependencies can be further improved. This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Michael Keller
9c29475ba4
Changed float parameters to int16 in 'cli.c'.
...
Fixed buffer length used for 'ftoa'.
Got rid of magic numbers, replaced 'digitalIdlePercent' with 'digitalIdleValue'.
2017-04-10 13:11:01 +12:00
Martin Budden
318fd2ee15
Code tidy. Renamed vbatscale in blackbox
2017-03-31 07:44:28 +01:00
blckmn
c0d18280d5
Removed feature SDCARD and BLACKBOX
...
Now uses blackboxConfig()->device instead. Requires co-ordination with configurator.
2017-03-28 21:29:50 +11:00
Martin Budden
9186551bf4
Aligned blackbox header strings with CLI
2017-03-21 08:16:21 +00:00
Hydra
b473ebf0d0
CF/BF - reduce flash usage by allowing blackbox that match other strings
...
to
be-duplicated by the linker.
2017-03-19 10:40:27 +00:00
Hydra
1cd4227823
CF/BF - separate the virtual and adc current sensor configuration.
...
update the MSP configuration of current and voltage sensors to use IDs.
revert the i2s_bst changes, since TBS won't be updating their firmware
there is no point adding new features to it, we just need to keep it
compatible
2017-03-19 10:40:12 +00:00
Hydra
067d3c0ac2
CF/BF - First cut of Current/Voltage/Battery cleanup.
...
many refactorings, bugs squished, concerns separated,
single-responsibility violations fixed and performance optimizations.
2017-03-19 10:40:03 +00:00
Martin Budden
9e4de2ea3b
Added separate yaw pidsum limit
2017-03-07 11:25:21 +00:00
Martin Budden
aa561d542b
Updates to support parameter groups
2017-03-06 13:48:14 +00:00
Martin Budden
9b62a4e38f
Added PG config definitions 10
2017-02-28 06:28:06 +00:00
Martin Budden
8a8aae49b9
Merge pull request #2490 from martinbudden/bf_pg_configs5
...
Added PG config definitions 5
2017-02-27 06:25:28 +00:00
blckmn
1425241d61
Removing duplicate bb device enum
...
Changing SDCARD condition to that suggested by @mikeller
Changed make sample to make official
2017-02-26 20:59:42 +11:00
Martin Budden
df14abc5c2
Added PG config definitions 5
2017-02-26 08:06:14 +00:00
borisbstyle
c95f4993dc
Merge pull request #2479 from martinbudden/bf_rate_profile_rationalisation
...
Moved rate profiles out of pid profiles
2017-02-26 08:35:01 +01:00
blckmn
4b799ada5e
Protection to ensure only one or the other is initialised in regards to blackbox (for BlueJayF4)
2017-02-25 16:24:01 +11:00
Martin Budden
051c9cca48
Moved rate profiles out of pid profiles
2017-02-24 23:25:43 +00:00
Martin Budden
faf1ecf0e2
Moved free standing items out of masterConfig into separate configs
2017-02-22 18:44:40 +00:00
Martin Budden
5e7a755be3
Merge pull request #2382 from mikeller/make_flash_erasing_compile_conditional
...
Made flash erasing compile conditional on USE_FLASHFS.
2017-02-21 09:18:02 +00:00
Martin Budden
781b1b1352
Removed dependency of pwm_output driver on mixers and servos
2017-02-19 08:59:37 +00:00
Martin Budden
4c435fccae
Preparation for conversion to parameter groups 6
2017-02-15 08:05:37 +00:00
mikeller
15bef42fd2
Made flash erasing compile conditional on USE_FLASHFS.
2017-02-13 07:36:38 +13:00
Martin Budden
f6caf34806
Merge pull request #2329 from martinbudden/bf_imu_tidy
...
Tidy of IMU header
2017-02-08 09:23:25 +00:00
Bryce Johnson
e71e93ae02
Blackbox erase additions
2017-02-07 21:22:09 -06:00
Martin Budden
3d1e42d1aa
Tidy of IMU header
2017-02-06 00:27:08 +00:00
Bryce Johnson
22d11e35b2
Added blackbox erase for flashchips
...
revert back initBlackbox
Fixed blackbox erase when full.
Change BOXBLACKBOXERASE to the end
Blackbox erase changes
Moved the ARM detect into the blackbox statemachine
Added blackbox erase start and end beep
Tab to space
2017-02-01 22:07:56 -06:00
Martin Budden
79d4b2146d
Preparation for conversion to parameter groups
2017-02-01 08:46:19 +00:00
Martin Budden
9dfb3e45ee
Add ITerm anti-windup based on motor output saturation
...
Added noise threshold for PID ITerm accumulation
Removed ITerm setpoint scaler. Added CLI and MSP settings
Made default ITerm noise threshold zero. Added CLI setting.
Removed itermWindupPointPercent from MSP
2017-01-29 01:30:35 +01:00
Dan Nixon
8fb5ea5156
Add blackbox storage and device selection to CMS
2017-01-29 00:33:38 +01:00
borisbstyle
977d69657f
Revert "Some Flash space savings. Not relevant parameters are not shown"
...
This reverts commit 8f017b93e5
.
2017-01-21 13:20:11 +01:00
borisbstyle
8f017b93e5
Some Flash space savings. Not relevant parameters are not shown
2017-01-19 00:14:24 +01:00
borisbstyle
093115a2a0
Add anti_gravity_gain // new defaults
2017-01-19 00:00:33 +01:00
Martin Budden
6887c2de59
Fixed blackbox header output
2016-12-30 17:37:05 +00:00
borisbstyle
1030df294d
PID code cleanup // refactoring
2016-12-30 14:00:10 +01:00
borisbstyle
4e3704374a
Cleanup mw.c // Remove unnecessary functions
2016-12-30 14:00:10 +01:00
borisbstyle
f11945d9d6
Merge pull request #1876 from GaryKeeble/Dshot-Blackbox
...
Fix Motor Scaling on Blackbox Log when D-Shot is used
2016-12-30 13:30:22 +01:00
Gary Keeble
d0d2dea575
Add gyro scale back to 1.0
2016-12-23 08:58:34 +00:00
Gary Keeble
70542eabd0
Seperate rcCommand[Throttle] from D-Shot Motor Output
2016-12-23 08:56:13 +00:00
Martin Budden
f2acdbc666
Changed blackbox header to use currentProfile pointers
2016-12-21 15:26:48 +00:00
J Blackman
684660b584
Merge pull request #1828 from martinbudden/bf_mixer_tidy
...
Tidy of mixer code. Remove motorCount extern
2016-12-21 21:35:08 +11:00
Martin Budden
953d23851d
Added modeActivationProfile() macro
2016-12-21 08:46:31 +00:00
Martin Budden
ae1944b78c
Tidy of mixer code. Remove motorCount extern
2016-12-21 08:42:52 +00:00
Martin Budden
cbd4c030bf
Fixed scaling of gyro in blackbox output
2016-12-18 21:47:58 +00:00
Martin Budden
d72b4e96c9
Separated out pidConfig_t items
2016-12-15 09:12:42 +00:00