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

PROS 4.1: Virtualize screens for templates #417

Open
Richard-Stump opened this issue Sep 21, 2022 · 1 comment
Open

PROS 4.1: Virtualize screens for templates #417

Richard-Stump opened this issue Sep 21, 2022 · 1 comment
Labels
rfc This describes a feature, enhancement, or optimization in broad terms and should be discussed

Comments

@Richard-Stump
Copy link
Contributor

Potential Problem

With the idea of branchline, there's the potential for templates that utilize the screen to conflict. For example, there was talk about using the screen to display some values while testing robots for BLRS, but our ARMS template uses the whole screen for it's auton selector feature. This issue is likely not a huge one at the moment, but I think when we release branchline that it could become bigger as users have easier access to templates.

Solution:

Virtualize screens for templates (and maybe user programs) so that every template can provide some sort of UI on the V5 screen without conflict. Provide a UI where the user can switch between the virtual screens for the different templates. This would decrease the screen real-estate some, but would effectively increase the screen real-estate by letting each template have a screen.

Another idea would be to let templates/programs request additional virtual screens, and then they could utilize multiple screens of data.

UI Mockup Idea 1 (not to scale):

image

UI Mockup Idea 2 (not to scale):

image
image

Potential issues:

  • Will this cause issues with LVGL
  • What about the LVGL decouple?
@Richard-Stump Richard-Stump added the rfc This describes a feature, enhancement, or optimization in broad terms and should be discussed label Sep 21, 2022
@Richard-Stump Richard-Stump changed the title PROS 4: Virtualize screens for templates PROS 5: Virtualize screens for templates Sep 21, 2022
@Richard-Stump Richard-Stump changed the title PROS 5: Virtualize screens for templates PROS 4.1: Virtualize screens for templates Sep 26, 2022
@SizzinSeal
Copy link
Contributor

@unwieldycat has made a PROS 4 template that solves this: robodash.

Any template that uses its view API can add its screens to a slide-out menu that persists between screens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfc This describes a feature, enhancement, or optimization in broad terms and should be discussed
Projects
None yet
Development

No branches or pull requests

2 participants