Commit Graph

18 Commits

Author SHA1 Message Date
Dean Lee 47409ab4d4 ui: refactor CameraView to serve as a generic vision stream display class (#33457)
refactor transform
2024-09-10 11:53:10 -07:00
Adeeb Shihadeh 3b8ed67aa3 remove navigation (#32773)
* remove navigation

* lil more

* fix cabana

* revert for now

* fix docs

* move that over

* lock

* rm assets
old-commit-hash: e491c9d964a2aef07eeaa7b47f4aa9f992130482
2024-06-19 19:14:13 -07:00
Adeeb Shihadeh 72b6504595 Revert "ui: single-threaded CameraView (#32291)"
This reverts commit 6adb53abf4d483e70bbe36725588a05cf75681fb.

old-commit-hash: c9531b463a6cb4a2a56792046fd69f9041006d81
2024-05-18 16:34:03 -07:00
Dean Lee 4bade99d62 ui: single-threaded CameraView (#32291)
single thread cameraview
old-commit-hash: dd6e2a400b1b9543fad0c3c4a78463abf756da6b
2024-05-17 20:18:41 -07:00
Adeeb Shihadeh 7243b9b68e Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.

old-commit-hash: 073fc89ad49461c01ea474125a89a505543d093d
2024-01-07 14:54:39 -08:00
Dean Lee 2f8e66dbb8 UI: single-threaded CameraView (#30397)
* single-threaded CameraView

* updateFrame

* inherit from CameraWidget

* clear frame on offroadTransition

* check frame_id

* optional

* unique_ptr

* CameraView

* cleanup

* cleanup

* log skipping frame

* fix driverview

* disconnectVipc

* debug inconsistent frame

* skip frame if uiPlan is outdate

* cleanup

* set connected = false

* support camerad reboot&seeking in replay

* cleanup

* qDebug

* use deque

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b3b481826d51eb82aaf9dbcc3f3bd81
2024-01-03 13:14:29 -08:00
HaraldSchafer f7b76d947a UI Onroad widget renames (#26124)
Consistent widget naming
old-commit-hash: baca1cae1f71c70162374c887cf36d5cf828f2f3
2022-10-17 18:18:01 -07:00
Willem Melching 2f4d4cd8c5 navd: add back VisionIPC map renderer (#25212)
* builds standalone

* process live msg

* render into nv12a

* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP

* cleanup sconscript

* main include cleanup
old-commit-hash: 86c1e8164ab6b1c3363f7833b7dc0ea735dd26db
2022-07-19 16:57:13 +02:00
Willem Melching 2c343d2fe3 navd: rewrite in python (#24621)
* navd: start python rewrite

* use enum

* send empty instruction packet

* parse banner

* cleanup

* switch to coordinate class

* add segment transition logic

* add recompute logic

* cleanup old navd code

* split out helpers

* cleanup release files

* fix typo

* fix docs

* add typing to helpers

* small fixes

* move outside of ui

* get last pos from param

* add ui restart detection

* check running

* send route

* set navInstruction to invalid with no active route

* whitespace

* do not overwrite response and use ratekeeper

* reuse params object

* remove navd exception
old-commit-hash: e72d6b5689dd95f5fd7a6558c72c2e02b37f8b12
2022-05-30 15:15:51 +02:00
Joost Wooning c3bebf3e19 UI: use YUV stream instead of RGB (#24317)
* UI: use YUV stream instead of RGB

* cleanup

* cleanup
old-commit-hash: 43f43b1c64c6b95808e9a876083a70adf4e9a09d
2022-04-25 21:07:08 +02:00
Adeeb Shihadeh 8eb8cf95ec Revert "UI: remove RGB buffer usage (#24298)"
This reverts commit 2a13d8446cd19340bfb67f14470b7c35f643e8b8.

old-commit-hash: 13e1c0b3393617a47bd1f9acf20485a1993f83e9
2022-04-24 11:56:30 -07:00
Joost Wooning e0c973fe70 UI: remove RGB buffer usage (#24298)
* ui: use yuv buffer

* cleanup

* fix watch3

* replay always send yuv

* fix drawing of path

* fix onroad test

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b9907e86b2dde54263d55d36346bb5609950ab99
2022-04-22 12:55:37 -07:00
Gijs Koning cedd8abc05 Rename RGB vision streams to match YUV streams (#23961)
* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER

* little more

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 57b6fdc17a1f84ec922647c044da5df3cafc0ddc
2022-03-14 14:03:54 -07:00
Willem Melching 7e12817e02 MacOS: ensure 1:1 rendering on HiDPI screens (#23860)
old-commit-hash: ca8d4e417e53e5869ad77e8bfd5da62a78a88de3
2022-02-25 14:36:27 +01:00
Willem Melching 1597a03cec Fix watch3 on mac (#23834)
old-commit-hash: a03685c3f93d5c9909ea0f5aee2542be5b0a8eb8
2022-02-23 14:31:28 +01:00
Willem Melching 935ce9edad navd: render map into VisionIPC (#22800)
* navd: render simple map

* render route

* offscreen rendering

* cleanup

* more cleanup

* render into visionIPC

* rename class

* split position update from route update

* stop broadcast if not active

* gate vipc server behind flag

* add python library

* faster

* no vipc from python

* put behind extras

* only send when loaded

* add glFlush just to be sure

* cleanup settings into helper function

* function ordering

* broadcast thumbnails

* put behind param

* adjust zoom level

* add route to python bindings

* revert that freq change

* add logging if map rendering is enabled

* use rlogs if available

* bump cereal
old-commit-hash: 5069852573128f40dd0174eb1d0f3f983367863d
2021-11-26 14:38:02 +01:00
Dean Lee b87ec5ad68 watch3: fix layout warning (#22566)
old-commit-hash: 3de2cd897b4b4d4e4ccc7c4718d8d161ecee808b
2021-10-15 00:28:26 -07:00
Adeeb Shihadeh 65556ea816 add tool to watch all three beautiful cameras (#22528)
old-commit-hash: ff771d9fcfb87ab03fb78d3f66da94eef23dfb59
2021-10-12 00:23:31 -07:00