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>
2 weeks ago
Dean Lee
45f90b1a55
system/ui: add animation to toggle ( #35392 )
...
add animation to toogle
2 weeks ago
Dean Lee
ea9ff45ccb
system/ui: fix indentation ( #35391 )
...
fix indentation
2 weeks ago
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 f1297160f3
.
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
Trey Moen
255b606fe4
feat: remove esim.nmconnection, use AGNOS lte conn ( #35389 )
...
* feat: remove esim.nmconnection, use AGNOS lte conn
* unused
* remove old
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
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
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
e42044b833
system/ui: fix lint error ( #35387 )
...
fix lint error
2 weeks ago
Dean Lee
0d527c2409
system/ui: fix the issue of missing path segments ( #35383 )
...
match c++ version
2 weeks ago
Dean Lee
2d6662ae9f
system/ui: match experimental path rendering with C++ version ( #35380 )
...
match draw_path with c++ implementation
2 weeks ago
Dean Lee
ad0e556236
system/ui: fix gradient rendering to match Qt linear gradients ( #35378 )
...
Fix shader_polygon gradient rendering to match Qt linear gradients
2 weeks ago
Dean Lee
26c61d8674
system/ui: fix incorrect THROTTLE_COLOR ( #35370 )
...
fix throttle colors
2 weeks ago
Dean Lee
db8ecf183f
system/ui: fix rapid path color transition by correcting hardcoded increment ( #35368 )
...
refactor color blending with configurable transition duration
2 weeks ago
Dean Lee
3682fac7b6
system/ui: optimizes the draw_polygon() and improving code maintainability ( #35366 )
...
improve draw_polygon
2 weeks ago
Dean Lee
9460ff8f30
system/ui: fix gradient colors and path stops in path rendering ( #35367 )
...
Correct gradient colors and direction in path rendering
2 weeks ago
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 992247617a
.
* improve shader for smoother edges
2 weeks ago
Maxime Desroches
feaef58188
AGNOS 12.3 ( #35362 )
...
12.3
2 weeks ago
Shane Smiskol
b119006f6a
Cycle onroad when changing offroad-only toggles ( #35361 )
...
* bad
* Revert "bad"
This reverts commit 6b5475dd90
.
* notify param
* doesn't need to live in low level paramcontrol, rename param
* should work
* fix
* disable while engaged
* note
* fix
* just in case
* param is cleared by manager -- this was all to ensure manager got our `started` transition
* clean up
* and that
* rm
* negative better than generic thing
* timer is needed as it's not clean to fix case where you toggle while no ignition -- you can't go onroad + this allows some nice tolerance time for user to switch 2 toggles
* these aren't required or useful
* add to description
* no longer unlive
* allow reset button too
* another pr -- Revert "allow reset button too"
This reverts commit 5d03edddc8
.
* rm space from i18n string
* car is powered on
2 weeks ago
Dean Lee
3a7f0b66aa
system/ui: fix remaining issues in WiFi Manager ( #35301 )
...
* WIP
* fix callback
* fix connecting network displayed as Connected
* thread safe states
* fix state sync issues
* fix callback
2 weeks ago
Dean Lee
28da563386
system/ui: render model output with new ModelRenderer class ( #35356 )
...
render model output with new ModelRenderer class
2 weeks ago
Dean Lee
7511983ccb
system/ui: cache shader location ( #35360 )
...
cache shader location
2 weeks ago
Adeeb Shihadeh
50aaa69137
sensord: cleanup, prep for rewrite ( #35352 )
...
* rm bmx
* thanks claude
* fix
* fix mypy
2 weeks ago
Trey Moen
44d233337d
esim: faster switching ( #35344 )
...
* esim: lpac doesnt need disable here
* more red diff
2 weeks ago
Dean Lee
927ce0bc06
system/ui: fix typos ( #35349 )
...
fix typos
2 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
2 weeks ago
Dean Lee
193df11a1c
system/ui: avoid redundant texture updates ( #35347 )
...
avoid redundant texture updates
2 weeks ago
Dean Lee
22715464b9
system/ui: throttle camera connection attempts ( #35343 )
...
throttle connection attempts
3 weeks ago
Trey Moen
993b1b4d88
refactor: LPA interface, CLI location ( #35328 )
...
* refactor: LPABase, simpler switch() interface
* leave this since LPABase hides
* hw-agnostic esim.py
* newline
* use latest
3 weeks ago
Dean Lee
840ced5005
system/ui: add EGL support to CameraView ( #35338 )
...
* add EGL support to CameraView
* view 3 cameras
* use a more direct approach
* add new line
* cleanup
* cleanup close()
* extract EGL to a seperate file
* cleanup
* add try/except to close()
* rename egl_textures
* improve implementation
3 weeks ago
Dean Lee
fdfba3f9f7
system/ui: update camera view shader to support rendering on device ( #35326 )
...
update shader to support rendering on device
3 weeks ago
Dean Lee
c9f3cd5ad2
system/ui: enhance scroll panel with iPhone-like physics and behavior ( #35312 )
...
* improve scroll panel for iphone-like experience
* add comments
* increase demo run time for easier testing
3 weeks ago
Maxime Desroches
3f53133da5
AGNOS 12.2 ( #35317 )
...
* agnos 12.2
* non-staging
3 weeks ago
Trey Moen
786b46c0b4
feat: `op esim` and esim.py 2 ( #35314 )
...
* init: lpa interface
* handle multiple messages
* handle timeouts
* delete old LPA, add enable/disable/validation
* check if valid
* keep old file the same for easier diff
* keep
* nickname, bug fixes
* space
* simple
* need to test this on slow conn
* initial HITL test for eSIM provisioning
* cleanup
* lint
* test flakes if lpac called concurrently
* no
* cleanup
* org
* comment
* vibe coded uts
* Revert "vibe coded uts"
This reverts commit 8b4d8f8ade
.
* much simpler test
* no value
* remove no value add comments
* only one test flow now
* simpler
* reorganize
* replace impl
* brevity
* moar
* why didnt u rename
* moar
* check lpac installed
* Profile dataclass
* shorten
* print out profiles
* better
* plurals
* argparse
* download/nickname
* move to end to show change
* just end early if already enabled
* --reboot
* reconfigure conn
* mutations require reboot today
* not needed
* lint
* guard delete
* better
* print help
* spaceg
* rename
* support at device
* choose backend
* desc
* more
* brackets
* op esim
* Revert "brackets"
This reverts commit 124dbc0cbc
.
* Update Jenkinsfile
3 weeks ago
Dean Lee
4423b47b6c
system/ui: add password mask delay to InputBox ( #35316 )
...
add password mask delay to InputBox
3 weeks ago
Dean Lee
68fa8c56ab
system/ui: use • for password masking in InputBox ( #35313 )
...
use • for password masking
3 weeks ago
Dean Lee
4c9655b5e4
system/ui: add text scrolling support to InputBox for long text ( #35310 )
...
* add text scrolling support to InputBox for long text
* add 2 pixels buffer to the scissor region
3 weeks ago
Dean Lee
7ea8277e39
system/ui: improve button press behavior ( #35309 )
...
improve button press behavior
3 weeks ago
Adeeb Shihadeh
e47d105b97
revert extra GPU power draw to prep for release
3 weeks ago
Dean Lee
4f512a5c6d
system/ui: fix navigation key repeat in input box ( #35302 )
...
fix navigation key repeat in input fields
3 weeks ago
Dean Lee
beb7f6c2bb
system/ui: fix indentation ( #35299 )
...
fix indentation
3 weeks ago
Cameron Clough
2722e12e62
fix(system/ui): typo
3 weeks ago
Cameron Clough
5667583198
system/ui: define character set for loading fonts ( #35298 )
...
* system/ui: define font character set
* remove debug print statement
* shorter
3 weeks ago
Cameron Clough
69799fceb4
Revert "system/ui: remove special currency and symbol characters from keyboard ( #35291 )"
...
This reverts commit f646b4a17b
.
3 weeks ago
Dean Lee
cf7a295a2c
system/ui: add key repeat functionality for backspace ( #35288 )
...
add key repeat functionality for backspace
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
3 weeks ago
Dean Lee
f646b4a17b
system/ui: remove special currency and symbol characters from keyboard ( #35291 )
...
* remove special currency and symbol characters from keyboard
* bring back
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
3 weeks ago
Dean Lee
f00bead198
system/ui: improve button click logic for proper press-release interaction ( #35289 )
...
improve button click logic for proper press,release interaction
3 weeks ago