-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use extended OSd glyphs for dot in numbers #10614
base: maintenance-8.x.x
Are you sure you want to change the base?
Conversation
src/main/io/osd.c
Outdated
uint8_t symbol_mi = SYM_MI; | ||
uint8_t symbol_nm = SYM_NM; | ||
|
||
if(useRichSymbols) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this? Can't we always use the same symbols?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second number of ADSB warning OSD element is altitude diff, I was not sure if it's OK to use "dis/km" OSD element. For horizontal distance INAV use "dis/km", for altitude "alt/km", but there is no element for altitude diff.
Originaly it was without unit, I don't think it's OK.
Do you have any suggestion how ADSB warning should look? I'm open to any suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a suffix and a bunch of other elements on that particular item, right? I think part of the reason for different symbols for distance/km and altitude/km is the silly mix of units used in aviation.... :)
Just check the units options for the OSD.
It should be ok to use dis/km for horizontal distance and alt/km for vertical difference.
You can probably look at the radar osd element for consistency, but they may be ommiting the distance units for brevity. The analog osd canvas is a lot smaller than the hd osd canvas, which is probably the motivation for the compressed decimal symbol as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok for me. @MrD-RC any feedback on this?
BTW, if you want to aim for 8.1.x, you should target maintenance-8.x.x branch instead of master in your pr. |
0bd7871
to
a4ded42
Compare
Inav Configurator #PR iNavFlight/inav-configurator#2311