iNavFlight / OpenTX-Telemetry-Widget

INAV Lua Telemetry with support for EdgeTX
https://luatelemetry.readthedocs.io/en/latest/
GNU General Public License v3.0
156 stars 32 forks source link

Critical Battery alarm with a full battery. #47

Closed OldManFPV100 closed 2 years ago

OldManFPV100 commented 2 years ago

Describe the bug

Hi , I am having a problem, every time I arm the motor I get a critical battery alarm, with a Full Battery, alarm stops when motor disarmed. However, I do get a GPS lock, Ok to fly and the motor will spin. I have reset the flight and the telemetry, individually and together, prior to powering up the model and with model powered on. The TX16s INAV LUA telemetry screen displays current Battery and Fuel at 100%, but I see it flashing yellow /red, Also, in the actual TX16s telemetry sensor screen I see the voltage fluctuating between 0-99%.

I have followed the instructions in the WIKI R/T battery information and have matched the in INAV settings in configurator and the INAV lua on the TX16s I am using Crossfire, so I did not do the CLI changes as stated in the battery information. I did not have this problem until I tried changing over to EdgeTx then I changed back, after several failed attempts, everything else seems to working with the TX16s and the other models not associated with INAV.

Model #1 Ranger-FPV2022

Radiomaster Tx16s Running 2.3.15-otx Crossfire nano RX INAV config. 4.1.0 Matek 765 running INAV 4.1.0 2 x 5000mah 3 cell Lipo's

Thank You very much. I hope it is something simple that I have missed! Cheers

RangerFPV2022.zip

stronnag commented 2 years ago

If the value is fluctuation between 0-99% in the radio telemetry screen, then this is most likely a FC or RX/TX issue, not a widget issue; it's just showing what it gets from the radio.

Do you have an OpenTX CSV telemetry log that illustrates the affect?

OldManFPV100 commented 2 years ago

Hi Thank you for responding! I now have a file for the Open TX CSV telemetry log, I hope it helps.

Ranger-FPV2022-2022-06-09.csv .

stronnag commented 2 years ago

You have a FC/TX/RX telemetry problem. Nothing the LUA widget can do about this. ranger-fpv

kyko84 commented 2 years ago

Hello, i have the same problem, here the telemetry log. Gekocrf-2022-06-12-183138.csv Radio is TX16S "edgeTX 2.7", with a crossfire module in 6.17 firmware version. The FC is a mamba F722 basic mini mk3, flashed with INAV 5 RC2, target mamba F722_I2C.

stronnag commented 2 years ago

Something is broken between the FC, RX and TX. The LUA widget is just the messenger. gekocrf

kyko84 commented 2 years ago

I have a temporaly solution : The trick is, turn off the parameter "rx battery sensor" in agentLite /M/X .

https://www.reddit.com/r/fpv/comments/qbaufu/comment/hha615n/?utm_source=share&utm_medium=web2x&context=3

stronnag commented 2 years ago

That makes sense, there is one useful field in CRSF telemetry for remote voltage (RxBt(V)), this is populated by INAV. If you also ask the RX to populate the same field, then each will overwrite the other at their respective update rates. This is why the graph oscillates between the external VBAT and the supply voltage to the RX.

Configuration error.