Dean Lee
462301d2e0
ui: implement smooth camera stream switching with seamless transitions ( #35449 )
...
implement smooth camera stream switching with seamless transitions
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 weeks ago
Dean Lee
0360926962
ui: fill the bg with disengaged color if no frame ( #35451 )
...
fill the bg with disengaged color if no frame
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 weeks ago
Dean Lee
2e41d959ac
ui: add main UI entry point ( #35422 )
...
* add new main UI entry point
* cleanup
* mv to selfdrive/ui
* fix imports
* handle_mouse_click
* use ui_state
* remove ui_state from gui_app
* setup callbacks
* handle clicks
* put layouts in a dict
* update state in render
* rebase master
* implement settings sidebar
* rename files
2 weeks ago
Shane Smiskol
928dc6259b
Revert "ui: fill the bg with disengaged color if not started" ( #35441 )
...
Revert "ui: fill the bg with disengaged color if not started (#35434 )"
This reverts commit 10dc40db04
.
2 weeks ago
Dean Lee
10dc40db04
ui: fill the bg with disengaged color if not started ( #35434 )
...
fill the bg with disengaged color if not started
2 weeks ago
Dean Lee
28bf362f69
ui: add safety check to prevent ui overlay access to invalid data ( #35432 )
...
check ui_state.started
2 weeks ago
Dean Lee
29afd667cc
move onroad/driving stuff from system/ui to selfdrive/ui ( #35425 )
...
* mv system/ui/onroad->selfdrive/ui/onroad
* mv ui_state
* fix import path
* fix imports
* mv cameraview
* remove from application
2 weeks ago
Dean Lee
d46066225d
system/ui: add centralized UIState singleton for global state management ( #35397 )
...
* add centralized UIState singleton for global state management
* safely import ui_state
* merge master
* merge master
2 weeks ago
Dean Lee
1935871267
system/ui: add stream switching capability to CameraView ( #35414 )
...
add stream switching capability to CameraView
2 weeks ago
Dean Lee
1221821761
system/ui: migrate c++ alert renderer to python ( #35386 )
...
* rebase
* cache metrics
* measure text
* type hint
* improve
* fix roundness
* rebase
2 weeks ago
Dean Lee
e51243f2cd
system/ui: remove todo and add comment ( #35390 )
...
remove todo and add document
2 weeks ago
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
2 weeks ago
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
2 weeks ago
Dean Lee
b8f3e7bcf0
system/ui: improve road view with driving state border and clipping ( #35385 )
...
improve road view with driving state border and clipping
2 weeks ago
Dean Lee
28da563386
system/ui: render model output with new ModelRenderer class ( #35356 )
...
render model output with new ModelRenderer class
3 weeks ago
Dean Lee
927ce0bc06
system/ui: fix typos ( #35349 )
...
fix typos
3 weeks ago
Dean Lee
3d3e9599d8
system/ui: add specialized camera views with custom transformations ( #35346 )
...
* add specialized camera views with custom transformations for driver and road
* improve
* return np array
* cached matrix
3 weeks ago