Shane Smiskol
f56bfdc7c9
regen: fix wide road camera msg name ( #30147 )
...
fixed
old-commit-hash: 661edd7d8b
2 years ago
Kacper Rączy
71ad6ce228
process_replay: fix support for single cam segments ( #30143 )
...
* Fix assertion for vision_pubs
* Get camera states from meta
* Convert deviceType to string
* Use neo instead of eon for frame sizes dict
* update vision_pubs of process config when creating vipc
old-commit-hash: 9c5bbe1a91
2 years ago
Adeeb Shihadeh
9c8de3e08b
simplify sensor alert ( #29824 )
...
* simplify
* update proc replay
old-commit-hash: a4aa801fbe
2 years ago
Vivek Aithal
9d4767bd87
locationd: Replace allAliveAndValid with allValid ( #30064 )
...
* replace allaliveandvalid check with allvalid, all necessary time checks are already used
* update refs
old-commit-hash: 6d5f4f149d
2 years ago
Adeeb Shihadeh
7a0a5c604e
model replay: add cameraOdometry ( #30007 )
...
* model replay: add back cameraOdometry coverage
* update refs
* try again
* fix cmp log
old-commit-hash: 5f318faf93
2 years ago
Shane Smiskol
13381ed446
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
old-commit-hash: 7f073483bb
2 years ago
Harald Schäfer
3f1086c410
Optimus Prime Model 🤖 ( #29752 )
...
* b449f295-7e40-4f97-96a6-d858815955e5/700
* make it compile b449f295-7e40-4f97-96a6-d858815955e5/700
* simpler - b449f295-7e40-4f97-96a6-d858815955e5/700
* feature_len changed
* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700
* Revert "0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700"
This reverts commit 41708b88447cfcf302b16f21f0caa69450bbd3df.
* 0a833ab4-9fc7-4e51-a686-9bce3eafcb91/700 again
* Update ref
* update ref
---------
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 3799fe46b3
2 years ago
Vivek Aithal
56f4c138cd
Alerts: More understandable locationd, paramsd alerts ( #29831 )
...
* add locationd paramsd alerts
* remove more additions, just renames
* update refs
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* resolve comemnts
* update cereal
* update refs
* remove nosensor in new alerts
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00d1c682b0
2 years ago
Lee Jong Mun
89e5ee45ca
cleanup remnants of LQR and INDI tuning ( #29860 )
...
* not use 'indi' cleanup
* bump cereal
* rm more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 238f9d65db
2 years ago
Kacper Rączy
f0c3036ad1
radard: expose radarTrackId for radar leads ( #29809 )
...
* Add radarState track identifier for debugging purposes
* update process replay ref
old-commit-hash: 0267e0500c
2 years ago
Vivek Aithal
43ce3d16df
locationd: Add camera-IMU cross-checks ( #29727 )
...
* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
old-commit-hash: dbada885ac
2 years ago
Justin Newberry
a1b0f02051
Subaru: don't copy eyesight counters, calculate manually ( #29533 )
...
* subaru manual counters
* update ref
* that isn't used
* review suggestions
old-commit-hash: 338288df6e
2 years ago
Adeeb Shihadeh
53e0f5eb49
pytest: use a clean environment for all tests ( #29788 )
...
* pytest: use a clean environment for all tests
* rm that
* fix pj
* put build back
* fix params
* fix that
* handle no key
* that was removed
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7b6afbc162
2 years ago
Mitchell Goff
54988e457f
Move update_calibration to modeld.py ( #29688 )
...
* Move update_calibration to modeld.py
* Updated ref commit
old-commit-hash: 1eb60516cb
2 years ago
Kacper Rączy
a40c0c9b6e
process_replay: clean env vars after run ( #29694 )
...
Clean environ vars at the end of replay
old-commit-hash: bb14ba4e5e
2 years ago
Harald Schäfer
3a28e97a95
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
old-commit-hash: 55b391509d
2 years ago
Adeeb Shihadeh
0d4beff6a0
process replay: parallel by default ( #29633 )
...
* process replay: parallel by default
* more is helpful
old-commit-hash: 4d6bb32df2
2 years ago
Harald Schäfer
8960f76597
K1FD: generate kalman gain at init ( #29610 )
...
* K1FD: generate kalman gain at init
* Update interfaces.py
* Update interfaces.py
* Update interfaces.py
* Update ref_commit
old-commit-hash: f1b8a86464
2 years ago
Harald Schäfer
bc017ab936
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
old-commit-hash: 8205590624
2 years ago
Harald Schäfer
200a8eb8b5
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
old-commit-hash: 8a7281d285
2 years ago
Harald Schäfer
a967592f8f
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 19ab859e302d52b4f1667f05543ac622ad259e57.
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit 5dda7be8ac08ef6b51283eda74569517bba905f6.
old-commit-hash: fda3106c28
2 years ago
Harald Schäfer
0174c5f21c
Locationd: switch to laikad ( #29278 )
...
* use_laika
* Update test
* fix spacing
* fix proc replay
* small fix
* Try correct std
* cast correctly
* experimental
* simpler
* update reset thresholds
* improve
* Ready for live running
* outlier reject
* update laika
* add fine speeds
* more experiments
* fixes
* all in laika
* more small tweaks
* outlier rejection not needed
* fix conflict
* no more gpslocation
* update test
* refactor to laika
* runs again
* Update ref
old-commit-hash: fd3b8a3d75
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
Harald Schäfer
92d1e3fabb
Proc replay: field tolerance unused ( #29479 )
...
field tolerance unused
old-commit-hash: 1dea20e574
2 years ago
Shane Smiskol
1a2818d775
Revert "radard: tie radard frequency to modelV2 vol. 2 ( #29240 )" ( #29474 )
...
* Revert "static analysis fixes"
This reverts commit 2271d0adf9a02aee1359717c47cb6280893a6b9b.
* Revert "radard: tie radard frequency to modelV2 vol. 2 (#29240 )"
This reverts commit 6757e90415766e84ad1b6c921a2edb29ceb3bbbe.
* update refs
old-commit-hash: 1a08c2986e
2 years ago
Shane Smiskol
52bc87c4f2
upadte process replay refs
...
old-commit-hash: e4ecb511c9
2 years ago
Kacper Rączy
deb8257322
process_replay: prevent creating orphaned processes if replay fails during setup ( #29426 )
...
Fix the ability to cleanup, if process container fails during start
old-commit-hash: f07e4fb49a
2 years ago
Justin Newberry
268fb070a8
Subaru: calculate steering angle rate ( #29409 )
...
* calculate rate
* added adeeb's comment
* move to selfdrive/car
* that makes way more sense
* much simpler
* fix rate
* preglobal doesn't have a counter
* update ref
* merge
* update ref after merging
old-commit-hash: 7ec52da33a
2 years ago
Jason Young
b4614b3c28
car interfaces: cleanup tire stiffness calculation ( #28263 )
...
* cleanup tire stiffness calculation
* bump cereal
* think these todos still apply
* gm: same default
* revert comments
* bump
* update refs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 90c4bbe8e4
2 years ago
Kacper Rączy
4017b1707c
radard: tie radard frequency to modelV2 vol. 2 ( #29240 )
...
* radard: tie radard frequency to modelV2
Accumulate parsed messages until state is updated (toyota)
Same for honda
Rename rr to something more descriptive
* Change _update method name, since signature has changed
* Update ref commit
* Some renames
* Check for number of cans
old-commit-hash: 460f5c8e0b
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Justin Newberry
715f028a0e
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40
2 years ago
Justin Newberry
a14f162bc7
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
old-commit-hash: 4a9afd7554
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
c92e7265a6
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 4b221cb4fd271664ab7d39c5cfefb4225ca07c2a.
old-commit-hash: 1774b4fc61
2 years ago
Kacper Rączy
79fa322d4a
radard: tie radard frequency to modelV2 ( #29063 )
...
old-commit-hash: 255f5c13f2
2 years ago
Kacper Rączy
67ac96c8b4
process_replay: capture process output ( #29027 )
...
* Add ProcessOutputProxy
* Move launcher to its own field
* Move ProcessOutputCapture to its own file
* Return itself from __enter__ of OpenpilotPrefix
* Integrate ProcessOutputCapture into process_replay
* Add note about capture_output_store to README
* ipykernel import is optional
* Disable type checking for link_with_current_proc
* Remove assertion
* Decode outputs to utf-8
* read(self): return empty buf if its none
* Fix type annotations
* Replace fifo with regular file, to avoid hitting fifo size limit
old-commit-hash: 547a033a3c
2 years ago
Adeeb Shihadeh
8bcaf1f942
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
old-commit-hash: 3476205569
2 years ago
Shane Smiskol
0a6b589f23
dmonitoringmodeld: initialize model first ( #29080 )
...
* hacky fix
* even better
* ordering
* clean up
* fix model replay
* add comment
* catch sigint
old-commit-hash: 12ed894362
2 years ago
Kacper Rączy
33ea9fed74
test_fuzzy: fix keyword argument ( #29083 )
...
Fix fuzzy test
old-commit-hash: 4793772c47
2 years ago
Adeeb Shihadeh
b0c3778aae
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a27
.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2 years ago
Adeeb Shihadeh
9b8d86e562
process replay: remove sorting before comparison ( #29072 )
...
* process replay: remove sorting before comparison
* keep ignore msgs
old-commit-hash: 716d0d5918
2 years ago
Kacper Rączy
d50f057f02
process_replay: ability to permanently unlock some sockets ( #29070 )
...
Add unlocked_pubs for keeping some sockets permanently unlocked
old-commit-hash: 81e8cf414e
2 years ago
Harald Schäfer
8a48732784
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
old-commit-hash: ca699e3989
2 years ago
Kacper Rączy
50fc92eab9
process_replay: API docs ( #29041 )
...
* Update process_replay README
* Expose get_custom_params_from_lr in top-level module
old-commit-hash: f74f1def29
2 years ago
Kacper Rączy
6b94f83d85
regen: blacklist-procs option ( #29024 )
...
* Add blacklist-procs option to regen
* Keep the original process order
old-commit-hash: 1235110983
2 years ago