James Vecellio-Grant
ebca4fc901
ui: fuzzy search helper ( #1507 )
...
* ui: fuzzy search helper
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 04:19:48 -05:00
James Vecellio-Grant
3e29a0ccfe
ui: ProgressBarAction ( #1492 )
...
* raylib: progress bar
* freaking test dir
* easier to see
* smoother updating
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 03:30:18 -05:00
James Vecellio-Grant
bee820f8ed
ui: InputDialogSP ( #1484 )
...
* dialog txt
* compare vs what used to be done before InputDialog
* rm
* final
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-29 03:23:03 -05:00
Nayan
99ed90d459
ui: Option Control ( #1479 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* Option Control
* Need this
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* simplify
* I. SAID. SIMPLIFY.
* AAARGGGGGG.....
* option control value fix
* forgot about the setter
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* ugh. no
* new style. old style.
* lint
* rename
* old but gold <3
---------
Co-authored-by: discountchubbs <alexgrant990@gmail.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
Co-authored-by: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com >
2025-11-29 03:10:59 -05:00
Nayan
4914445415
ui: sunnypilot MultiButtonControl ( #1478 )
...
* commaai/openpilot:d05cb31e2e916fba41ba8167030945f427fd811b
* bump opendbc
* bump opendbc
* bump opendbc
* bump opendbc
* bump opendbc
* sunnypilot: remove Qt
* cabana: revert to stock Qt
* commaai/openpilot:5198b1b079c37742c1050f02ce0aa6dd42b038b9
* commaai/openpilot:954b567b9ba0f3d1ae57d6aa7797fa86dd92ec6e
* commaai/openpilot:7534b2a160faa683412c04c1254440e338931c5e
* sum more
* bump opendbc
* not yet
* should've been symlink'ed
* raylib says wut
* quiet mode back
* more fixes
* no more
* too extra red diff on the side
* need to bring this back
* too extra
* let's update docs here
* Revert "let's update docs here"
This reverts commit 51fe03cd5121e6fdf14657b2c33852c34922b851.
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* multi-button
* Lint
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* better padding
* this
* support for next line multi-button
* uhh
* disabled colors
* listitem -> listitemsp
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* use in toggles panel
* ugh. no
* better & animated
* lint
* cleanup
* lint. LINT
* slight
* default no inline ty <3
* style change
* move stuff around
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-28 01:02:31 -05:00
Jason Wen
c229eb4f38
ui: reimplement sunnypilot branding with Raylib ( #1517 )
...
* ui: sunnypilot branding
* fr??
2025-11-25 18:37:09 -05:00
Jason Wen
da35e60101
ui: display mouse coordinates with debug mode ( #1512 )
...
* ui: add debug to display mouse coordinates
* cleanup
* use mouse x and y directly
* even less
* try this out
* ui: increase `scroll` delay in UI Preview
* sleep for clicks too
* don't lol
* try 1 secs
* try this out
* wait a sec before doing a screenshot
* nah
2025-11-25 18:10:40 -05:00
Nayan
844f4cbc74
ui: sunnypilot panels ( #1477 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* Panels. With Icons. And Scroller.
* patience, grasshopper
* more patience, grasshopper
* sp raylib preview
* fix callback
* fix ui preview
* add ui previews
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* scroller -> scroller_tici
* scroller -> scroller_tici
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* use gui_app.sunnypilot_ui()
* lint
* no fancy toggles :(
* match them
* mici scroller - no touchy
* no
* more
* size adjustments
* fix scroller. yay
* more
* loopy loop
* update brand name
* ui preview fixes
* Revert "update brand name"
This reverts commit ad44c32fc713aa6b8f6e6ab50adef7210e064a0e.
* fix sidebar scroller reset
* fix developer click
* more
* more
* try this out
* one more time
* bruh
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-24 14:43:33 -05:00
Nayan
9edc36ca66
ui: fix scroll panel mouse wheel behavior ( #1506 )
...
fix scroller. yay
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-24 11:18:12 -05:00
Nayan
457b6634fd
ui: sunnypilot toggle style ( #1475 )
...
* param to control stock vs sp ui
* init styles
* SP Toggles
* Lint
* optimizations
* sp raylib preview
* fix callback
* fix ui preview
* better padding
* this
* listitem -> listitemsp
* add show_description method
* remove padding from line separator.
like, WHY? 😩 😩
* ui: `GuiApplicationExt`
* add to readme
* use gui_app.sunnypilot_ui()
* lint
* no fancy toggles :(
* mici scroller - no touchy
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-21 23:37:03 -05:00
Jason Wen
d92d2cb683
ui: GuiApplicationExt ( #1501 )
...
* ui: `GuiApplicationExt`
* add to readme
2025-11-21 22:28:51 -05:00
Nayan
8184cd8a6a
ui: optimize gui_app & spinner ( #1474 )
...
remove gui_app_sp & use upstream gui_app
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-21 14:59:54 -05:00
discountchubbs
ceed203de7
Merge remote-tracking branch 'openpilot/master' into nov-19-sync
2025-11-21 09:42:54 -08:00
Dean Lee
61fffb9578
ui: avoid rendering off-viewport items in Scroller ( #36659 )
...
avoid rendering off-viewport items in Scroller
2025-11-20 14:41:08 -08:00
Maxime Desroches
a46af06baa
document MAGIC_DEBUG=1
2025-11-20 14:28:48 -08:00
Adeeb Shihadeh
f0d8ebd851
mici training guide tuneups ( #36652 )
...
* bump up size
* lil more
* rm param
* 5m timeout and 100% brightness
* set parasm:
2025-11-19 15:03:28 -08:00
Adeeb Shihadeh
c8effae4eb
ui/wifi: fix no attribute error ( #36653 )
2025-11-19 14:18:48 -08:00
David
eeddfc058a
ui(mici): remove duplicate draw_texture_pro call in mici_keyboard ( #36647 )
...
Remove duplicate draw_texture_pro call in IconKey class
2025-11-19 11:08:39 -08:00
Maxime Desroches
b89c717643
AGNOS 15.1 ( #36638 )
...
* stage
* staging
* prod
2025-11-19 00:23:42 -08:00
Shane Smiskol
3aaf249236
comma four ( #36639 )
...
* squash squash squash
* scroller tici
2025-11-18 22:27:45 -08:00
Maxime Desroches
b73be441b3
bump updater
2025-11-18 21:56:17 -08:00
Adeeb Shihadeh
4ef0d3ee99
setup sound for DM test mode
2025-11-18 10:11:06 -08:00
Adeeb Shihadeh
67cbeebc7b
sensord: magnetometer is only for tizi
2025-11-18 10:10:32 -08:00
Adeeb Shihadeh
16abf93be8
reduce ruff noise with raylib
2025-11-17 22:40:33 -08:00
Adeeb Shihadeh
b8a845fe93
ui: add GRID debug helper ( #36630 )
2025-11-17 20:46:34 -08:00
Jason Wen
08e85808c5
Merge branch 'upstream/openpilot/master' into sync-20251114
...
# Conflicts:
# .github/workflows/ci_weekly_run.yaml
# .github/workflows/raylib_ui_preview.yaml
# .github/workflows/tests.yaml
# .gitmodules
# README.md
# SConstruct
# common/api.py
# common/params_keys.h
# docs/CARS.md
# msgq_repo
# opendbc_repo
# panda
# selfdrive/car/tests/test_car_interfaces.py
# selfdrive/controls/controlsd.py
# selfdrive/controls/lib/latcontrol.py
# selfdrive/controls/lib/latcontrol_angle.py
# selfdrive/controls/lib/latcontrol_pid.py
# selfdrive/controls/lib/latcontrol_torque.py
# selfdrive/controls/tests/test_latcontrol.py
# selfdrive/monitoring/helpers.py
# selfdrive/ui/SConscript
# selfdrive/ui/main.cc
# selfdrive/ui/qt/body.h
# selfdrive/ui/qt/home.cc
# selfdrive/ui/qt/home.h
# selfdrive/ui/qt/network/networking.cc
# selfdrive/ui/qt/network/networking.h
# selfdrive/ui/qt/network/wifi_manager.cc
# selfdrive/ui/qt/offroad/developer_panel.cc
# selfdrive/ui/qt/offroad/developer_panel.h
# selfdrive/ui/qt/offroad/experimental_mode.cc
# selfdrive/ui/qt/offroad/firehose.cc
# selfdrive/ui/qt/offroad/firehose.h
# selfdrive/ui/qt/offroad/onboarding.cc
# selfdrive/ui/qt/offroad/onboarding.h
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/qt/offroad/settings.h
# selfdrive/ui/qt/offroad/software_settings.cc
# selfdrive/ui/qt/onroad/alerts.cc
# selfdrive/ui/qt/onroad/annotated_camera.h
# selfdrive/ui/qt/onroad/buttons.cc
# selfdrive/ui/qt/onroad/buttons.h
# selfdrive/ui/qt/onroad/driver_monitoring.cc
# selfdrive/ui/qt/onroad/hud.cc
# selfdrive/ui/qt/onroad/hud.h
# selfdrive/ui/qt/onroad/model.cc
# selfdrive/ui/qt/onroad/model.h
# selfdrive/ui/qt/onroad/onroad_home.cc
# selfdrive/ui/qt/onroad/onroad_home.h
# selfdrive/ui/qt/request_repeater.h
# selfdrive/ui/qt/sidebar.cc
# selfdrive/ui/qt/sidebar.h
# selfdrive/ui/qt/util.cc
# selfdrive/ui/qt/widgets/cameraview.h
# selfdrive/ui/qt/widgets/controls.cc
# selfdrive/ui/qt/widgets/controls.h
# selfdrive/ui/qt/widgets/input.cc
# selfdrive/ui/qt/widgets/input.h
# selfdrive/ui/qt/widgets/prime.cc
# selfdrive/ui/qt/widgets/prime.h
# selfdrive/ui/qt/widgets/ssh_keys.h
# selfdrive/ui/qt/widgets/toggle.h
# selfdrive/ui/qt/widgets/wifi.cc
# selfdrive/ui/qt/widgets/wifi.h
# selfdrive/ui/qt/window.cc
# selfdrive/ui/qt/window.h
# selfdrive/ui/tests/cycle_offroad_alerts.py
# selfdrive/ui/tests/test_ui/run.py
# selfdrive/ui/translations/main_ar.ts
# selfdrive/ui/translations/main_de.ts
# selfdrive/ui/translations/main_es.ts
# selfdrive/ui/translations/main_fr.ts
# selfdrive/ui/translations/main_ja.ts
# selfdrive/ui/translations/main_ko.ts
# selfdrive/ui/translations/main_nl.ts
# selfdrive/ui/translations/main_pl.ts
# selfdrive/ui/translations/main_pt-BR.ts
# selfdrive/ui/translations/main_th.ts
# selfdrive/ui/translations/main_tr.ts
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
# selfdrive/ui/ui.cc
# selfdrive/ui/ui.h
# system/manager/build.py
# system/version.py
2025-11-16 02:50:28 -05:00
Adeeb Shihadeh
d0c6f845da
ui: add burn in debug mode ( #36625 )
...
* ui: add burn in debug mode
* scary
* lil less
* lil cleanup
* revert that
* cleanup
2025-11-14 17:33:14 -08:00
Shane Smiskol
fc253fe1ee
Don't resize images that are the same size
2025-11-13 14:59:34 -08:00
Shane Smiskol
d72a01d739
raylib: fix texture wrapping filtering artifacts ( #36618 )
...
fix wrapping artifacts
2025-11-13 14:58:16 -08:00
Maxime Desroches
9ee66008db
AGNOS 15 ( #36611 )
...
* stage
* production
2025-11-11 22:59:54 -08:00
Dean Lee
6a257fe2de
ui: increase profile output from 25 to 100 functions ( #36607 )
...
increase profile output from 20 to 100 functions
2025-11-11 16:10:37 -08:00
Maxime Desroches
dad7bb53a2
ui: let ui_state set brightness
2025-11-10 22:24:35 -08:00
Dean Lee
ed42cfe699
ui: refactor GuiApplication.render into smaller helper methods ( #36569 )
...
refactor render into smaller helper method
2025-11-10 18:08:02 -08:00
Maxime Desroches
890b1cf512
AGNOS 14.7 ( #36597 )
...
* stage
* prod
2025-11-07 02:54:52 -08:00
Maxime Desroches
e5a7deb6ad
AGNOS 14.6 ( #36586 )
...
* stage
* ver
* prod
2025-11-06 01:22:37 -08:00
Adeeb Shihadeh
2d31b422c8
ui: prep for 60fps ( #36585 )
2025-11-05 23:01:10 -08:00
Adeeb Shihadeh
89919c8832
this is not a good api
2025-11-05 18:55:50 -08:00
DevTekVE
4b5de0eddb
stats: sunnylink integration ( #1454 )
...
* sunnylink: add statsd process and related telemetry logging infrastructure
- Introduced `statsd_sp` process for handling Sunnylink-specific stats.
- Enhanced metrics logging with improved directory structure and data handling.
* sunnylink: re-enable and refine stat_handler for telemetry processing
- Reactivated `stat_handler` thread with improved path handling.
- Made `stat_handler` more flexible by allowing directory injection.
* statsd: fix formatting issue in telemetry string generation
- Corrected missing comma between `sunnylink_dongle_id` and `comma_dongle_id`.
* update statsd_sp process configuration for enhanced readiness logic
- Modified `statsd_sp` initialization to include `always_run` alongside `sunnylink_ready_shim`.
- Ensures robust process activation conditions.
* refactor(statsd): enhance and unify StatLogSP implementation
- Replaced custom `StatLogSP` in sunnylink with centralized implementation from `system.statsd`.
- Ensures consistent logic for StatLogSP handling across modules.
* fix
* refactor(statsd): add intercept parameter to StatLogSP for configurable logging
- Introduced optional `intercept` parameter to `StatLogSP` to manage `comma_statlog` initialization.
- Updated usage in `sunnylink` to disable interception where unnecessary.
* Dont complain
* feat(statsd): add raw metric type and SunnyPilot-specific stats collection
- Introduced `METRIC_TYPE.RAW` for base64-encoded raw data metrics.
- Added `sp_stats` thread to export SunnyPilot params as raw metrics.
- Enhanced telemetry handling with decoding and serialization updates.
* refactor(statsd): improve `sp_stats` error handling and param processing
- Enhanced exception handling for `params.get` to prevent crashes.
- Added support for nested dict values to be included in stats.
* refactor(statsd): adjust imports and minor code formatting updates
- Updated `Ratekeeper` import path for consistency with the `openpilot` module structure.
- Fixed minor formatting for improved readability.
* refactor(statsd): update typings and remove unused NoReturn annotation
- Removed unnecessary `NoReturn` typing for `stats_main` to simplify function definition.
- Adjusted `get_influxdb_line_raw` to refine typing for `value` parameter.
* cleanup
* init
* init
* slightly more
* staticmethod
* handle them all
* get them models
* log with route
* more
* car
* Revert "car"
This reverts commit fe1c90cf4d422864388e4a73d5cd25c9e585a9b3.
* handle capnp
* Revert "handle capnp"
This reverts commit c5aea6880333863838a7c258541fb7a2812f2e2b.
* 1 more time
* Revert "1 more time"
This reverts commit a364474fa580d9ef9760a8896f9db76d526abead.
* Cleaning to expose wider
* feat(interfaces, statsd): log car params to stats system
- Added `STATSLOGSP` import and logging to capture `carFingerprint` in metrics.
- Improved error handling in `get_influxdb_line_raw` for robust metric generation.
* refactor(interfaces): streamline car params logging to stats
- Simplified logging by directly converting `CP` to a dictionary.
- Removed legacy stats aggregation for clarity.
* feat(sunnylink): enable compression for stats in SunnyLink
- Added optional compression for stats payload to support large data.
- Updated `stat_handler` to handle compression and base64 encoding.
* fix(statsd): filter complex types in `get_influxdb_line_raw`
- Skips unsupported types (dict, list, bytes) to prevent formatting errors.
- Simplifies type annotation for `value` parameter.
* fix(statsd): use `json.dumps` for string conversion in `get_influxdb_line_raw`
- Ensures proper handling of special characters in values.
- Prevents potential formatting issues with raw `str()` conversion.
* refactor(interfaces, statsd): update parameter keys for stats logging
- Renamed logged keys for better clarity (`sunnypilot_params` → `sunnypilot.car_params`, `device_params`).
- Ensures consistency across data logs.
* bet
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-11-04 16:53:31 -05:00
Maxime Desroches
5198b1b079
support ECDSA ( #36555 )
...
* keys
* remove
* remove
* too small
2025-11-03 22:45:00 -08:00
Adeeb Shihadeh
e8a11591a8
ui: add render loop profiling ( #36558 )
2025-11-03 21:45:46 -08:00
Adeeb Shihadeh
cbc8f98682
ui: fix RuntimeError on exit on PC
2025-11-03 16:20:36 -08:00
Adeeb Shihadeh
ecdcb5d0c6
tici: affine DRM IRQ to same core as ui ( #36554 )
2025-11-03 14:36:19 -08:00
Dean Lee
215ef16803
ui: fix LineSeparator horizontal centering issue ( #36533 )
...
fix LineSeparator horizontal centering issue
2025-11-03 11:22:42 -08:00
Dean Lee
350b846d3a
ui: fix vertical centering for multi-line labels ( #36538 )
...
fix vertical centering for multi-line labels
2025-11-03 11:21:41 -08:00
Dean Lee
9ce9920ff7
ui: fix label text eliding to account for icon width ( #36539 )
...
fix label text eliding to account for icon width
2025-11-03 11:21:20 -08:00
Dean Lee
1c0b087105
ui: fix keyboard.reset() to properly clear all interaction state ( #36541 )
...
fix keyboard.reset() to properly clear all interaction state
2025-11-03 11:20:24 -08:00
Dean Lee
137d4b89b4
ui: fix icon vertical positioning using width instead of height ( #36542 )
...
fix icon vertical positioning using width instead of height
2025-11-03 11:20:08 -08:00
Shane Smiskol
2cc4885a2e
raylib: fix window freezing ( #36517 )
...
fix window freezing
2025-11-03 11:17:38 -08:00
Dean Lee
9bf904e8a6
ui: scale mouse positions in touch history ( #36530 )
...
scale mouse position in touch history
2025-11-03 08:55:05 -08:00
Adeeb Shihadeh
5ea5f6f267
ui: timeout touch points ( #36550 )
2025-11-02 21:48:33 -08:00