teckel12/LuaTelemetry

Not Ok Message after Update to Open TX 2.3 and Inav 2.6

SteffenFPV opened this issue · 3 comments

After Update to Open TX 2.3 and Inav 2.6 I get the "NOT OK" message on all screens.

Parallel check with Inav Configurator showes that all pre-arming checks were passed, hardware is healty and navigation is safe (enough sattelites).

Also it is possible to arm motors and start flying.

But the "NOT OK" Message stays on all telemetry screens, also during flight.

I found a solution in source code.

In File Inav.lua replace line 229:

data.modeId = (bit32.band(modeE, 2) == 2 or modeE == 0) and (data.throttle > -920 and 12 or 5) or 6 -- Not OK to arm(5) / Throttle warning(12) / Ready to fly(6)

by

if (data.throttle > -920) then
data.modeId = 12 --Throttle warning(12)
elseif (bit32.band(modeE, 2) == 2 or data.gpsFix == false) then
data.modeId = 5 --Not OK(5)
else
data.modeId = 6 --Ready to fly(6)
end

@SteffenFPV There was an issue in OpenTX and Flightmode Sensor. I had experienced the same issue as you described, the "FM" sensor value was not processed correctly. This got fixed in OpenTX 2.3.11 now.
I am using the LuaTelemerty with Betaflight and it started working again.
This might be related to it: opentx/opentx#8170

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.