-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved compass arrow #4689
Improved compass arrow #4689
Conversation
|
Something went wrong. The pull did not go through. @thebentern can you help? |
It's definitely always bugged me too that the N is off the top of the display!
Are you referring to this? That was just your changes being updated, because the firmware repo moved forward while this PR is still pending. Are you referring to this? This means the layout of your code (spaces, tabs, etc) doesn't match the rules. Normally people fix this automatically with the https://trunk.io/ tool, but someone can probably help fix it for you this time. |
Hi Todd! |
Some display models do have more issues with ghosting that others, but probably it's more concerning from a technical standpoint than a user-experience standpoint.
That's maybe not a bad idea actually. At least it'd be a relatively small block of code to wrap. I know I've committed greater preprocessor sins myself previously when dodging filled black elements for E-Ink.
As for confusing: I've always had "Compass north top" set, although that's personal taste.
Ah don't worry, it's a bit tricky to wrangle the formatting: it's fussy. I couldn't do it manually. We all just rely on linting tools like trunk. |
|
I wanted to run trunk to fix the formatting for you and make GitHub happy, but I threw in that directive at the same time. Sorry for the intrusion. Personally I'm still not sure how clear the meaning of the indicator circle is without the N, but if nobody else is worried by this, I'm happy to let it go. |
There's always things to fix if you're up for it! |
@todd-herbert |
Thank you for this work. @todd-herbert I think the circle is OK! :) It probably makes more sense in places that don't use an English alphabet, too! |
I thank you all for your help and support! A very amateur question.Is there anything else I need to do regarding the pull? |
meshtastic#4494 New compass arrow and replacement of the north marker with a small circle.
@Szetya nothing left for you to do - we're just waiting for those checks to run then we can hit the merge button. |
@Szetya passing this on from the Discord server |
Thank you for your kind feedback! -When north top mode is off. The short line is fixed at the top. You can see where north is relative to the direction of movement as well as the direction of the node. I tried to test it as much as I could. The nodes I know and the north as well as the direction of travel seem to have been correct during the tests. |
Looks great @Szetya ! Want to try proposing another patch :D |
This is a good idea,, looks good should certainly be implemented as an option. my only issue with the compass it that at its basic usage it should work as such, like when i open the compass app on my phone and it points to north, or even if i had a real compass for that matter!!. i'd like it to point to north and the arrow point towards where the node is.. so maybe they could be the new updated options.. |
Hello! |
I have some thoughts and would like to write you a longer letter. I am still on my way home from work. But I haven't forgotten. 😇 |
First. The heading is not a real heading just a heading based on GPS data, as far as I can tell, and has nothing to do with a magnetic compass. So you have to be moving to get meaningful data. void Screen::drawCompassNorth(OLEDDisplay display, int16_t compassX, int16_t compassY, float myHeading)
} To be honest, whoever created the original functions made it very easy to understand and logical. |
I did notice that the waypoint screen has the circle missing around the compass. I use inverted header, not sure if that's what causes it. |
Hi! |
I have the Android 2.4.13 application. If I hold my finger on a node it jumps to that node in the node list. Unbelievable but I can't find this option. :) |
Screen_Recording_20240925_115713_Meshtastic.mp4 |
#4494
New compass arrow and replacement of the north marker with a small circle.