Shane Smiskol
661edd7d8b
regen: fix wide road camera msg name ( #30147 )
...
fixed
2 years ago
Kacper Rączy
9c5bbe1a91
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
2 years ago
Adeeb Shihadeh
a4aa801fbe
simplify sensor alert ( #29824 )
...
* simplify
* update proc replay
2 years ago
Vivek Aithal
6d5f4f149d
locationd: Replace allAliveAndValid with allValid ( #30064 )
...
* replace allaliveandvalid check with allvalid, all necessary time checks are already used
* update refs
2 years ago
Adeeb Shihadeh
5f318faf93
model replay: add cameraOdometry ( #30007 )
...
* model replay: add back cameraOdometry coverage
* update refs
* try again
* fix cmp log
2 years ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Harald Schäfer
3799fe46b3
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>
2 years ago
Vivek Aithal
00d1c682b0
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>
2 years ago
Lee Jong Mun
238f9d65db
cleanup remnants of LQR and INDI tuning ( #29860 )
...
* not use 'indi' cleanup
* bump cereal
* rm more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Kacper Rączy
0267e0500c
radard: expose radarTrackId for radar leads ( #29809 )
...
* Add radarState track identifier for debugging purposes
* update process replay ref
2 years ago
Vivek Aithal
dbada885ac
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
2 years ago
Justin Newberry
338288df6e
Subaru: don't copy eyesight counters, calculate manually ( #29533 )
...
* subaru manual counters
* update ref
* that isn't used
* review suggestions
2 years ago
Adeeb Shihadeh
7b6afbc162
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>
2 years ago
Mitchell Goff
1eb60516cb
Move update_calibration to modeld.py ( #29688 )
...
* Move update_calibration to modeld.py
* Updated ref commit
2 years ago
Kacper Rączy
bb14ba4e5e
process_replay: clean env vars after run ( #29694 )
...
Clean environ vars at the end of replay
2 years ago
Harald Schäfer
55b391509d
Revert: Locationd: enable laikad ( #29687 )
...
* Revert: Locationd: enable laikad
* update ref
2 years ago
Adeeb Shihadeh
4d6bb32df2
process replay: parallel by default ( #29633 )
...
* process replay: parallel by default
* more is helpful
2 years ago
Harald Schäfer
f1b8a86464
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
2 years ago
Harald Schäfer
8205590624
Locationd: enable laikad ( #29570 )
...
* experiment
* llk back
* update refs
* update ref
* no internet
* Update ref
2 years ago
Harald Schäfer
8a7281d285
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
2 years ago
Harald Schäfer
fda3106c28
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 3523bef732
.
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit fd3b8a3d75
.
2 years ago
Harald Schäfer
fd3b8a3d75
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
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
Harald Schäfer
1dea20e574
Proc replay: field tolerance unused ( #29479 )
...
field tolerance unused
2 years ago
Shane Smiskol
1a08c2986e
Revert "radard: tie radard frequency to modelV2 vol. 2 ( #29240 )" ( #29474 )
...
* Revert "static analysis fixes"
This reverts commit a1e85f3661
.
* Revert "radard: tie radard frequency to modelV2 vol. 2 (#29240 )"
This reverts commit 460f5c8e0b
.
* update refs
2 years ago
Shane Smiskol
e4ecb511c9
upadte process replay refs
2 years ago
Kacper Rączy
f07e4fb49a
process_replay: prevent creating orphaned processes if replay fails during setup ( #29426 )
...
Fix the ability to cleanup, if process container fails during start
2 years ago
Justin Newberry
7ec52da33a
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
2 years ago
Jason Young
90c4bbe8e4
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>
2 years ago
Kacper Rączy
460f5c8e0b
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
2 years ago
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2 years ago
Justin Newberry
8793cbff40
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
2 years ago
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2 years ago
Mitchell Goff
c04e5d12fc
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
2 years ago
Justin Newberry
7fdd9fc37c
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
2 years ago
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Kacper Rączy
1774b4fc61
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 255f5c13f2
.
2 years ago
Kacper Rączy
255f5c13f2
radard: tie radard frequency to modelV2 ( #29063 )
2 years ago
Kacper Rączy
547a033a3c
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
2 years ago
Adeeb Shihadeh
3476205569
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
2 years ago
Shane Smiskol
12ed894362
dmonitoringmodeld: initialize model first ( #29080 )
...
* hacky fix
* even better
* ordering
* clean up
* fix model replay
* add comment
* catch sigint
2 years ago
Kacper Rączy
4793772c47
test_fuzzy: fix keyword argument ( #29083 )
...
Fix fuzzy test
2 years ago
Adeeb Shihadeh
1945c356c2
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>
2 years ago
Adeeb Shihadeh
716d0d5918
process replay: remove sorting before comparison ( #29072 )
...
* process replay: remove sorting before comparison
* keep ignore msgs
2 years ago
Kacper Rączy
81e8cf414e
process_replay: ability to permanently unlock some sockets ( #29070 )
...
Add unlocked_pubs for keeping some sockets permanently unlocked
2 years ago
Harald Schäfer
ca699e3989
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
2 years ago
Kacper Rączy
f74f1def29
process_replay: API docs ( #29041 )
...
* Update process_replay README
* Expose get_custom_params_from_lr in top-level module
2 years ago
Kacper Rączy
1235110983
regen: blacklist-procs option ( #29024 )
...
* Add blacklist-procs option to regen
* Keep the original process order
2 years ago