Jetrell wants to have an attitude#203
Open
sensei-hacker wants to merge 9 commits intoiNavFlight:masterfrom
Open
Jetrell wants to have an attitude#203sensei-hacker wants to merge 9 commits intoiNavFlight:masterfrom
sensei-hacker wants to merge 9 commits intoiNavFlight:masterfrom
Conversation
Add new tx16s.lua view file with a native 800x480 layout designed for the TX16S MK3 touchscreen. Key changes: - New screen detection: TX16S = LCD_W >= 800 and LCD_H >= 480 - Full 800x480 HUD with procedural aircraft reference marks (no scaled bitmaps) - MIDSIZE text with 1px black outline for HUD speed/altitude/heading readouts - Four equal 200px bottom panel columns for gauges and GPS info - Touch support: tap cycles config pages, horizontal swipe toggles max values - Enlarged text, gauges, and orientation indicators sized for the larger display Existing 480x272 (Horus) and 480x320 (TX15) layouts are unchanged.
Touch improvements in iNav.lua: - Add drag-to-scroll using slideY accumulation with 40px threshold and remainder carry-over for proportional scrolling speed - Remove swipeUp/swipeDown handlers that conflicted with slideY during the same gesture, causing erratic scroll behavior Documentation updates in Getting-Started.md: - Add setup instructions for RadioMaster TX16S and other color touchscreen radios running EdgeTX v2.11+ - Document App Mode layout requirement (replaces Full screen) - Note about re-entering app mode after reboot - Remove reference to non-functional "Restore" widget option
- Add nil guard for config[36] (backward compat with old config files) - Fix wing trig: use cos for x-displacement, sin for y (horizontal when level) - Fix roll direction: right roll correctly dips right wing - Add perpendicular-offset thickness for bolder aircraft symbol - Clamp erase box in pilot.lua to prevent negative y coordinates - Scale wing/gap/tail sizes per display target
|
For anyone wondering about the reasoning behind this. Here is the transcript on INAV Discord. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jetrell wants to have an attitude indicator as an option, instead of an artificial horizon.
meaning the indication of the aircraft moves to indicate what the aircraft is doing, while the horizon remains stationary. (aka Russian style).
(Builds on top of the previous TX16s work)
Give this a try @Jetrell . It will also need to be tested on other radios.
It's the last option at the bottom of the menu.
This should be tagged / labeled as testing needed. I don't have right on this repo to tag anything.