Reset Trim Action #4929
Closed
inventor7777
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Good pont. Some of the more "complex" stuff can be done through Lua, so you
could have a simple reset trim Lua that can be run by a SF ;)
…On Fri, 26 Apr 2024, 7:20 am inventor7777, ***@***.***> wrote:
Hi all!
I wanted to make a Special Function to reset a certain trim on my
RadioMaster MT12 to its default value (0).
However, I don't believe there is a "Reset Trim __ to value __" action.
It would be a nice feature to have in the future. Thanks!
—
Reply to this email directly, view it on GitHub
<#4929>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ66KMJJTOJQ7I6F3USBRTY7FXRHAVCNFSM6AAAAABGZUKGGSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGU3DCNBXG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
There are docs on the Lua API available in EdgeTX here :
https://luadoc.edgetx.org/
I would probably start looking at model.getFlightMode()
and model.setFlightMode() as trims are set as part of flight modes. You may
be lucky and find some scripts showing it in use if you search for that and
opentx.
…On Sat, Apr 27, 2024 at 12:16 AM inventor7777 ***@***.***> wrote:
How should I go about doing that? Is there a wiki about LUA scripts? I'd
love to learn!
—
Reply to this email directly, view it on GitHub
<#4929 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ66KLERLNM6PFFKB35ZLLY7JOVPAVCNFSM6AAAAABGZUKGGSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEMZXHAZDC>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all!
I wanted to make a Special Function to reset a certain trim on my RadioMaster MT12 to its default value (0).
However, I don't believe there is a "Reset Trim __ to value __" action.
It would be a nice feature to have in the future. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions