Commit Graph

188 Commits

Author SHA1 Message Date
pencilpusher
ee3544d283 replay ui: fix typo in variable name (#30851)
fix typo in variable name
2023-12-26 16:03:59 -08:00
Dean Lee
ab0b26d2b8 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-12-17 22:42:52 -08:00
Adeeb Shihadeh
ae85ee0932 fixup can replay for jungle v2 and tres 2023-12-13 17:00:14 -08:00
Greg Hogan
7e0f0165f4 replay: get api url from env var (#30562) 2023-11-30 10:42:18 -08:00
Dean Lee
c5f73a748e replay: support for setting a custom playback speed (#30462)
* support for setting a custom playback speed

* rename to playback speed
2023-11-18 22:12:35 -08:00
Dean Lee
da95fd3019 replay: simplify the code for allow/block list (#30449)
simplify allow/block list
2023-11-13 09:19:39 -08:00
Dean Lee
9e06525642 replay: remove deprecated support for PANDA_STATE_D_E_P_R_E_C_A_T_E_D (#30447) 2023-11-12 10:54:08 -08:00
Dean Lee
26a82e70d5 replay: make speed_ atomic (#30429)
make speed_ atomic
2023-11-09 18:02:48 -08:00
Dean Lee
e287a5f164 cabana: remove the qlog parsing thread (#30319)
remove the qlog thread
2023-10-24 10:38:50 -07:00
Dean Lee
9e01f4a85e replay: make installDownloadProgressHandler thread safe (#30296) 2023-10-20 12:41:18 -07:00
Dean Lee
1866e53957 ui.py: support strided buffer (#30236)
fix crash
2023-10-17 01:03:56 -07:00
Adeeb Shihadeh
377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
Dean Lee
2cca0cbde8 replay: fix missing events before INIT_DATA (#30039)
fix missing events
2023-09-25 15:16:41 -07:00
Justin Newberry
dd3cdbf4cc Tests: speedup replay test (#30037)
speedup
2023-09-25 14:26:01 -07:00
Justin Newberry
6666413626 test_replay: speedup by preventing multiple downloads (#29901)
* Demo route fixture

* fix tests

* demo route download

* remove iostream
2023-09-13 19:19:06 -07:00
Angus Gratton
43210ca0e2 replay: Include cstdarg from util (#29871)
Fix compilation errors "use of undeclared identifier" for va_start & va_end.
2023-09-11 08:01:07 -07:00
Justin Newberry
73eda51a11 System: use paths for download folders too (#29818)
* use paths for download folders too

* trailing slash

* reset that
2023-09-07 12:49:03 -07:00
Dean Lee
bbf133a2e5 replay: fix concurrency issues (#29797)
fix concurrency issues
2023-09-06 10:34:01 -07:00
Justin Newberry
1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
4917e22615 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
2023-08-24 14:58:30 -07:00
Dean Lee
21da5a216f cpplint: add filter build/include_subdir (#29585) 2023-08-24 15:42:17 +01:00
Dean Lee
3c94d953ab replay: fix visionbuf alignment on device (#26913)
* align visionbuf

* update test case

* cleanup

* fix cpplint warning
2023-08-24 00:03:16 -07:00
Adeeb Shihadeh
e726505918 bump cereal (#29561) 2023-08-23 13:42:37 -07:00
Dean Lee
2d99521e75 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-23 13:25:17 -07:00
Dean Lee
363740a497 cpplint: add readability/braces filter (#29554) 2023-08-23 10:13:46 -07:00
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
Dean Lee
61a00d2673 replay/logreader: use unique_ptr for mbr_ (#29440) 2023-08-17 11:42:35 -07:00
Dean Lee
e8e03197ca replay: fix seekTo issue (#29422)
* fix seekTo issue

* remove extra space
2023-08-16 11:01:14 -07:00
Kacper Rączy
d8bda6feb4 replay: increase file descriptor limit macOS (#29346)
* Increase file descriptor limit for replay on macos

* Reword comment

* Move set_file_descriptor_limit to common/util.cc

* Include resource.h header
2023-08-15 00:05:27 +02:00
Dean Lee
22bc06fdaa common/util: move function random_int to util (#29388) 2023-08-14 09:37:16 -07:00
Justin Newberry
783bb1f878 Replay UI: Fix zip issue (#29384)
Update ui_helpers.py

resolves https://github.com/commaai/openpilot/issues/29383
2023-08-13 22:55:59 -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
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
Adeeb Shihadeh
7949dfe796 bump panda (#29234)
* bump panda

* bump
2023-08-04 11:09:20 -07:00
Shane Smiskol
acc732efbb replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
2023-08-03 13:18:44 -07:00
Mitchell Goff
f0ae0c34cd Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
2023-07-25 01:08:39 -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
Dean Lee
3ad434c5ca replay: emit segmentsMerged before updateEvent (#28849) 2023-07-08 17:09:54 -07:00
Dean Lee
059529cae2 cabana: improve timeline (#28801) 2023-07-04 12:03:08 -07:00
Qi Liu
aa85fed91d replay: fix segfault caused by pointer usage after freeing (#28779) 2023-07-01 23:01:47 -07:00
AlexandreSato
dc06ce7ac3 minor typo on replay.cc comment (#28692) 2023-06-25 20:24:19 +01:00
Dean Lee
bd34124a84 replay: fix timeline issues (#28501) 2023-06-11 13:41:23 -07:00
Dean Lee
3a3e38e425 replay: Improve the performance of the log parser (#28495) 2023-06-11 08:28:30 -07:00
Dean Lee
67b27b7496 replay: fixed incorrect totalSeconds when there are invalid segments in route (#28388) 2023-06-03 11:43:27 -07:00
Kacper Rączy
26ad9b32f3 replay: lock uiDebug and userFlag messages behind all flag (#28349)
* Add ui-debug flag, for replaying ui debug states

* Fix flag description

* Replace --ui-debug with --all flag

* Add base_blacklist for services blacklisted by default
2023-06-02 15:17:25 -07:00
Kacper Rączy
00ff096ca2 replay: replay deprecated pandaState if pandaStates is whitelisted (#28275) 2023-05-23 19:48:57 -07:00
Adeeb Shihadeh
e3bd28bddf tools: improved CAN replay (#27975) 2023-04-19 11:46:22 -07:00
Angus Gratton
ed6e7db3cf replay framereader: Log in some unlikely failure paths (#27942) 2023-04-18 12:17:45 -07:00
Dean Lee
74db5a4b42 cabana: group CAN events by message id to reduce the time complex from O(N) to O(1) (#27601)
* refactor streams

* helper function xLessThan

* fix fill gaps
2023-03-17 10:16:14 -07:00
Dean Lee
9b28897f09 replay: fix incorrect format string in seekTo (#27547) 2023-03-09 13:13:29 -08:00