Adeeb Shihadeh
2f3256ed8b
Move vCruise to card ( #33439 )
...
* Move vCruise to card
* cleanup drive_helpers
* works in sim
* update refs
* update that
* too slow :(
9 months ago
Alexandre Nobuharu Sato
352d0b6c0c
Fix small typos on run.py ( #33434 )
9 months ago
Dean Lee
fefb0330d6
ci: add body to ui report ( #33429 )
...
add body
9 months ago
Dean Lee
db9263d064
ci: integrate offroad alerts and update notifications to ui report ( #33408 )
...
add offroad alerts
9 months ago
Dean Lee
100ca65b39
ci: display lead car indicator in on-road screenshots ( #33416 )
...
Show lead car in on-road screenshots
9 months ago
Dean Lee
ff4cce2677
ci: add controlsState back to ui report ( #33424 )
...
add controlsState back
9 months ago
Adeeb Shihadeh
87051803ab
controlsd: split out state/alerts into selfdriveState ( #33421 )
...
* setup selfdriveState
* little more
* update refs
* migration
* all too slow
9 months ago
Dean Lee
338b69be11
ci: add driver camera to ui report ( #33409 )
...
add driver camera
10 months ago
Alexandre Nobuharu Sato
a51b83b4d8
small typo on run.py ( #33413 )
10 months ago
Dean Lee
5bfad23442
ui: fix Incorrect path in .gitignore for test_ui/report ( #33403 )
...
fix gitignore
10 months ago
Dean Lee
ac5cd06a3a
ui: remove deprecated Qt ui_snapshot ( #33402 )
...
remove ui_snapshot
10 months ago
Dean Lee
db5c0419ce
ci: add cameras to ui reports ( #33401 )
...
add cameras
10 months ago
Dean Lee
341e7a4384
ci: add all onroad hud elements to ui report ( #33395 )
...
* add model
* merge master
* make static analysis happy
10 months ago
Dean Lee
5fe1f5fa87
ci: add onroad alerts to ui report ( #33394 )
...
* add onroad alerts to ui report
* print
10 months ago
Kacper Rączy
c61d504516
ui: remove GPS status from the sidebar ( #33304 )
...
* Remove usage of llk in ui
* Remove GPS from sidebar
* Remove it from test
10 months ago
Maxime Desroches
1dcd660815
fix bash + python3 shebangs ( #33287 )
...
fix shebangs
10 months ago
Shane Smiskol
4e122ed2d1
remove map from ui preview ( #33265 )
...
* rm map from ui preview
* fix
10 months ago
Maxime Desroches
583e89d3a4
remove cv2 usage ( #33101 )
...
remove cv2
11 months ago
Mauricio Alvarez Leon
0fecfd6c45
CI: test the tests ( #32869 )
11 months ago
Dean Lee
a312a102aa
ui: remove tests/playsound.cc ( #32870 )
...
remove playsound.cc
12 months ago
Harald Schäfer
e71ec4e8d7
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
1 year ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
1 year ago
cl0cks4fe
173d966444
remove unittest dependency from test_ui ( #32432 )
1 year ago
cl0cks4fe
dd9d5d4528
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>
1 year ago
thenhnn
489528dcae
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>
1 year ago
Adeeb Shihadeh
e3589e4b5c
refactor camera transformations ( #31818 )
...
* refactor camera transormations
* update users
* more stuff
* more fix
* swap
* tici
* lil shorter
1 year ago
Cameron Clough
995250ae49
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
1 year ago
Justin Newberry
086c509fde
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
1 year ago
Justin Newberry
faf99ba711
CI: generate test_ui report ( #31151 )
...
* add test
* simpler
* simpler
* false
* move these here
* faster
* map takes logner to render
1 year ago
Justin Newberry
3676ae4da3
test_ui: add onroad state ( #31148 )
...
add onroad
1 year ago
Justin Newberry
e2ec5be6ee
test_ui: create test ui screenshots and html report ( #31147 )
...
* test ui
* report + common
* in ci
* fix
* dont enable in ci yet
1 year ago
Shane Smiskol
bef6d7f0bb
pre-commit: speed up translation step ( #30966 )
...
* formatting
fix
* fix missing class attr warning
* add translation_files option, remove pluralonly, type hint
* updates
* update
1 year ago
royjr
9d7f618bc5
multilang: parameterize unit tests ( #30842 )
...
* init
* fix indents
* remove import
* safer
* TemporaryDirectory
* much cleaner
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
royjr
fd88990006
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>
1 year ago
Justin Newberry
abe39e5076
Soundd: move to python ( #30567 )
...
soundd python
2 years ago
royjr
e156ab41ad
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>
2 years ago
Harald Schäfer
75ead2c389
Soundd: Give each alert a volume ( #29767 )
...
* Give each alert a volume
* Update sound.h
2 years ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Shane Smiskol
103d39259f
Multilang: check format arguments are consistent ( #29441 )
...
* format args
* global
2 years ago
Shane Smiskol
549a4e9a97
Multilang: more translation sanity checks ( #29439 )
...
* tests
* test finished translations
* fix new test failure
2 years ago
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2 years ago
Adeeb Shihadeh
44c76257a1
rm some old tests
2 years ago
Cameron Clough
15ac8c041b
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
2 years ago
Shane Smiskol
f540002e3f
translation badges: add number of unfinished translations ( #26429 )
...
* some clean up and add missing translations
* unfinished
* set proper width
* make this variable common
3 years ago
Shane Smiskol
35f624c628
translations: remove locations ( #25826 )
...
* Remove locations
* no line nos
3 years ago
Adeeb Shihadeh
c4e63d14ab
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
3 years ago
Shane Smiskol
719d5f7856
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
3 years ago
Shane Smiskol
844d4d2ece
Multilang: add plural translation test ( #25491 )
...
Add test for correct format specifier for plural translations
3 years ago
AlexandreSato
42e4efe706
Multilang: add Portuguese (Brazil) translation ( #25287 )
...
* Add Portuguese-Brazil translations
* Fixing some Japanese I used as a base.
* Add pt_BR translation
* Add QM file
* multilang: Fix typo and missing pt_BR translation
* fix typos in calibration translation
* pt_BR new translations
* fix translations
* update qm
* add Thai translation tkx tape#7233
* fix pt_BR translation
* improve pt_BR translation
* connect means connection not connected
* update
* plurals and typo
* fix unitTest error
* Add pt badge
* Add test for missing plural translations
* Make sure this doesn't test for translation completeness, we skip that test
* fix missing plurals
Co-authored-by: Shane Smiskol <shane@smiskol.com>
3 years ago
Shane Smiskol
eaf21e53e2
Multilang: test for vanished translations ( #25342 )
...
* Test for vanished translations
* this isn't needed anymore
* comment
* remove more unnecessary code since the great pluralization
3 years ago