edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Insta trim not working

Open Mantamatt1 opened this issue 5 years ago • 13 comments

I can set up instatrim fine. but it just does nothing

Mantamatt1 avatar Jun 26 '21 10:06 Mantamatt1

With what Transmitter? What firmware version? How exactly are you setting up InstaTrim? Special Function for the model, Global function? The questions in the template are so we don't need to guess those things! ;)

I can't reproduce this on RC3 with either the X9D+ or T-Lite, with Inst.Trim attached to a switch, as a model special function.

I can reproduce it on the TX16S, again with Inst.Trim attached to SFdn, as a model special function (setting it up as a global function does not work either). The functions screen indicates the function is active (i.e. row goes yellow when switch in trigger position, but the channel output is not adjusted "trimmed" to match).

pfeerick avatar Jun 26 '21 11:06 pfeerick

Yes tx16s, sf down, function goes yellow but trims do nothing

Mantamatt1 avatar Jun 26 '21 12:06 Mantamatt1

I have re commented. It's a tx16s, sf down. Function goes yellow but no movement on trims.

Thanks for all your hard work, you have done amazing things

On Sat, 26 Jun 2021, 12:01 Peter Feerick, @.***> wrote:

With what Transmitter? What firmware version? How exactly are you setting up InstaTrim? Special Function for the model, Global function? The questions in the template are so we don't need to guess those things! ;)

I can't reproduce this on RC3 with either the X9D+ or T-Lite, with Inst.Trim attached to a switch, as a model special function.

I can reproduce it on the TX16S, again with Inst.Trim attached to SFdn, as a model special function (setting it up as a global function does not work either). The functions screen indicates the function is active (i.e. row goes yellow when switch in trigger position, but the channel output is not adjusted "trimmed" to match).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/342#issuecomment-868984826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT54YCX2B7FTTEPDT7Y3PDTUWXQJANCNFSM47LGNHNQ .

Mantamatt1 avatar Jun 26 '21 12:06 Mantamatt1

Firmware is the latest rc3

On Sat, 26 Jun 2021, 13:57 Matt Doel, @.***> wrote:

I have re commented. It's a tx16s, sf down. Function goes yellow but no movement on trims.

Thanks for all your hard work, you have done amazing things

On Sat, 26 Jun 2021, 12:01 Peter Feerick, @.***> wrote:

With what Transmitter? What firmware version? How exactly are you setting up InstaTrim? Special Function for the model, Global function? The questions in the template are so we don't need to guess those things! ;)

I can't reproduce this on RC3 with either the X9D+ or T-Lite, with Inst.Trim attached to a switch, as a model special function.

I can reproduce it on the TX16S, again with Inst.Trim attached to SFdn, as a model special function (setting it up as a global function does not work either). The functions screen indicates the function is active (i.e. row goes yellow when switch in trigger position, but the channel output is not adjusted "trimmed" to match).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/342#issuecomment-868984826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT54YCX2B7FTTEPDT7Y3PDTUWXQJANCNFSM47LGNHNQ .

Mantamatt1 avatar Jun 26 '21 12:06 Mantamatt1

As it seems, Insta trim is meant to be enabled only when certain menus / screens are displayed:

#define IS_INSTANT_TRIM_ALLOWED()      (IS_MAIN_VIEW_DISPLAYED() || IS_TELEMETRY_VIEW_DISPLAYED() || IS_OTHER_VIEW_DISPLAYED())

Now, with the new UI, it is not known globally which view/screen is displayed, so it seems it has been disabled. Does anyone know why? Or what is the idea behind that?

raphaelcoeffic avatar Jun 26 '21 15:06 raphaelcoeffic

In functions.cpp:

      case FUNC_INSTANT_TRIM:
        newActiveFunctions |= (1u << FUNCTION_INSTANT_TRIM);
        if (!isFunctionActive(FUNCTION_INSTANT_TRIM)) {

#if defined(COLORLCD) #warning IS_INSTANT_TRIM_ALLOWED() is always false #endif if (IS_INSTANT_TRIM_ALLOWED()) { instantTrim(); } } break;

eshifri avatar Jun 26 '21 16:06 eshifri

In functions.cpp:

      case FUNC_INSTANT_TRIM:
        newActiveFunctions |= (1u << FUNCTION_INSTANT_TRIM);
        if (!isFunctionActive(FUNCTION_INSTANT_TRIM)) {

#if defined(COLORLCD) #warning IS_INSTANT_TRIM_ALLOWED() is always false #endif if (IS_INSTANT_TRIM_ALLOWED()) { instantTrim(); } } break;

I'm just wondering why on b/w radios the function is limited to certain views. This is quite strange to me.

raphaelcoeffic avatar Jun 26 '21 16:06 raphaelcoeffic

I guess that if you are in the model setup views, you do not want to invoke this function by mistake.

eshifri avatar Jun 26 '21 16:06 eshifri

What counts as an IS_OTHER_VIEW_DISPLAYED though... on X9D+ with ETX (and on OTX 2.3.12 using the sim) I can trigger Insta Trim as a global function in both radio setup and model setup... I'm not immediately aware of where it doesn't work...

I personally think it should be enabled, enabled until it's disabled... it shouldn't be left active all the time, so having it work conditionally just adds confusion and potential for it to be mistakenly left on.

pfeerick avatar Jun 27 '21 00:06 pfeerick

I guess that if you are in the model setup views, you do not want to invoke this function by mistake.

Doesn't that fall into "be a responsible user"? If you do things by mistake, you need to cope with the consequences ;-) I could however understand having a sound telling you you just used "Insta. trim". Noticing which menu you are currently in with in the new UI is a non-trivial task, and would require quite some effort. So I'd advocate for letting down that "security feature" and just let it be a special function you can invoke, whatever is displayed on the screen.

raphaelcoeffic avatar Jun 27 '21 07:06 raphaelcoeffic

I use insta trim all the time with otx. I activate it by ticking the box. I maiden the model. When using instatrim it beeps every time you press it (that's quite important). I land and un tick the box to deactivate it just incase I accidentally press it it!

Its totally my responsibility if I leave it activated and accidentally press it.

You cant fix stupid! 😁

On Sun, 27 Jun 2021, 08:47 Raphael Coeffic, @.***> wrote:

I guess that if you are in the model setup views, you do not want to invoke this function by mistake.

Doesn't that fall into "be a responsible user"? If you do things by mistake, you need to cope with the consequences ;-) I could however understand having a sound telling you you just used "Insta. trim". Noticing which menu you are currently in with in the new UI is a non-trivial task, and would require quite some effort. So I'd advocate for letting down that "security feature" and just let it be a special function you can invoke, whatever is displayed on the screen.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/342#issuecomment-869117929, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT54YFQK3UR3KI4D2B2CJDTU3JR5ANCNFSM47LGNHNQ .

Mantamatt1 avatar Jun 27 '21 08:06 Mantamatt1

You cant fix stupid! 😁

I think we're all in agreement... if you insta crash it you insta to blame ;)

pfeerick avatar Jun 27 '21 08:06 pfeerick

You cant fix stupid! 😁

I think we're all in agreement... if you insta crash it you insta to blame ;)

Should we post this on « Insta. Gramm »?

raphaelcoeffic avatar Jun 27 '21 10:06 raphaelcoeffic