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

Reversed Roll in attitude indicator (artificial horizon) Graphic #142

Closed packetkiller closed 4 months ago

packetkiller commented 4 months ago

Describe the bug The iNAV Telemetry Widget is displaying the attitude indicator graphic roll in reverse (left roll is right roll and right roll is left roll).

TX = RadioMaster TX16S TX Firmware = 6.17 EdgeTX ver = 2.9.3 "Providence" RX = TBS Crossfire Diversity Nano RX Firmware = 6.17 Telemetry Protocol = Crossfire Flight Controller = Lumenier LUX-H7 HD Flight Controller FC Firmware = iNAV 7.0.1 with inav_7.1.0_MATEKH743.hex

To reproduce Turn on all electronics (TX, VRX, Battery connected to aircraft) While looking at the aircraft from the rear (the aircraft pointing away from you in the direction it would normally fly), lower the left wing (simulate a left roll). Look at the iNAV Telemetry Widget on the TX and notice the roll graphic depicts a right roll. Repeat for right roll. Again, look at iNAV Telemetry Widget on the TX and notice the roll graphic depicts a left roll. Note, all telemetry data indicates good values with the exception of the reversed roll attitude indicator graphic. Expected behavior An aircraft left roll is expected to show a left roll in the iNAV Telemetry Widget. Same for right roll.

Screenshots See attached files for left and right roll with iNAV Telemetry Widget showing reverse roll in attitude indicator graphic.

Radio and model settings The model name is Opticopter1. Note: the other model using the same TX (an ARPro1) now also displays incorrectly in the iNAV Widget since iNAV upgrade to 7.1.0. Attached is the .dat and EdgeTX .etx settings backup files and other log files.

Additional context Also provided is a copy of the iNAV config settings for Opticopter1. TX_LOGS_Opticopter2-2024-04-15-134032.zip FC_LOGS.zip

stronnag commented 4 months ago

Duplicate of #131

packetkiller commented 4 months ago

Not a duplicate. New model. Same issue. Please do not just dismiss this without at least providing some evidence there is NOT an issue. Call it education on my part if you want.

sensei-hacker commented 4 months ago

If you want us to take out time to help you understand, please stop wasting our time by creating duplicates all over the place. I could explain to you what's going on, but instead I'm dealing with the four duplicates you created.

MrD-RC commented 4 months ago

If the plane banks left. The AHI will bank right. This is so that the ground looks level if you were in the aircraft.

If this is the way yours is working. It is correct. If not. Post a video showing the LUA screen and your aircraft. Then bank your aircraft.

packetkiller commented 4 months ago

Thank you all who provided the detail showing the expected behavior. I have been able to determine from this that the issue was a bug in the firmware (v7.0.1) for the Matek H743-WING and my particular configuration (FC turned 90 degree). This same firmware is also used for a different model FC (Lumenier LUX H743 HD) in another model that operates as described above (no issue). This seems to indicate a hardware specific setting. This has been corrected in the v7.1.0 firmware release for both models and no longer seems to be an issue. Again, thank you for the response, as it was what was needed in order to identify the root cause of the issue. Hope this helps others who may see these types of issues in the future.