Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA model.setFlightMode() parameterize global variable #5645

Open
1 task done
zebbel opened this issue Nov 1, 2024 · 0 comments
Open
1 task done

LUA model.setFlightMode() parameterize global variable #5645

zebbel opened this issue Nov 1, 2024 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@zebbel
Copy link

zebbel commented Nov 1, 2024

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

I have started to write a wizard for the Radiomaster MT12.

I wanted to use the driving modes to implement different functions via global variables.
Each driving mode needs its own global variable.
Unfortunately it is not possible to change the global variable from DM0 to own via LUA and model.setFlightMode().
Also the min and max should be adjustable from LUA

Describe the solution you'd like

It should also be possible to parameterize the global variable via model.setFlightMode().

Describe alternatives you've considered

No response

Additional context

No response

@zebbel zebbel added the enhancement ✨ New feature or request label Nov 1, 2024
@zebbel zebbel changed the title LUA model.setFlightMode LUA model.setFlightMode() parameterize global variable Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant