When I found out about the v5 brain had a screen, I knew I wanted to make a fancy looking auton selector. It ended up working pretty well and a couple of people asked for it, so for this year I decided to clean things up and release it publicly.
Introducing screenlib, for PROS 3
Currently included in this library is a utility for drawing any field combination to the screen, in a movable and re-sizable window that you can implement into any auton selector. It does a birds-eye view of the field, and prints numbers on top of cubes to denote stacks. Here’s an example of it :
Information on usage can be found on its github page or in the library’s header files.
How do I install it?
- Download the zip file for the latest version here
- Run
prosv5 c fetch path/to/file/[email protected]
, replacing the path with the correct path to the file and VERSION with the correct version - In your project directory run
prosv5 c apply screenlib
I plan on adding more to it in the future, but I wanted to get this out there now that its main feature is ready. Feel free to contact me with any questions, help, feedback, or suggestions on here, my discord (Sufficient#2182), or on github.
Thanks, I hope this can be useful to some teams.