EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.54k stars 330 forks source link

Trim overide in Special Functions #3018

Open Kevltan opened 1 year ago

Kevltan commented 1 year ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

Trim overide in Special Functions

Describe the solution you'd like

To be able to instantly overide trim setting with a switch or logical switch, needs to show up as a trim adjustment on the display. A trim one step would also be an option. For example with the throttle:- Click trim up once would be full up trim, click trim down once would be full down trim.

Describe alternatives you've considered

I have heard flight modes might be a posibility.

Additional context

No response

philmoz commented 1 year ago

You can do this with flight modes; however you have to set it up in Companion, you can't do this on the radio at the moment.

Also note that the maximum value you can set for trim in Companion is 125, and min is - 125. The actual range for trim on the radio is -128 to 128 so if you actually need full up or down trim you will need to manually edit the model YAML file and alter the trim settings.

You could also do this with a combination of logical switches, special functions and Lua scripts. If you want to try doing it this way let me know and I will post details.

Kevltan commented 1 year ago

Is it possible to create a 2 step trim in the firmware which can be activated by either logical switches via Special Functions (trim override) or the trim lever itself. It must show a visable move on the trim icon on the screen as I use a RDT widget that shows trim position. Can the firmware be edited by me to create this 2 step trim movement instead of the coarse, fine etc. and if so where can I find the code to edit, to do this? I think this option would be a good implementation in EdgeTX as I believe it is in some of the mainstream radios.

On Tue, 17 Jan 2023, 11:04 philmoz, @.***> wrote:

You can do this with flight modes; however you have to set it up in Companion, you can't do this on the radio at the moment.

Also note that the maximum value you can set for trim in Companion is 125, and min is - 125. The actual range for trim on the radio is -128 to 128 so if you actually need full up or down trim you will need to manually edit the model YAML file and alter the trim settings.

You could also do this with a combination of logical switches, special functions and Lua scripts. If you want to try doing it this way let me know and I will post details.

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/3018#issuecomment-1385255780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANPFAW2FA6WYLBQAMJ656SDWSZ4E7ANCNFSM6AAAAAATYSKASQ . You are receiving this because you authored the thread.Message ID: @.***>