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
Adeeb Shihadeh
cc4f53e6c6
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
old-commit-hash: accdade4cf
11 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
11 months ago
ksfi
5f9c00fd55
[$100 bounty] mapsd: switch to static render mode ( #32118 )
...
* staticrender
* modify static_render_sig_rec name + use back setStyleJson
* better name
---------
Co-authored-by: ksfi <ethos.bulbes_0g@icloud.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3c69fcddc8
1 year ago
YassineYousfi
75a69e12b3
disable navigate on openpilot ( #32106 )
...
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700
* noop ciao
* here too
* mapsd too
* update translations
* disable mapsd test from test onroad
* disable mapRenderState test from timings
* lint
* fix exp mode toggle panel
* update tr
* french done
* dont build mapd
* only no nav
* just comment
* deprecate nav fields
* rm not comment
* dont deprecate too much
* remove from services
* merge cereal
old-commit-hash: 754dd45ffa
1 year ago
mitchellgoffpc
a301c1dfbd
Added optional timeout on map_renderer.wait_ready
...
old-commit-hash: d114924a2c
1 year ago
Adeeb Shihadeh
2241ee5fc6
navd: generate new JWT for each request ( #32017 )
...
* navd: generate new JWT for each request
* no api with token
old-commit-hash: 76c5c58d54
1 year ago
Cameron Clough
a09300385b
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
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
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
Justin Newberry
a1d331cb3c
test_navd: parameterize random test ( #31376 )
...
* parameterized
* import
* dumb
old-commit-hash: 1c201295c7
1 year ago
Hoang Bui
4c05358aad
map: Transfer to MapLibre ( #31185 )
...
* change codebase
* compile
* add mapboxprovider
* works with map_renderer in c
* remove maplibre temp
* maplibre works
* cleanup build.sh
* x86 stuff
* add lib
* update release files
* don't need that
* tici build
* tici build
* add tici lib
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08037594e2
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
Adeeb Shihadeh
12d2d861f2
Revert "Switch from json11 to nlohmann/json ( #31093 )"
...
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.
old-commit-hash: 88757c12b3
1 year ago
mtribiere
cb3a834067
Switch from json11 to nlohmann/json ( #31093 )
...
* Initial commit
* fix release/file_common
* Update common/swaglog.cc
* Swtiched serialize cc
* move to lfs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8
1 year ago
Adeeb Shihadeh
5e9dc2c415
cleanup tests that are now useless ( #31098 )
...
* disable that onoe
* e2e tests catch this
* rm more useless checks
old-commit-hash: 78e20cff39
1 year ago
Adeeb Shihadeh
b9276131c3
navd: handle errors in parsing api response ( #30977 )
...
old-commit-hash: 5da573ff39
1 year ago
Adeeb Shihadeh
65b0e47bc2
simple navd test ( #30976 )
...
* simple test
* can't check that
* cleanup
old-commit-hash: ef73ee7b37
1 year ago
Justin Newberry
0939b25bc4
CI: move test_maprenderer to GH actions ( #30610 )
...
maprenderer to ci
old-commit-hash: 5d668701cb
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Adeeb Shihadeh
1cc4f1a634
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
old-commit-hash: a1d36961cf
1 year ago
Justin Newberry
0c43599b93
allow onscreen cpu rendering ( #30510 )
...
* spinner POC cpu
* should be single threaded
* how tf did that get added
* allow non offscreen
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7f14bdfb22
1 year ago
Justin Newberry
3027a428cb
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
old-commit-hash: aec7cea30d
1 year ago
Justin Newberry
40757d9d01
Mapsd: move on the CPU ( #30349 )
...
* mapsd -> cpu
* link directly to mesa
* Fix gitignore
* without launcher script
* dont change that
* dont need that
* add to files_common
* rename to configure cpu rendering
* without a symlink!
* update time refs
* update ref
* update ref
* remove duplicate include
* bump up again
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bdf2fa0f83
1 year ago
Justin Newberry
080ae26ee3
Mapsd: test render performance ( #30367 )
...
* cleanup and fix test
* sa
* fix test failing
* increase tolerance more for stddev
* increase that more
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 983ac6c235
1 year ago
Adeeb Shihadeh
0f11c17669
Revert "Mapsd: test render performance ( #30363 )"
...
This reverts commit 36a5c076a5f42ca76b8ff9aa69ebf4d545552d83.
old-commit-hash: bb828f0cda
2 years ago
Justin Newberry
8d9899e596
Mapsd: test render performance ( #30363 )
...
* cleanup and fix test
* sa
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 676ba9f951
2 years ago
Adeeb Shihadeh
4b78e52e34
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332
2 years ago
Shane Smiskol
02a5c081cc
navd: locationd is only trusted source ( #29803 )
...
* finish revert for https://github.com/commaai/openpilot/pull/27579
* comment out
* clean up
old-commit-hash: 96fd66e4e2
2 years ago
Shane Smiskol
3b8cc9113a
map renderer: only log map states once fully loaded ( #29722 )
...
only log once fully loaded
old-commit-hash: 6a68944c63
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
593322dfa9
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
old-commit-hash: 6d2922b8e6
2 years ago
Mitchell Goff
e6e19f8d3e
Non-Inflatable Model 🎈 ( #29003 )
...
* Added all maneuvers to navInstruction message
* Added nav instruction logic to modeld
* New model: fcee01c1-96bb-414f-b00d-e4a994a00922/700
* Fixed bug in navd
* Added sharp/slight modifiers
* Updated refs
old-commit-hash: c04e5d12fc
2 years ago
Justin Newberry
3ee0786de3
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
old-commit-hash: 7fdd9fc37c
2 years ago
Justin Newberry
7b677910df
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
old-commit-hash: cf64b27168
2 years ago
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a
2 years ago
Kacper Rączy
edc31db6df
aarch64: ubuntu build support ( #29171 )
...
* Add support for aarch64 pc linux
* Add new libyuv path to release files
* Add libyuv's x86_64 lib dir
* Move left-over platform specific dirs from files_common
* Remove libyuv/lib directory (duplicate)
* Fix mpc Sconscripts
* Remove acados lib path from mpc sources
* Fix typo
* Add watch3 exec on aarch64
old-commit-hash: c640429406
2 years ago
Justin Newberry
401f760418
Mapsd: Test recovery from internet drop ( #29044 )
...
old-commit-hash: ce679009ae
2 years ago
Shane Smiskol
8837deee98
map renderer: log unexpected map states ( #29160 )
...
log unexpected mapChange signals
old-commit-hash: 7c62c16196
2 years ago
Shane Smiskol
26f3fdae3d
map renderer: log when initializing layer ( #29157 )
...
Update map_renderer.cc
old-commit-hash: 3f33d72a4c
2 years ago
Shane Smiskol
bb46c0e3a0
navd: fix hysteresis when reaching destination ( #29032 )
...
fix destination hysteresis when reaching destination
old-commit-hash: 431a2542c9
2 years ago
Shane Smiskol
ec900d0389
navd: don't use empty last step banner instructions ( #29034 )
...
* fix empty banner instructions when arriving at destination
* bug fixes
* hide distance on arrival
* stash
* simpler
* can also do this, but i don't like modifying the response
* clean up
* rm
* revert
* rm
* flip this order
* move up
* need to flip order
* Revert "need to flip order"
This reverts commit ba961b8e6a
.
* Revert "move up"
This reverts commit f1a4d8ae88
.
* Update selfdrive/navd/navd.py
old-commit-hash: 412ed6a017
2 years ago
Justin Newberry
cde4198dae
Nav: Reset backoff on route clearing ( #29067 )
...
* nav backoff reset
* need to reset countdown as well
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a8396f6a12
2 years ago
Adeeb Shihadeh
5f8e1afc88
navd: handle key present with none value ( #29025 )
...
old-commit-hash: 60d570349f
2 years ago
Adeeb Shihadeh
9b3ceb5f5f
mapsd: set nice value ( #28994 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 99c9cf0c02
2 years ago
Adeeb Shihadeh
eb9c9b19b4
Revert "mapsd: release MapRenderer on exit ( #28988 )"
...
This reverts commit 97db3f84daffd9e2c6fdf6e65325f42c118aacb8.
old-commit-hash: 9cec7fa1a8
2 years ago
Dean Lee
cb8cc55d01
mapsd: release MapRenderer on exit ( #28988 )
...
old-commit-hash: 70b2a5220f
2 years ago
Adeeb Shihadeh
7a8ff5d59f
mapsd: more reliable test ( #28985 )
...
* mapsd: more reliable test
* better wait
* should be good
* fix frame id
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd02ab6358
2 years ago