edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Min/Max Value for Vspd and Alt gets lost (Widget Value2)

Open mama99de opened this issue 1 year ago • 10 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

Min/Max Volume for Vspd and Alt gets lost, Vspd always within about 5 seconds, Alt not always, but very often after some time. Used Widget Value2 As soon as Min/Max is lost, and then switched Widget to Fullscreen, only Max Volume is show there. See : https://youtu.be/yJoVwhbSNG4 Vspd Min/Max available for about 1-2 second see 2-5 Sec of the Video Did not occour with other Sensor Min/Max so far

Expected Behavior

Min/Max not lost for any sensor with Value2 Widget Widget Wert (in German System language) shows Min/Max always correct, even if itß´s lost in Widget Value2

Steps To Reproduce

Show Vspd/Alt with Min/Max using Value2 Widget and wait

Version

Other (Please specify below)

Transmitter

HelloRadioSky V16

Operating System (OS)

Windows

OS Version

No response

Anything else?

EdgeTX Version is 2.11.2, which can not be selected by the way Used ELRS 3.5.6 on RX/TX

mama99de avatar Jun 26 '25 21:06 mama99de

Sounds like an issue with the Lua widget? Are you using the latest version of the SD card pack / Value2 Lua widget?

@offer-shmuely

pfeerick avatar Jun 26 '25 21:06 pfeerick

Using the latest from 29. April : EdgeTX "Jolly Mon" v2.11.0 SD Card Pack (https://github.com/EdgeTX/edgetx-sdcard/releases/download/v2.11.0/c480x272.zip) Just downloaded it again, deleted the whole folder on TX incl the .luac, and copied again. But still occurs

mama99de avatar Jun 26 '25 22:06 mama99de

from main.lua:

local app_name = "Value2" local app_ver = "0.9"

mama99de avatar Jun 26 '25 22:06 mama99de

Can you send a video of the problem, and of all the sensors?

offer-shmuely avatar Jun 26 '25 22:06 offer-shmuely

Try the actual Latest ... https://github.com/EdgeTX/edgetx-sdcard/releases/download/latest/c480x272.zip

There have been updates to Value2 since then, one specifically in relation to min/max values.

Image

pfeerick avatar Jun 26 '25 22:06 pfeerick

Replaced Value2 Folder with the new(app_ver = "0.11"), but still same issue

mama99de avatar Jun 26 '25 22:06 mama99de

The Value2 widget assumes sensor values are always positive and uses a value of -1 to indicate the value does not exist or is invalid. Vspd can be positive or negative.

When Vspd- goes negative this triggers the invalid state and stops displaying.

This is also why Value2 does not display negative Vspd values correctly.

philmoz avatar Jun 26 '25 22:06 philmoz

Try this version.

Value2.zip

philmoz avatar Jun 26 '25 23:06 philmoz

Try this version.

Could not reproduce the issue with the attached version.

Thanks!

mama99de avatar Jun 27 '25 06:06 mama99de

nice fix :-) I am merging this fix into the official widget

offer-shmuely avatar Jul 05 '25 20:07 offer-shmuely