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 db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Harald Schäfer
1dea20e574
Proc replay: field tolerance unused ( #29479 )
...
field tolerance unused
2023-08-20 13:05:18 -07:00
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
2023-08-18 22:56:43 -07:00
Shane Smiskol
e4ecb511c9
upadte process replay refs
2023-08-17 00:45:44 -07:00
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
2023-08-16 10:37:19 -07:00
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
2023-08-15 15:28:46 -07:00
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 >
2023-08-15 14:17:08 -07:00
Adeeb Shihadeh
09ffce8073
add small ui for jenkins runners ( #29382 )
2023-08-13 18:01:51 -07:00
Adeeb Shihadeh
d6857996d3
cleanup unused python packages ( #29353 )
...
* rm unused python packages
* lock
2023-08-11 21:34:47 -07:00
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
2023-08-11 18:07:06 -07:00
Justin Newberry
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2023-08-11 16:13:51 -07:00
Justin Newberry
62c1e65924
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
2023-08-11 15:33:49 -07:00
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
2023-08-10 18:58:22 -07:00
Justin Newberry
4a9afd7554
Ruff: comprehensions conventions ( #29317 )
...
ignore c408
2023-08-10 16:40:30 -07:00
Adeeb Shihadeh
670fa9af5f
pytest unit test running ( #29261 )
...
* setup config
* collect passes
* pytest system/ works
2023-08-10 08:23:19 -07:00
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
2023-08-09 19:56:45 -07:00
Adeeb Shihadeh
c53545621e
jenkins: cleanup all orphaned git locks ( #29296 )
2023-08-09 15:14:50 -07:00
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
2023-08-09 13:26:54 -07:00
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
2023-08-08 17:13:35 -07:00
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a .
2023-08-08 14:24:04 -07:00
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2023-08-08 13:41:30 -07:00
Kacper Rączy
1774b4fc61
Revert "radard: tie radard frequency to modelV2 ( #29063 )" ( #29243 )
...
This reverts commit 255f5c13f2 .
2023-08-04 20:25:40 -07:00
Kacper Rączy
255f5c13f2
radard: tie radard frequency to modelV2 ( #29063 )
2023-08-03 22:10:21 -07:00
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
2023-07-31 16:30:58 -07:00
Adeeb Shihadeh
3476205569
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
2023-07-31 12:48:11 -07:00
Shane Smiskol
12ed894362
dmonitoringmodeld: initialize model first ( #29080 )
...
* hacky fix
* even better
* ordering
* clean up
* fix model replay
* add comment
* catch sigint
2023-07-23 09:28:22 -07:00
Kacper Rączy
4793772c47
test_fuzzy: fix keyword argument ( #29083 )
...
Fix fuzzy test
2023-07-21 14:58:14 -07:00
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 c5132f8a2727c212bdfc01e77aa53e50a17ead9d.
* 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 >
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
716d0d5918
process replay: remove sorting before comparison ( #29072 )
...
* process replay: remove sorting before comparison
* keep ignore msgs
2023-07-20 19:22:59 -07:00
Kacper Rączy
81e8cf414e
process_replay: ability to permanently unlock some sockets ( #29070 )
...
Add unlocked_pubs for keeping some sockets permanently unlocked
2023-07-20 16:03:58 -07:00
Harald Schäfer
ca699e3989
radard: no clustering ( #29010 )
...
* First commit
* cleanup
* Update ref
* Doesnt deserve two files
* cleanup radard
2023-07-19 20:31:40 -07:00
Kacper Rączy
f74f1def29
process_replay: API docs ( #29041 )
...
* Update process_replay README
* Expose get_custom_params_from_lr in top-level module
2023-07-19 17:50:26 -07:00
Kacper Rączy
1235110983
regen: blacklist-procs option ( #29024 )
...
* Add blacklist-procs option to regen
* Keep the original process order
2023-07-18 17:13:23 -07:00
Kacper Rączy
b2d0f74ec3
process_replay: support for replaying multiple processes simultaneously ( #28829 )
...
* first working ProcessContainer and _replay_multi_process implementation
* Setup controlsd config_callback
* Add vision ipc support
* Remove old code
* add todo
* Update estimated processing times
* Use deepcopy when getting configs
* Rework the API to support passing multiple names or configs
* Add get_custom_params_from_lr
* Add more typing
* Enable simulation for controlsd
* Fix typing issues
* Regen refactor
* Fix linter issues
* Make wideRoadCameraState optional
* Move DummySocket to helpers
* Improve typing in regen
* Minor improvements
* Maintain sort order of internal_pub_queue using heapq
* Move ProcessContainer elsewhere
* Fix internal heap
* Change comment
* Remove subtest_name from ProcessConfig
* Update cereal
* Add newline
2023-07-18 14:56:24 -07:00
Harald Schäfer
7613f6918b
Laikad cpu usage: enable test onroad ( #28926 )
...
* enable test onroad
* Better
* specify range
* fix printing
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-15 23:06:42 -07:00
Shane Smiskol
f495c21805
FuzzyGenerator: typing ( #28934 )
...
* bump
* should be bytes
* draft fuzzy car params
* stash
* bump
* bump
* this is explored!
* some clean up
* more clean up
* clean up
* do we need draw??
* draft
* this was confusing
* revert
* draft
* Revert "draft"
This reverts commit c593a03474b04d4df2648d8149798196c991a108.
* draft
* more typing!
* complete typing
* fix that
* cleanup
* better
2023-07-14 21:41:30 -07:00
Shane Smiskol
c541074669
test_onroad: lower ui CPU usage ( #28927 )
...
lower from multiple runs
2023-07-13 23:47:12 -07:00
Shane Smiskol
77339af1c0
FuzzyGenerator: return bytes for data ( #28932 )
...
generate bytes
2023-07-13 23:43:08 -07:00
Kacper Rączy
72579a0e10
controlsd: support for SIMULATION mode for process replay ( #28895 )
...
* Support for simulation flag while replay
* Update cereal
* Enable simulation for controlsd
* Update ref commit
* Update cereal
2023-07-12 10:32:02 -07:00
Harald Schäfer
47ee0932db
Qcom rawgps: Timestamp svpolys ( #28738 )
...
* Timestamp svpolys
* leap seconds handled fine
* Fix error
* bump laika
* Update test route
* update ref
2023-07-11 13:22:09 -07:00
Adeeb Shihadeh
69e7f386a7
revert accidental enable
2023-07-10 17:22:09 -07:00
Adeeb Shihadeh
24de4a6204
Update test_onroad.py
2023-07-10 16:40:09 -07:00
Mitchell Goff
e346839c68
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 >
2023-07-09 15:10:02 -07:00
Adeeb Shihadeh
740380bf05
test onroad: stricter ui timings check ( #28853 )
2023-07-08 22:26:53 -07:00
Mitchell Goff
531c13f2ac
Moonrise Model ( #28761 )
...
* New model: 889463fc-5e5d-497d-9111-c8567a13cabf
* Updated model replay ref
2023-06-30 18:52:20 -07:00
Maxime Desroches
0ebec253d0
simple fuzzing test for all processes ( #28661 )
...
* Revert "Revert "simple fuzzing test for all processes (#28584 )""
This reverts commit 7783dc602c .
* determinism
* fingerprint
2023-06-29 21:49:23 -07:00
Adeeb Shihadeh
336b5f7324
reduce startup alert duration ( #28749 )
...
* reduce startup alert duration
* update refs
2023-06-29 17:57:25 -07:00
Harald Schäfer
5c6efd2aab
Laikad: more sensible ephemeris management ( #28721 )
...
* Laikad: more sensible ephemeris management
* Tow
* fix test
* Also publish qcom
* Update
* Update laikad.py
2023-06-28 21:08:18 -07:00
Jason Young
0c223b4814
VW PQ: Extended standstill for FtS with EPB ( #28248 )
...
* VW PQ: Extended standstill for FtS with EPB
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-06-24 21:28:10 -07:00
Vivek Aithal
c9f02ae905
[SUBARU OUTBACK 6TH GEN] Modify offline torque parameters ( #28663 )
...
* add new valkues for subaru, to try
* update refs
* update refs
2023-06-23 17:06:57 -07:00