Nayan
e6f55a7eea
ui: visuals panel ( #919 )
2025-06-03 16:05:02 -04:00
Kumar
c7767bddfe
UI: prep for custom model rendering ( #920 )
...
* Refactor and extend ModelRenderer for custom Sunnypilot logic
Refactored `ModelRenderer` to `ModelRendererSP` with enhanced features such as lane line updates, path drawing, and lead management for Sunnypilot. Introduced new methods for model updates, lead drawing, and improved path rendering with experimental mode support. Ensured compatibility by integrating with Sunnypilot-specific HUD and camera components.
* Update selfdrive/ui/sunnypilot/qt/onroad/model.cc
* Refactor `ModelRenderer` for modularity
Moved constants and `get_path_length_idx` function to the header file for reuse and clarity. Updated `drawPath` and related methods to better handle surface dimensions, improving rendering flexibility. Made key functions virtual to allow further customization in derived classes.
* Cleaning logic on ModelRenderSP
Given that we've refactored slightly the original ModelRender, we no longer need to duplicate the logic on our own implementation
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
2025-06-03 07:12:08 -04:00
Jason Wen
9c28583171
ui: include MADS enabled state to engaged check ( #976 )
...
* ui: include MADS enabled state to `engaged` check
* let's bump it up
2025-06-03 00:28:55 -04:00
Jason Wen
1ee7b4ad0e
ci: higher delay between UI Preview screenshots ( #978 )
2025-06-02 23:49:29 -04:00
Jason Wen
a31a39624c
Car: CarStateSP ( #972 )
...
* Car: `CarStateSP`
* fix tests
* just skeleton for now
* bump
2025-06-01 22:46:04 -04:00
Jason Wen
e50f7513a6
Update Python packages ( #970 )
2025-06-01 10:00:26 -04:00
Jason Wen
c2bd95c2af
Tinygrad: revert bump ( #969 )
2025-05-31 14:49:40 -04:00
Jason Wen
2e5211f1ae
Sync: commaai/openpilot:master into sunnypilot/sunnypilot:master-new ( #968 )
2025-05-31 14:41:42 -04:00
DevTekVE
82487ba136
Merge remote-tracking branch 'comma/master' into sync-20250531
...
# Conflicts:
# .github/workflows/selfdrive_tests.yaml
# common/params_keys.h
# msgq_repo
# opendbc_repo
# panda
# selfdrive/car/card.py
# selfdrive/car/tests/test_car_interfaces.py
# selfdrive/car/tests/test_models.py
# selfdrive/test/process_replay/process_replay.py
# selfdrive/ui/qt/offroad/settings.cc
# selfdrive/ui/translations/main_ar.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_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
2025-05-31 14:12:30 -04:00
Dean Lee
04115b6417
system/ui: Increase font size to reduce edge aliasing ( #35401 )
...
improve text's antialiasing
2025-05-30 23:44:13 -07:00
Maxime Desroches
62a7a19d27
Revert "system/ui/: add face detection box and driver state icon to DriverCameraView" ( #35403 )
...
Revert "system/ui/: add face detection box and driver state icon to DriverCam…"
This reverts commit 5e4a4ecec8 .
2025-05-30 23:43:28 -07:00
Dean Lee
5e4a4ecec8
system/ui/: add face detection box and driver state icon to DriverCameraView ( #35402 )
...
add face detection box and driver state icons
2025-05-30 23:42:35 -07:00
programanichiro
7cd6db6f19
Multilang: update ja translation. ( #35399 )
...
ja translation
2025-05-30 21:03:07 -07:00
James Vecellio-Grant
ba9a478213
Update Python packages ( #953 )
...
* Change values to allow better 2mph to 0mph stopping
* Update python package
2025-05-30 23:13:55 -04:00
Adeeb Shihadeh
b4c9964217
gpu box test script
2025-05-30 15:44:17 -07:00
Adeeb Shihadeh
2f80854644
sensord: rewrite in Python ( #35353 )
...
* py sensord
* fix up mmc
* temp
* port over accel
* lil more
* kinda works
* rm that
* gpiochip
* mostly there
* lil more
* lil more
* irq timestamps
* fix ts
* fix double deg2rad
* test passes
* fix up mypy
* rm one more
* exception
* lint:
* read in all events
* bump that
* get under budget:
* accel self test
* gyro self-test
* keep these readable
* give it more cores
* debug
* valid
* rewrite that
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-05-30 13:31:07 -07:00
Dean Lee
45f90b1a55
system/ui: add animation to toggle ( #35392 )
...
add animation to toogle
2025-05-30 12:57:37 -07:00
Dean Lee
ea9ff45ccb
system/ui: fix indentation ( #35391 )
...
fix indentation
2025-05-30 11:31:03 -07:00
Trey Moen
c4f2cf5299
feat(esim): enable eSIM profile hotswapping ( #35324 )
...
* reboot
* no sleep
* test
* back
* wait for sim
* simpler
* retry
* Revert "retry"
This reverts commit f1297160f3c085f43fc0356abb51fb52fa93ea2c.
2025-05-30 11:29:17 -07:00
Dean Lee
1221821761
system/ui: migrate c++ alert renderer to python ( #35386 )
...
* rebase
* cache metrics
* measure text
* type hint
* improve
* fix roundness
* rebase
2025-05-30 11:03:38 -07:00
Trey Moen
255b606fe4
feat: remove esim.nmconnection, use AGNOS lte conn ( #35389 )
...
* feat: remove esim.nmconnection, use AGNOS lte conn
* unused
* remove old
2025-05-30 10:54:07 -07:00
Dean Lee
e51243f2cd
system/ui: remove todo and add comment ( #35390 )
...
remove todo and add document
2025-05-30 10:53:39 -07:00
Dean Lee
a3fab434a4
system/ui: migrate c++ HudRenderer to python ( #35359 )
...
* port c++ HudRenderer to python
* cache font metrics
* cache fonts
* improve
* fix bg
* refactor
* rebase
* fix
2025-05-30 09:53:11 -07:00
Dean Lee
e6eef5d9d0
system/ui: implement driver monitoring UI ( #35358 )
...
* pyui_driver_state_reander
* ddd
* draw_spline_linear
* pre-calculate the face keypoints transform
* remove int convert
* improve
* use draw_spline_linear
* pre-calc points
* state updated
* render to texture
* Revert "render to texture"
This reverts commit 27be710f4c7aca3bb05e94ad69635d292e799ff4.
* cleanup
* dd
* new dataclass
* cleanup
* use content_rect
2025-05-30 09:35:10 -07:00
Dean Lee
29010cae23
system/ui: optimize ModelRenderer ( #35369 )
...
* optimize ModelRenderer with vectorized operations
* pre-calculate the exp mode colors
* cleanup
* improve batch map line to polygon
* pre-calc leads
2025-05-30 09:34:56 -07:00
Dean Lee
b8f3e7bcf0
system/ui: improve road view with driving state border and clipping ( #35385 )
...
improve road view with driving state border and clipping
2025-05-30 07:37:07 -07:00
Dean Lee
e42044b833
system/ui: fix lint error ( #35387 )
...
fix lint error
2025-05-30 07:36:05 -07:00
DevTekVE
ff5b587fd1
ui: Bumping the total scons nodes for progress bar ( #965 )
...
Bumping the total scons nodes
2025-05-30 13:14:30 +02:00
Nayan
be406d8f83
ui: move model selector to models panel ( #957 )
...
* models panel
* models panel
* fix ui report
* stupid scroll
* move model selector to models panel
* cleanup whitespaces
* cleanup bad merge
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-05-30 13:06:09 +02:00
Nayan
d9d32ebea2
UI: Add Search Capability to Branch Selector ( #814 )
...
* Create sync-dev.yml
* Update selfdrive_tests.yaml
* Update sync-dev.yml
* Update sync-dev.yml
* Update sync-dev.yml
* add search capability in branch selector
* maybe i should remove test code
* include
* reduce needed includes
* add newline for eof
* no changes needed in upstream file
* not sure why this was here
* try to resolve merge conflicts for dev squash
* try to resolve merge conflict
* No need for this for the time being
---------
Co-authored-by: Discountchubbs <159560811+Discountchubbs@users.noreply.github.com >
Co-authored-by: Jason Wen <haibin.wen3@gmail.com >
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-05-30 12:06:50 +02:00
Nayan
31e22b0a1d
ui: add models panel ( #956 )
...
* models panel
* models panel
* fix ui report
* stupid scroll
* cleanup whitespaces
* Update selfdrive/ui/sunnypilot/qt/offroad/settings/models_panel.cc
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-05-30 09:06:15 +02:00
Brett Sanderson
6e9e43d03b
Fix CI for external repositories ( #35382 )
2025-05-29 23:18:44 -07:00
Dean Lee
0d527c2409
system/ui: fix the issue of missing path segments ( #35383 )
...
match c++ version
2025-05-29 20:51:15 -07:00
Shane Smiskol
a385ed59cf
Invalid LKAS setting alert: custom text per brand ( #35377 )
...
* draft
* use it
* friendly
* clean up
* CC
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/selfdrived/events.py
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-05-29 14:24:39 -07:00
Maxime Desroches
ae5e87e915
bump panda
2025-05-29 13:43:38 -07:00
Dean Lee
2d6662ae9f
system/ui: match experimental path rendering with C++ version ( #35380 )
...
match draw_path with c++ implementation
2025-05-29 13:07:43 -07:00
Dean Lee
ad0e556236
system/ui: fix gradient rendering to match Qt linear gradients ( #35378 )
...
Fix shader_polygon gradient rendering to match Qt linear gradients
2025-05-29 11:32:08 -07:00
YassineYousfi
618645f1d7
Revert "Vegan Filet o Fish model " ( #35376 )
...
Revert "Vegan Filet o Fish model (#35240 )"
This reverts commit b4d6b52edd .
2025-05-28 20:45:53 -07:00
Shane Smiskol
51c437c61e
split
2025-05-28 19:18:03 -07:00
Shane Smiskol
deebbd3e77
add missing Fords to release notes
2025-05-28 19:16:15 -07:00
Adeeb Shihadeh
fe713b867f
CI: fix nightly build ( #35374 )
...
* CI: fix nightly build
* schedule
* simplify
* cleanup
2025-05-28 19:02:00 -07:00
Shane Smiskol
1db3644a2b
car interfaces: pass in if release build ( #35373 )
...
* dashcam for release
* get car
* fixes
* more fixes
* bump
* bump
2025-05-28 17:41:38 -07:00
Shane Smiskol
5bf81048bb
bump opendbc ( #35372 )
...
bump
2025-05-28 14:58:48 -07:00
Dean Lee
26c61d8674
system/ui: fix incorrect THROTTLE_COLOR ( #35370 )
...
fix throttle colors
2025-05-28 13:07:19 -07:00
Dean Lee
db8ecf183f
system/ui: fix rapid path color transition by correcting hardcoded increment ( #35368 )
...
refactor color blending with configurable transition duration
2025-05-28 11:35:04 -07:00
Dean Lee
3682fac7b6
system/ui: optimizes the draw_polygon() and improving code maintainability ( #35366 )
...
improve draw_polygon
2025-05-28 09:29:33 -07:00
Dean Lee
9460ff8f30
system/ui: fix gradient colors and path stops in path rendering ( #35367 )
...
Correct gradient colors and direction in path rendering
2025-05-28 09:26:38 -07:00
Jason Wen
21b86c4f2b
Update Python packages ( #949 )
2025-05-28 01:26:21 -04:00
Dean Lee
6c28575573
system/ui: GPU-accelerated polygon rendering with anti-aliasing and gradients ( #35357 )
...
* Add GPU-accelerated polygon rendering with anti-aliased edges and gradient support
* use np array
* update ModelRenderer
* ndarray
* cleanup
* improve shader
* Revert "improve shader"
This reverts commit 992247617a9947bceb365f7b056fed6ebed3793d.
* improve shader for smoother edges
2025-05-27 21:47:55 -07:00
Maxime Desroches
feaef58188
AGNOS 12.3 ( #35362 )
...
12.3
2025-05-27 21:20:30 -07:00