Commit Graph

200 Commits

Author SHA1 Message Date
Justin Newberry bc9ad2ab13 fix static analysis
old-commit-hash: 3f104f3fbd
2024-02-21 11:26:49 -08:00
Adeeb Shihadeh 13ec05e3f3 add power cycling to can_replay
old-commit-hash: e7695c3f32
2024-02-21 11:12:56 -08:00
Adeeb Shihadeh b4c03185d4 bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
old-commit-hash: daceb171bd
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh d14dd2dfe8 tools: fix up can_replay
old-commit-hash: 3972073fd4
2024-02-04 14:48:06 -08:00
Harald Schäfer 66dbadb029 Delete lat planner (#31089)
* Initial commit

* Fixup

* typo

* ignore lateral plan

* Update cereal

* Remove lateralPlan

* Fix release build

* Fix release build

* give car params

* Add carParams to include_all_types

* Write car param in powerdraw test

* add demo mode

* Update model regf

* proc replay ref commit

* Try

* Move enum definition

* Update cereal

* typo

* Write car param for modeld test

* Update ref

* Update model ref again

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: e6c97c3846
2024-01-21 12:09:48 -08:00
Justin Newberry 06091f48a9 speedup replay test (#31086)
* speedup replay test

* better name

* comment not required
old-commit-hash: 5c2b7882bf
2024-01-19 14:39:08 -08:00
Justin Newberry 5df01b3d22 LogReader: fix plotjuggler not reading properly (#31023)
* fix plotjuggler

* simpler

* fix juggler

* fix that
old-commit-hash: 61fe705160
2024-01-16 12:40:49 -08:00
Justin Newberry 4b7edec2b0 LogReader: move opci to tools/lib (#31021)
move opci
old-commit-hash: 7d400112df
2024-01-16 10:58:51 -08:00
Adeeb Shihadeh bf6fc7a24f more unit test speedup (#30997)
* that's super slow

* fix startup test

* fix
old-commit-hash: fe6aff0131
2024-01-13 22:21:43 -08:00
Justin Newberry c8cc30112d rename segmentrangereader to logreader (#30981)
* Replace multilogiterator

* replace logreader

* update readme

* fix from_Bytes

* new section

* reset before iter

* selector

* fix internal

* whitespace
old-commit-hash: 3d73512c07
2024-01-12 12:53:50 -08:00
Justin Newberry 3231738be9 move can replay to segmentrangereader (#30971)
can replay
old-commit-hash: 042ccb9244
2024-01-11 13:11:59 -08:00
Justin Newberry dd7921de3f replace more tools with SegmentRangeReader (#30968)
* replace lrfros

* and those ones too
old-commit-hash: 7e9843b5e6
2024-01-11 11:46:31 -08:00
pencilpusher 63608539b1 replay ui: fix typo in variable name (#30851)
fix typo in variable name
old-commit-hash: ee3544d283
2023-12-26 16:03:59 -08:00
Dean Lee 6ae3e95542 camerad: cleanup includes (#30782)
* cleanup includes

* continue

---------

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

* rename to playback speed
old-commit-hash: c5f73a748e
2023-11-18 22:12:35 -08:00
Dean Lee 543ea2bf57 replay: simplify the code for allow/block list (#30449)
simplify allow/block list
old-commit-hash: da95fd3019
2023-11-13 09:19:39 -08:00
Dean Lee 0de1648cca replay: remove deprecated support for `PANDA_STATE_D_E_P_R_E_C_A_T_E_D` (#30447)
old-commit-hash: 9e06525642
2023-11-12 10:54:08 -08:00
Dean Lee 6f27ae486f replay: make `speed_` atomic (#30429)
make speed_ atomic
old-commit-hash: 26a82e70d5
2023-11-09 18:02:48 -08:00
Dean Lee 3fb329773e cabana: remove the qlog parsing thread (#30319)
remove the qlog thread
old-commit-hash: e287a5f164
2023-10-24 10:38:50 -07:00
Dean Lee 9affc1c0c9 replay: make `installDownloadProgressHandler` thread safe (#30296)
old-commit-hash: 9e01f4a85e
2023-10-20 12:41:18 -07:00
Dean Lee 8c18996de9 ui.py: support strided buffer (#30236)
fix crash
old-commit-hash: 1866e53957
2023-10-17 01:03:56 -07:00
Adeeb Shihadeh a9153a39cc 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>
old-commit-hash: 377722fd5e
2023-10-03 15:31:26 -07:00
Dean Lee 99f4592513 replay: fix missing events before INIT_DATA (#30039)
fix missing events
old-commit-hash: 2cca0cbde8
2023-09-25 15:16:41 -07:00
Justin Newberry ed1987dc34 Tests: speedup replay test (#30037)
speedup
old-commit-hash: dd3cdbf4cc
2023-09-25 14:26:01 -07:00
Justin Newberry af2b9e744d test_replay: speedup by preventing multiple downloads (#29901)
* Demo route fixture

* fix tests

* demo route download

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

* trailing slash

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

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
old-commit-hash: 4917e22615
2023-08-24 14:58:30 -07:00
Dean Lee 0984736972 cpplint: add filter `build/include_subdir` (#29585)
old-commit-hash: 21da5a216f
2023-08-24 15:42:17 +01:00
Dean Lee 0702e273cb replay: fix visionbuf alignment on device (#26913)
* align visionbuf

* update test case

* cleanup

* fix cpplint warning
old-commit-hash: 3c94d953ab
2023-08-24 00:03:16 -07:00
Adeeb Shihadeh 6b2ffe9490 bump cereal (#29561)
old-commit-hash: e726505918
2023-08-23 13:42:37 -07:00
Dean Lee 97e9d55588 cpplint: `build/include_what_you_use` (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

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

* remove extra space
old-commit-hash: e8e03197ca
2023-08-16 11:01:14 -07:00
Kacper Rączy 7f02996102 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
old-commit-hash: d8bda6feb4
2023-08-15 00:05:27 +02:00
Dean Lee c622a4cac5 common/util: move function `random_int` to util (#29388)
old-commit-hash: 22bc06fdaa
2023-08-14 09:37:16 -07:00
Justin Newberry 8e91f98da5 Replay UI: Fix zip issue (#29384)
Update ui_helpers.py

resolves https://github.com/commaai/openpilot/issues/29383
old-commit-hash: 783bb1f878
2023-08-13 22:55:59 -07:00
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
2023-08-11 16:13:51 -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: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Adeeb Shihadeh 3e9b67a514 bump panda (#29234)
* bump panda

* bump
old-commit-hash: 7949dfe796
2023-08-04 11:09:20 -07:00
Shane Smiskol d78ebfdc45 replay: new demo route (#29215)
* new demo route

* replace other references (except gps test)

* Apply suggestions from code review

* it's 13 segments
old-commit-hash: acc732efbb
2023-08-03 13:18:44 -07:00
Mitchell Goff 49b07db500 Added python VisionBuf class (#29075)
* Added python VisionBuf class

* fixed property names

* Bump cereal
old-commit-hash: f0ae0c34cd
2023-07-25 01:08:39 -07:00
Harald Schäfer 8a48732784 radard: no clustering (#29010)
* First commit

* cleanup

* Update ref

* Doesnt deserve two files

* cleanup radard
old-commit-hash: ca699e3989
2023-07-19 20:31:40 -07:00
Dean Lee 2d88501e21 replay: emit segmentsMerged before updateEvent (#28849)
old-commit-hash: 3ad434c5ca
2023-07-08 17:09:54 -07:00