Commit Graph

36 Commits

Author SHA1 Message Date
Adeeb Shihadeh
853febe21d visionipc: remove RGB support (#33739)
* visionipc: remove RGB support

* bump

* msgq master

* fix sim
2024-10-07 13:24:57 -07:00
Kacper Rączy
b2791a8e07 process_replay: in-place modification for message migration (#33695)
* Inplace modification of lr

* Replace the original function

* Add comment

* Change the return type

* Fix carParams retrieval

* Remove the newline

* Include carState migration

* Remove TODO

* Comment

* List instead of gen

* Fix deletion

* Delete camera state if not valid

* Update ref commit

* Remove sorting at the end

* Use migrate_all in ui report

* Allow more control in what to migrate

* Add type annotations

* Static analysis

* Improve type annot

* Fix linter issues

* Remove f-string

* Migrate carState too in test_ui

* Fix peripheralState migration

* Sort at the end

* Fix regen issue

* Fix comments
2024-10-02 20:47:16 -07:00
Dean Lee
6dfc154c59 ci: add OVERRIDE and DISENGAGED state to ui report (#33639)
add state
2024-09-24 10:15:01 -07:00
Dean Lee
fc8762ab51 ci: fix ui report issues (#33585)
* fix ui report issues

* fix indentation

* Update selfdrive/ui/tests/test_ui/run.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-18 22:53:47 -07:00
Dean Lee
45b887a08e ci: add toggles to ui report (#33577)
add toggles
2024-09-17 21:04:08 -07:00
Dean Lee
782d959b4c CI: continuously send messages to keep them active during alert screenshots (#33544)
keep alive
2024-09-16 15:47:15 -07:00
Maxime Desroches
f1331ae9bc ci: make ui preview more deterministic (#33526)
set ping time
2024-09-09 14:35:40 -07:00
Maxime Desroches
838746c831 ui preview: keyboard (#33520)
keyboard
2024-09-09 10:35:22 -07:00
Dean Lee
870214c909 ci: add a 0.5-second delay before taking screenshots of the onroad widgets (#33504)
Add a 0.5-second delay before taking screenshots of the onroad widgets
2024-09-07 09:27:44 -07:00
Adeeb Shihadeh
e04455cbaa selfdrived: controlsd only does controls (#33485)
* selfdrived

* process replay

* lil more

* set the valids

* rename that
2024-09-06 17:16:32 -07:00
Dean Lee
c45e2731ae CI: integrate pairing device and prime user widgets into UI report (#33486)
add prime widgets
2024-09-06 13:38:38 -07:00
Dean Lee
e0be4a1f85 ci: eliminate unnecessary sleep to shorten UI report run time (#33462)
reduce sleep
2024-09-05 16:24:25 -07:00
Adeeb Shihadeh
53288d4dbf Move vCruise to card (#33439)
* Move vCruise to card

* cleanup drive_helpers

* works in sim

* update refs

* update that

* too slow :(
old-commit-hash: 2f3256ed8baa3d7a5c4d1befe9148dbfecb37246
2024-09-02 17:18:43 -07:00
Alexandre Nobuharu Sato
351d7bf16e Fix small typos on run.py (#33434)
old-commit-hash: 352d0b6c0ca9a10f319fc64f288b786c467b8798
2024-09-01 20:38:59 -07:00
Dean Lee
9cd2bcbb39 ci: add body to ui report (#33429)
add body
old-commit-hash: fefb0330d65db56092a6251035f1d012b9efae19
2024-09-01 10:40:41 -07:00
Dean Lee
e318ca0948 ci: integrate offroad alerts and update notifications to ui report (#33408)
add offroad alerts
old-commit-hash: db9263d064502000642931742e08a748e586e760
2024-09-01 09:57:00 -07:00
Dean Lee
9785c6b62b ci: display lead car indicator in on-road screenshots (#33416)
Show lead car in on-road screenshots
old-commit-hash: 100ca65b39
2024-08-31 22:57:45 -07:00
Dean Lee
78fe867ccd ci: add controlsState back to ui report (#33424)
add controlsState back
old-commit-hash: ff4cce2677
2024-08-31 20:38:15 -07:00
Adeeb Shihadeh
1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803ab
2024-08-31 18:48:17 -07:00
Dean Lee
574b94c171 ci: add driver camera to ui report (#33409)
add driver camera
old-commit-hash: 338b69be11
2024-08-30 19:51:18 -07:00
Alexandre Nobuharu Sato
9f1d49ef32 small typo on run.py (#33413)
old-commit-hash: a51b83b4d8
2024-08-30 16:39:14 -07:00
Dean Lee
5cdd421db1 ci: add cameras to ui reports (#33401)
add cameras
old-commit-hash: db5c0419ce
2024-08-29 12:11:51 -07:00
Dean Lee
d21917ffb3 ci: add all onroad hud elements to ui report (#33395)
* add model

* merge master

* make static analysis happy
old-commit-hash: 341e7a4384
2024-08-28 14:00:01 -07:00
Dean Lee
3e37261209 ci: add onroad alerts to ui report (#33394)
* add onroad alerts to ui report

* print
old-commit-hash: 5fe1f5fa87
2024-08-28 11:13:05 -07:00
Kacper Rączy
e66855c54d ui: remove GPS status from the sidebar (#33304)
* Remove usage of llk in ui

* Remove GPS from sidebar

* Remove it from test
old-commit-hash: c61d504516
2024-08-14 15:52:47 -07:00
Shane Smiskol
988d16a4c8 remove map from ui preview (#33265)
* rm map from ui preview

* fix
old-commit-hash: 4e122ed2d1
2024-08-11 21:54:40 -07:00
Maxime Desroches
144e9e271c remove cv2 usage (#33101)
remove cv2
old-commit-hash: 583e89d3a4
2024-07-28 15:08:27 -07:00
Mauricio Alvarez Leon
42cee115ad CI: test the tests (#32869)
old-commit-hash: 0fecfd6c45
2024-07-03 15:27:29 -07:00
Harald Schäfer
f870a968e9 Split cereal into cereal/msgq (#32631)
* squash

* fix doc

* compile device

* compile device

* Update ref

* add msgq to precommit exclusions

* No service ports

* fix compile

* address comments

* More comments

* Delete logger

* Update opendbc

* Linting

* bump msgq
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
cl0cks4fe
6d3a8c09e0 remove unittest dependency from test_ui (#32432)
old-commit-hash: 173d966444
2024-05-17 20:54:08 -07:00
cl0cks4fe
639a634f7c Unittest to pytest (#32366)
* add pytest-asyncio

* switch common

* switch selfdrive

* switch system

* switch tools

* small fixes

* fix setUp and valgrind pytest

* switch to setup

* fix random

* switch mock

* switch test_lateral_limits

* revert test_ui

* fix poetry.lock

* add unittest to banned-api

* add inline ignores to remaining unittest imports

* revert test_models

* revert check_can_parser_performance

* one more skip

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
2024-05-17 11:01:44 -07:00
Adeeb Shihadeh
da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5c
2024-03-10 16:56:50 -07:00
Justin Newberry
05204fbde3 Create message mocking tools (#31249)
* add mocking tools

* fix map renderer

* use for power draw

* fix those

* whitespace

* rename to services

* fix the rate

* remove
old-commit-hash: 086c509fde
2024-01-31 18:47:49 -08:00
Justin Newberry
d9a324dc92 CI: generate test_ui report (#31151)
* add test

* simpler

* simpler

* false

* move these here

* faster

* map takes logner to render
old-commit-hash: faf99ba711
2024-01-25 16:49:38 -08:00
Justin Newberry
89e0ad2902 test_ui: add onroad state (#31148)
add onroad
old-commit-hash: 3676ae4da3
2024-01-24 16:51:06 -08:00
Justin Newberry
d3ead5e4ff test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
old-commit-hash: e2ec5be6ee
2024-01-24 13:54:31 -08:00