Dean Lee
c45e2731ae
CI: integrate pairing device and prime user widgets into UI report ( #33486 )
...
add prime widgets
8 months ago
Adeeb Shihadeh
f6d5f8fccf
ui: controls -> selfdrive ( #33487 )
...
* ui: controls -> selfdrive
* lil more
8 months ago
Dean Lee
e0be4a1f85
ci: eliminate unnecessary sleep to shorten UI report run time ( #33462 )
...
reduce sleep
8 months ago
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: 2f3256ed8b
8 months ago
Alexandre Nobuharu Sato
351d7bf16e
Fix small typos on run.py ( #33434 )
...
old-commit-hash: 352d0b6c0c
8 months ago
Dean Lee
9cd2bcbb39
ci: add body to ui report ( #33429 )
...
add body
old-commit-hash: fefb0330d6
8 months ago
Dean Lee
e318ca0948
ci: integrate offroad alerts and update notifications to ui report ( #33408 )
...
add offroad alerts
old-commit-hash: db9263d064
8 months ago
Dean Lee
9785c6b62b
ci: display lead car indicator in on-road screenshots ( #33416 )
...
Show lead car in on-road screenshots
old-commit-hash: 100ca65b39
8 months ago
Dean Lee
78fe867ccd
ci: add controlsState back to ui report ( #33424 )
...
add controlsState back
old-commit-hash: ff4cce2677
8 months ago
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
8 months ago
Dean Lee
574b94c171
ci: add driver camera to ui report ( #33409 )
...
add driver camera
old-commit-hash: 338b69be11
8 months ago
Alexandre Nobuharu Sato
9f1d49ef32
small typo on run.py ( #33413 )
...
old-commit-hash: a51b83b4d8
8 months ago
Dean Lee
1af4686ea0
ui: fix Incorrect path in .gitignore for test_ui/report ( #33403 )
...
fix gitignore
old-commit-hash: 5bfad23442
8 months ago
Dean Lee
c51889b05e
ui: remove deprecated Qt ui_snapshot ( #33402 )
...
remove ui_snapshot
old-commit-hash: ac5cd06a3a
8 months ago
Dean Lee
5cdd421db1
ci: add cameras to ui reports ( #33401 )
...
add cameras
old-commit-hash: db5c0419ce
8 months ago
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
8 months ago
Dean Lee
3e37261209
ci: add onroad alerts to ui report ( #33394 )
...
* add onroad alerts to ui report
* print
old-commit-hash: 5fe1f5fa87
8 months ago
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
9 months ago
Maxime Desroches
c551f1d239
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
old-commit-hash: 1dcd660815
9 months ago
Shane Smiskol
988d16a4c8
remove map from ui preview ( #33265 )
...
* rm map from ui preview
* fix
old-commit-hash: 4e122ed2d1
9 months ago
Maxime Desroches
144e9e271c
remove cv2 usage ( #33101 )
...
remove cv2
old-commit-hash: 583e89d3a4
9 months ago
Mauricio Alvarez Leon
42cee115ad
CI: test the tests ( #32869 )
...
old-commit-hash: 0fecfd6c45
10 months ago
Dean Lee
f35fcbc050
ui: remove tests/playsound.cc ( #32870 )
...
remove playsound.cc
old-commit-hash: a312a102aa
10 months ago
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
11 months ago
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
11 months ago
cl0cks4fe
6d3a8c09e0
remove unittest dependency from test_ui ( #32432 )
...
old-commit-hash: 173d966444
12 months ago
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
12 months ago
thenhnn
77d6d1a8f1
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 489528dcae
1 year ago
Adeeb Shihadeh
da31ce154a
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
old-commit-hash: e3589e4b5c
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
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
1 year ago
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
1 year ago
Justin Newberry
89e0ad2902
test_ui: add onroad state ( #31148 )
...
add onroad
old-commit-hash: 3676ae4da3
1 year ago
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
1 year ago
Shane Smiskol
f9db24d9d4
pre-commit: speed up translation step ( #30966 )
...
* formatting
fix
* fix missing class attr warning
* add translation_files option, remove pluralonly, type hint
* updates
* update
old-commit-hash: bef6d7f0bb
1 year ago
royjr
f82d7f453f
multilang: parameterize unit tests ( #30842 )
...
* init
* fix indents
* remove import
* safer
* TemporaryDirectory
* much cleaner
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d7f618bc5
1 year ago
royjr
b2112b81af
multilang: bad language translation check ( #30783 )
...
* compare bad against list
* use web
* Update test_translations.py
* uncomment
* override
* wrap
* AssertionError
* better
* detent
* selfish
* check numerusforms
* already checked
* use name
* not again
* combined
* sets
* assume available
* fix assume
* check regardless of other tests
* assert not print
* raise for status
* better
* done
* useless
* happy ruff
* better set
* quiet
* clean
* obvious
* clearer
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* IGNORED_WORDS
* assert match
* direct assert
* show bad word
* fix numerous empty string checks
* fix IGNORED_WORDS
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd88990006
1 year ago
Justin Newberry
817161f3ac
Soundd: move to python ( #30567 )
...
soundd python
old-commit-hash: abe39e5076
1 year ago
royjr
ea3352af59
ui: better Arabic translations ( #30004 )
...
* initial
* fix additional tag
* fix missing semicolon
* fix missing semicolon
* fix missing whitespace/punctuation
* dont translate
* fix deleted source
* mark missing as unfinished
* needs to be fixed
* typo
* dont translate
* translate wifi
* dont translate sidebar
* missing space
* dont translate
* these are good
* missing
* fix unfinished
* more fixes
* fix typo
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* dont translate
* fix vanished translation
* add test_entities_error test
* fix entity
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* dont translate comma prime
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e156ab41ad
2 years ago
Harald Schäfer
d32d4962af
Soundd: Give each alert a volume ( #29767 )
...
* Give each alert a volume
* Update sound.h
old-commit-hash: 75ead2c389
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Shane Smiskol
96c8511c37
Multilang: check format arguments are consistent ( #29441 )
...
* format args
* global
old-commit-hash: 103d39259f
2 years ago
Shane Smiskol
1097d3b53d
Multilang: more translation sanity checks ( #29439 )
...
* tests
* test finished translations
* fix new test failure
old-commit-hash: 549a4e9a97
2 years ago
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554
2 years ago
Adeeb Shihadeh
8e2a03b46d
rm some old tests
...
old-commit-hash: 44c76257a1
2 years ago
Cameron Clough
11889dd024
UI snapshot tool ( #28356 )
...
* UI: snapshot testing tool
* gitignore
* cleanup
* remove prime type arg
* rename
* add script
* commit snapshots
* use base setup
* updates
* always run base
* echo
* use imagemagick
* test_snapshots
* fixes
* update
* set language
* revert
* default arg
* just remove translations
* formatting
* output arg
* improved help
* fix assets
* change dir back before saving snapshot
* unused imports
* simpler
* add default to description
* use uiUpdate signal
old-commit-hash: 15ac8c041b
2 years ago
Shane Smiskol
c5f5a951dc
translation badges: add number of unfinished translations ( #26429 )
...
* some clean up and add missing translations
* unfinished
* set proper width
* make this variable common
old-commit-hash: f540002e3f
3 years ago
Shane Smiskol
9b10593c8f
translations: remove locations ( #25826 )
...
* Remove locations
* no line nos
old-commit-hash: 35f624c628
3 years ago
Adeeb Shihadeh
46cfb5c45b
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
old-commit-hash: c4e63d14ab
3 years ago
Shane Smiskol
d7e92fecc2
translations tests: ignore line numbers ( #25675 )
...
* no line numbers
* remove locations
* test
* ignore line numbers
* revert
revert
* fix that
* use relative
* non bytes, global
* clean up
old-commit-hash: 719d5f7856
3 years ago