mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-10-28 01:03:55 +08:00
fcf4b0d395
* Revert " A New Dawn" This reverts commitf50108b4af. * Revert "Add configurable initial max speed (#39081)" This reverts commit24c26487f4. * add back some stuff and new ui * exp mode removal again * restore tici * rm exp mode and add new designs, fix color bug for tici * dedup * more dedup * round values when toggling between metric! * nick design tm * inlining * simplification * fix * cmts * clr * clr * remove taparea * rm * rm * clean up
ui
The user interfaces here are built with raylib.
Quick start:
- set
BIG=1to run the comma 3X UI (comma four UI runs by default) - set
SHOW_FPS=1to show the FPS - set
STRICT_MODE=1to kill the app if it drops too much below 60fps - set
SCALE=1.5to scale the entire UI by 1.5x - set
BURN_IN=1to get a burn-in heatmap version of the UI - set
GRID=50to show a 50-pixel alignment grid overlay - set
MAGIC_DEBUG=1to show every dropped frames (only on device) - set
RECORD=1to record the screen, output defaults tooutput.mp4but can be set withRECORD_OUTPUT - set
PRIME_TYPEto preview pairing/Prime status:-1unpaired,0paired without Prime,2Prime Lite,1Prime Full - set
PAIRING_PROVIDERto preview the different states based on connect auth providersgoogle,githuborapple - https://www.raylib.com/cheatsheet/cheatsheet.html
- https://electronstudio.github.io/raylib-python-cffi/README.html#quickstart
Style guide:
- All graphical elements should subclass
Widget.- Prefer a stateful widget over a function for easy migration from QT
- All internal class variables and functions should be prefixed with
_