Min/Max Value for Vspd and Alt gets lost (Widget Value2)
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
Sounds like an issue with the Lua widget? Are you using the latest version of the SD card pack / Value2 Lua widget?
@offer-shmuely
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
from main.lua:
local app_name = "Value2" local app_ver = "0.9"
Can you send a video of the problem, and of all the sensors?
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.
Replaced Value2 Folder with the new(app_ver = "0.11"), but still same issue
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.
Try this version.
Could not reproduce the issue with the attached version.
Thanks!
nice fix :-) I am merging this fix into the official widget