1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00
Commit graph

199 commits

Author SHA1 Message Date
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
mikeller
11459f7bb9 Reinstated 'MSP_BF_CONFIG' / 'MSP_SET_BF_CONFIG' as workaround to make it work with Betaflight configurator. 2017-03-23 00:17:11 +13:00
Hydra
1c33cb1cf2 CF/BF - Rename MSP_BOARD_ALIGNMENT to MSP_BOARD_ALIGNMENT_CONFIG 2017-03-21 21:17:25 +00:00
Hydra
601b302c5b CF/BF - Rename MSP_3D to MSP_MOTOR_3D_CONFIG.
now it's really obvious that 3d throttle deadband really doesn't belong
in it.  If you need 3D specific ESC/MOTOR configuration use this.  If yo
need specific 3D RX configuration use other commands like
MSP_RC_DEADBAND, etc.
2017-03-21 21:17:17 +00:00
Hydra
5d602d69ff CF/BF - Delete old/unused MSP commands. Cleaning MSP naming a little.
The commands that are deleted have been deprecated for a LONG time.
They have long been superceed with more specific commands.

Fix voltage meter config to include id and type in the subframe.
2017-03-21 21:17:06 +00:00
Hydra
067d9e619f CF/BF - Include id and type in the voltage meter config subframe.
It was supposed to be like this and now matches the current meter
config.
2017-03-19 18:25:26 +00:00
Hydra
4554019c52 CF/BF - fix naming of currentMeterVirtualState_t 2017-03-19 10:40:25 +00:00
Hydra
d331ceff0b CF/BF - replace magic numbers for subframe lengths. 2017-03-19 10:40:15 +00:00
Hydra
382ef9de68 CF/BF - remove unneeded braces in MSP_ANALOG 2017-03-19 10:40:14 +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
2f99749003 CF/BF - add support for reading all voltage and current meters via MSP.
Refactored current meter API and state, now it's more closely aligned
with the the voltage meter API.
2017-03-19 10:40:11 +00:00
Hydra
b0c49caa3d CF/BF - update MSP_BATTERY_STATE based on feedback. 2017-03-19 10:40:10 +00:00
Hydra
f3e740c598 CF/BF - refactor voltage refresh/read api. update voltage/current msp code
msp code is still unfinished, but the plan is clearer now.

move some defaults from battery.h and allow targets to override them.

define ID's for all voltage and current sensors, the idea being a list
of ids wil lbe created for each build which will allow all the voltage
and current meters to be exposed via MSP.
2017-03-19 10:40:07 +00:00
Hydra
15241b1955 CF/BF - cleanup notes regarding the design choices that were made regarding
MSP_VOLTAGE_METER_CONFIG/MSP_CURRENT_METER_CONFIG.
2017-03-19 10:40:05 +00:00
Hydra
c6d1148134 CF/BF - delete legacy multiwiiCurrentMeterOutput setting. 2017-03-19 10:40:04 +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
DieHertz
0b100bf167 Fixed rxfail and rxrange CLI commands 2017-03-16 23:10:10 +03:00
Martin Budden
1964362dce Removal of USE_PARAMETER_GROUPS 1 2017-03-09 22:03:59 +00:00
Martin Budden
f1ce19167f Converted target config.c files to PG - PG CLI 6 (#2578)
Converted CLI and target config.c files to PGs
2017-03-08 23:26:37 +00:00
Martin Budden
9e4de2ea3b Added separate yaw pidsum limit 2017-03-07 11:25:21 +00:00
Martin Budden
1e529a96b9 PG CLI additions 5 2017-03-06 17:37:58 +00:00
Martin Budden
aa561d542b Updates to support parameter groups 2017-03-06 13:48:14 +00:00
borisbstyle
16309b1a2c Merge pull request #2393 from mikeller/added_dshot_esc_command_support
Added support for DShot ESC settings to CLI.
2017-03-02 22:52:06 +01:00
Martin Budden
7ae57eb8cf Added PG config definitions 8 2017-02-27 07:25:48 +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
Martin Budden
a3ad97b0a4 Added profile macros and index functions 2017-02-25 07:37:53 +00:00
Martin Budden
a897f5e23b Added transponder config 2017-02-24 22:42:00 +00:00
Martin Budden
faf1ecf0e2 Moved free standing items out of masterConfig into separate configs 2017-02-22 18:44:40 +00:00
mikeller
85b002bb73 Added support for DShot ESC settings to CLI. 2017-02-20 12:45:44 +13:00
Martin Budden
3275105127 Preparation for conversion to parameter groups 13 2017-02-19 17:46:46 +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
4f4c14a02d Merge pull request #2402 from martinbudden/bf_pg_preparation6
Preparation for conversion to parameter groups 6
2017-02-16 21:19:39 +00:00
Martin Budden
4c435fccae Preparation for conversion to parameter groups 6 2017-02-15 08:05:37 +00:00
Martin Budden
2506a881c4 Use sbufWriteData for some MSP serialisations 2017-02-10 16:41:03 +00:00
Martin Budden
5e01b8ef18 Merge pull request #2331 from martinbudden/bf_gyro_dev_split
Split gyro device out of gyro sensor struct
2017-02-08 09:16:37 +00:00
Bryce Johnson
e71e93ae02 Blackbox erase additions 2017-02-07 21:22:09 -06:00
borisbstyle
ecb104b1f1 Merge branch 'master' into patch_v3.1.4 2017-02-07 13:47:12 +01:00
borisbstyle
80c0e32660 Restore multiwii throttle curve 2017-02-06 23:48:01 +01:00
Martin Budden
f2b423525d Split gyro device out of gyro sensor struct 2017-02-06 00:00:32 +00:00
Martin Budden
85e3601112 Merge pull request #2294 from martinbudden/bf_pg_preparation4
Preparation for conversion to parameter groups 4
2017-02-03 10:11:09 +00:00
Martin Budden
f6c8319361 Removed a number of static config pointers 2017-02-02 10:41:19 +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
e41d6a3b5b Preparation for conversion to parameter groups 2017-02-01 10:44:12 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
7e76dc80a4 Put #includes into alphabetical order 2017-01-31 14:20:35 +01:00
Martin Budden
974037c150 Parameter groups EEPROM migration 2017-01-31 14:20:23 +01:00
DieHertz
0e75b4131e Added PWM inversion to motor config 2017-01-31 14:20:17 +01:00
Raphael Coeffic
8e0dbc04ae added MSP_VTX_CONFIG & MSP_SET_VTX_CONFIG 2017-01-31 12:54:02 +01:00
Michael Keller
605066ecf5 Fix rounding of float parameters when sent over MSP. 2017-01-30 15:02:14 +01: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