Betaflight: Sliders (or similar multiplier concept) in firmware

Created on 4 Oct 2019  路  3Comments  路  Source: betaflight/betaflight

The new sliders are awesome but make field tuning via BF CMS (OSD) tricky- you can kind of do it by copying the profile, making tweaks in CMS, then plugging back into Configurator and tweaking sliders in your original profile until you get values that are close enough. The relationship between parameters has to be well understood in this case.

It would be neat if the slider multiplier/calculations were done in firmware and exposed to the various interfaces: CLI, CMS, MSP and eventually Lua.

This will reduce drift in the outer interfaces as well as the calculation will be standard/centralised.

Describe the solution you'd like

  • Slider calculation/algorithm/multipliers copied into firmware
  • CLI for slider multiplier values
  • BFOSD CMS interacting with slider multiplier values
  • Eventually: MSP (maybe the multiplier and range so the UI can be built dynamically?), update Configurator, Lua.

Additional context
I have had a number of users suggest extending the slider/multiplier concept to Rates to shift all rates at the same time, by the multiplier value. This could be cool as well.

Feature Request

Most helpful comment

I am looking to implement this as previously discussed. Current configurator only based sliders we have for 4.1 will give us insight to how users are using the feature. I think it will be a good idea to wait a month after release to get all the feedback and information we need to build on top of the current implementation, possibly adding different sliders, adjusting ranges, scaling and so on.
After that input and confirmed usefulness of the slider concept I will try to make everything available in the firmware as you say. Adjusting in CMS, Lua is important and will improve usability very much. It will have a lot of time to get further tested by guys running nightly builds so it is ready for 4.2

All 3 comments

I am looking to implement this as previously discussed. Current configurator only based sliders we have for 4.1 will give us insight to how users are using the feature. I think it will be a good idea to wait a month after release to get all the feedback and information we need to build on top of the current implementation, possibly adding different sliders, adjusting ranges, scaling and so on.
After that input and confirmed usefulness of the slider concept I will try to make everything available in the firmware as you say. Adjusting in CMS, Lua is important and will improve usability very much. It will have a lot of time to get further tested by guys running nightly builds so it is ready for 4.2

@IvoFPV I agree completely about waiting until after 4.1.0, just wanted to make sure we had an issue reflecting the plan. p.s. I love it.

The actual slider calculations need to happen in the firmware. The MSP would be multiple parts; initial ranges (get) and set new multiplier (set) (which causes the calculation to occur). The detailed values affected by the sliders are already available in MSP so those could be refreshed to show the results (numbers).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Piece0fPaper picture Piece0fPaper  路  3Comments

SandroGrzicic picture SandroGrzicic  路  3Comments

MastroDado picture MastroDado  路  4Comments

fiechr picture fiechr  路  3Comments

noobnumber1 picture noobnumber1  路  4Comments