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: aec7cea30d48dc8915eea38c86de7d4effa0548d
2023-11-07 17:35:44 -08:00
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: bdf2fa0f83d92c67c3fc90972ca1d71af543fc1a
2023-11-06 09:04:53 -08:00
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: 983ac6c235d2ecf770d53481aaea707899db4c4b
2023-11-03 10:59:07 -07:00
Adeeb Shihadeh
0f11c17669
Revert "Mapsd: test render performance ( #30363 )"
...
This reverts commit 36a5c076a5f42ca76b8ff9aa69ebf4d545552d83.
old-commit-hash: bb828f0cda4af6a7a10d6e4375702cb07f58d51c
2023-11-02 20:19:13 -07:00
Justin Newberry
8d9899e596
Mapsd: test render performance ( #30363 )
...
* cleanup and fix test
* sa
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 676ba9f951456d6b38b9a08ad4386a53ede227b3
2023-11-02 16:07:30 -07:00
Adeeb Shihadeh
4b78e52e34
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332af7ae9182f2806bc7b8dc46e6c8bc0
2023-10-13 23:27:04 -07:00
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: 96fd66e4e294c05601a93fd298740a6dfebf564e
2023-09-06 15:47:21 -07:00
Shane Smiskol
3b8cc9113a
map renderer: only log map states once fully loaded ( #29722 )
...
only log once fully loaded
old-commit-hash: 6a68944c638029361a7776cff08816919ecac351
2023-08-30 20:32:00 -07:00
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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
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: 6d2922b8e6f6ef29b6d17ea7a1c3d16b40e2236f
2023-08-17 20:51:52 -07:00
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: c04e5d12fce1801cd555a4846768b68db7090b17
2023-08-09 19:56:45 -07:00
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: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
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: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b0c9bfe5ccfc8e64321af6bb6c56536
2023-08-08 14:24:04 -07:00
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: cb31a53d8a93cf6cb1f8bd2fff1431716b3a47e4
2023-08-08 13:41:30 -07:00
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: c640429406c8925b3cce9d979cee880a90fd79c3
2023-08-01 16:18:46 -07:00
Justin Newberry
401f760418
Mapsd: Test recovery from internet drop ( #29044 )
...
old-commit-hash: ce679009aebd4a05e6bf9f0632ad2c7b752b41a4
2023-08-01 09:23:26 -07:00
Shane Smiskol
8837deee98
map renderer: log unexpected map states ( #29160 )
...
log unexpected mapChange signals
old-commit-hash: 7c62c161969c7a67a6fc2db53265383a4e21b927
2023-07-26 20:36:15 -07:00
Shane Smiskol
26f3fdae3d
map renderer: log when initializing layer ( #29157 )
...
Update map_renderer.cc
old-commit-hash: 3f33d72a4ca453d347a22ba93d939343411dd548
2023-07-26 16:34:23 -07:00
Shane Smiskol
bb46c0e3a0
navd: fix hysteresis when reaching destination ( #29032 )
...
fix destination hysteresis when reaching destination
old-commit-hash: 431a2542c99b0bccf79cbdd9936175b6b2ea01dc
2023-07-25 01:43:28 -07:00
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 ba961b8e6aa5d9490ab0dc661866cff9c72db91d.
* Revert "move up"
This reverts commit f1a4d8ae883080d52547fdaf9472457050e40669.
* Update selfdrive/navd/navd.py
old-commit-hash: 412ed6a017acef84e42395299042717d7120544b
2023-07-25 01:28:17 -07:00
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: a8396f6a120a8e8c56ab360c6efe2ec0dfe1f779
2023-07-20 20:40:01 -07:00
Adeeb Shihadeh
5f8e1afc88
navd: handle key present with none value ( #29025 )
...
old-commit-hash: 60d570349f304c2e944dc279ac419c67093397b0
2023-07-18 21:19:18 -07:00
Adeeb Shihadeh
9b3ceb5f5f
mapsd: set nice value ( #28994 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 99c9cf0c024f00dcd9d161d18f0db73b66ece3dc
2023-07-17 14:36:02 -07:00
Adeeb Shihadeh
eb9c9b19b4
Revert "mapsd: release MapRenderer on exit ( #28988 )"
...
This reverts commit 97db3f84daffd9e2c6fdf6e65325f42c118aacb8.
old-commit-hash: 9cec7fa1a8d9c4915628d017628bf8fbf930d2f6
2023-07-17 14:05:52 -07:00
Dean Lee
cb8cc55d01
mapsd: release MapRenderer on exit ( #28988 )
...
old-commit-hash: 70b2a5220f1d7624a2f6a4dedc6776a49f1095ef
2023-07-17 12:57:58 -07:00
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: cd02ab6358efd66d2c1e7c71de3ed7f3d9ea221f
2023-07-17 10:58:39 -07:00
Adeeb Shihadeh
99945aded5
nav: always publish map and run model ( #28924 )
...
* always render
* more test
* test case
* update test
* vipc checks
* clear cache
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 5b86268635a595602d0b3eae5a22e95119c3d860
2023-07-16 15:37:13 -07:00
Adeeb Shihadeh
30a6fa35aa
mapsd: rendering tests ( #28981 )
...
* mapsd: rendering tests
* run
* speedup
old-commit-hash: e2b5d1e29a3efeefc0679e116e6f6e16a815425c
2023-07-16 14:39:34 -07:00
Shane Smiskol
78939ebcbd
navd: add repr method to Coordinate ( #28959 )
...
* repr coordinate for debugging
* fix
* stash
* better formatting
old-commit-hash: cbde480cb9dc82106b4056eb81a921c5c04ee5b7
2023-07-14 21:42:01 -07:00
Mitchell Goff
a0d705d113
nav model: fix flicker in nav enabled state ( #28815 )
...
* Fix flicker in nav enabled state
* Move all relevant information for validity checks into navModel packet
* Ignore locationMonoTime in replay tests
* Check route valid in navmodeld
* sm update
* check that
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e346839c68e7f86bf7bdd88966e33a64c0be5680
2023-07-09 15:10:02 -07:00
Mitchell Goff
88c95293cd
Always publish from mapsd ( #28581 )
...
old-commit-hash: 9d835020fc01cc6d9598388be7715c9412e3185b
2023-06-16 20:13:24 -07:00
Mitchell Goff
300071a27c
Rename map_renderer -> mapsd ( #28580 )
...
old-commit-hash: 6509cde41b0484131d4dcf41cb1f81769fe319d6
2023-06-16 20:12:50 -07:00
Mitchell Goff
0fc01cc6f6
Offset topdown map by 128 meters ( #28216 )
...
We drive forward :)
old-commit-hash: d528481d8dc5669fa6dbeca88b8d63f112205635
2023-05-18 15:30:58 -07:00
Shane Smiskol
3af7b02a26
seldrive: use common sig handler ( #28127 )
...
* Update main.cc
* Update util.h
* same for navd
old-commit-hash: e780cca8b63987776d6408c3e1f64fb4c292a78f
2023-05-08 14:27:04 -07:00
Mitchell Goff
6a8ff997dc
Render map at 256x256 and don't crop ( #28101 )
...
old-commit-hash: 861e18a1a85f71b0f05342f69791b79316b699f9
2023-05-03 21:52:15 -07:00
mitchellgoffpc
ded6fe0e5a
Update libmap_renderer -> libmaprender in map_renderer.py/get_ffi
...
old-commit-hash: c711d71caa7eadb0e358daf366edde0559d1a21b
2023-04-26 15:45:12 -07:00
Adeeb Shihadeh
33af4f9cde
scons: set warnings as error ( #28004 )
...
* navd: fix scons build warnings
* fix release
* sim fix
* fix docs
* build cabana
old-commit-hash: d5ab1e33c20d534d30a3f0dc63c6691f5b23f2a9
2023-04-22 15:24:45 -07:00
Kurt Nistelberger
edf555e8fd
navd: check duration_typical before using ( #27184 )
...
check duration_typical
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com >
old-commit-hash: 9a42929b0c7bfa259f361b17ec22dfd34e389fec
2023-02-03 14:22:33 -08:00
Mitchell Goff
b3626c8ecd
model_replay: use last N frames of segment so navRoute is valid ( #26790 )
...
* model_replay: use last N frames of segment so navRoute is valid
* Use llk logMonoTime for MapRenderState.locationMonoTime
* Record mapRenderState
* update refs
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 5ab2fc16ab5b883f3fa151d0e7362bc73545ca32
2022-12-20 14:19:21 -08:00
Adeeb Shihadeh
a8c4347a5f
nav: add polyline helpers ( #26816 )
...
* nav: add polyline helpers
* Update selfdrive/navd/map_renderer.py
old-commit-hash: d3a3d74830efb33eff6a9f9057a8d552e355bfd7
2022-12-16 21:46:07 -08:00
YassineYousfi
3309d1a218
navd: recompute if far for > 3 steps ( #26798 )
...
* navd: recompute if far for > 3 steps
* typo
* reset and unindent
old-commit-hash: 08b4cff484940b394fa64d89dad65330bcb51a4a
2022-12-15 10:51:21 -08:00
Adeeb Shihadeh
a9be264076
navd: avoid re-routing back to past waypoints
...
old-commit-hash: 951ceecadd555abac3eea67fe655ddc33dc48b1f
2022-12-15 10:38:44 -08:00
Adeeb Shihadeh
1946615724
nav: add setting for extra coordinates to specify route ( #26803 )
...
old-commit-hash: be9a3fad377fbc6c0cd6d9a3c12f77fb0a3f299a
2022-12-14 18:48:39 -08:00
Adeeb Shihadeh
b6a495e992
nav: add README ( #26802 )
...
* start docs
* Update README.md
old-commit-hash: 8d95faf97a0717be33ec12f9039efd22fad36857
2022-12-14 17:17:25 -08:00
Adeeb Shihadeh
0fd3e3d19d
nav: build map renderer python lib by default ( #26770 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: f9599529720e1168eedcfe3594c2ec2501aaf9dd
2022-12-12 12:56:33 -08:00
Harald Schäfer
f315819d47
Navmodel and driving style: update runner ( #26762 )
...
* Navmodel and driving style: update runner
* No driving style yet
* thneedrunner without extra inputs
* nav feature ref
old-commit-hash: 160c9ba1d24c8f5190708dd79bd2682fdadcd736
2022-12-11 15:25:36 -08:00
Adeeb Shihadeh
44098cc024
navmodel: check images in replay test ( #26747 )
...
* move position
* log images
* enable test
* update refs
* ignore
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: f3a711953afea1fcebb4c10b1e2462c4032ac147
2022-12-09 22:56:32 -08:00
Adeeb Shihadeh
53431eead2
map renderer: retry when render fails ( #26741 )
...
* map renderer: retry when render fails
* cleanup
old-commit-hash: 3ff37cca2183e524dbd2f82692b07de324f8bc59
2022-12-09 14:31:18 -08:00
Adeeb Shihadeh
62f035b089
nav: add mapRenderState.frameId
...
old-commit-hash: 27dc9c0e79fc88acf88fff56ed119f4f2dc6105f
2022-12-09 13:24:44 -08:00