Skip to content
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

OSD sidebar height option #6896

Merged
merged 3 commits into from
May 3, 2021

Conversation

breadoven
Copy link
Collaborator

One issue with the current character based OSD sidebars is they take up a lot of space for limited benefit. However, one of the most useful elements of the sidebars, the level indicator arrow that provide a reference for the artificial horizon, are lost if you turn the sidebars off. To get around this problem this PR provides a setting to change the OSD sidebar height. It can be set between 0 to 5 rows, default 3 as now. Setting to 0 completely removes the sidebars leaving just the level indicator arrows.

Although this change could be applicable for the pixel OSD it's currently limited to the character OSD because I don't have a pixel OSD to test. Perhaps if this can be tested, in particular for a height of 0 (set by OSD_AH_SIDEBAR_HEIGHT_POS ) then this change could be updated to include the pixel OSD.

Copy link
Member

@DzikuVx DzikuVx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@breadoven we have to increase the Parameter Group. in osd.c around line 196

PG_REGISTER_WITH_RESET_TEMPLATE(osdConfig_t, osdConfig, PG_OSD_CONFIG, 0);

@breadoven
Copy link
Collaborator Author

OK, PG updated DzikuVx.

@DzikuVx DzikuVx added this to the 3.0 milestone Apr 28, 2021
@DzikuVx DzikuVx merged commit 8547325 into iNavFlight:master May 3, 2021
@breadoven breadoven deleted the abo_osd_sidebar_height branch May 3, 2021 16:21
@b14ckyy
Copy link
Collaborator

b14ckyy commented May 18, 2021

@breadoven can you check if your change causes #6990?
Just a guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants