Commit Graph

216 Commits

Author SHA1 Message Date
Dean Lee 4b2a00ef73 replay: refactor Event to remove the readers (#32252)
Refactor struct Event to remove the MessageReader from it
old-commit-hash: a824bd75ef38d3e40341151dd8bf5fb1eac02f3c
2024-04-19 11:15:34 -07:00
Dean Lee 7e5191422d replay/framereader: no longer cache all AVPacket instances in memory (#32236)
old-commit-hash: 8124ba5f63ff8275424a2b7aafe09768c5ed26a2
2024-04-17 10:05:32 -07:00
Dean Lee 2c14e8d540 cabana: gray out inactive messages (#32121)
* improve message list

remove TODO

* improve sort

* remove translate

* fix seeking issue
old-commit-hash: bf61e92518775f251a1ec4004889cdb8cd27b47e
2024-04-09 19:39:24 -07:00
Dean Lee 620f74d3b9 replay: use clock_nanosleep for precise waiting on the scale of nanoseconds (#32125)
use clock_nanosleep
old-commit-hash: 354cbe5a26502bf08370d5386400c0efb72fc9e9
2024-04-08 11:59:17 -07:00
Dean Lee 05d0243ff5 replay/route: adds retry on network failures (#31948)
old-commit-hash: b8f5f50d39881388fa4dcf3137693b948c2cf070
2024-03-30 17:37:14 -07:00
Dean Lee ad70ec8e45 replay/cabana : support segment range (#32026)
* support segment range

* include <QRegularExpression>
old-commit-hash: 0a2a3dfab7106e40a3934e1e80bc6573223276d8
2024-03-27 09:47:18 -07:00
Dean Lee 46384f94d3 ui.py: quit if the "X"(exit) button is clicked (#31949)
old-commit-hash: 028f6938b2e28d79054e9c11f1b95eba150bfcad
2024-03-21 10:58:48 -07:00
Dean Lee eba689d638 replay: get route datetime from INIT_DATA (#31913)
get datetime from INIT_DATA
old-commit-hash: d647361fae99b94c31e5071cbb6d81410b68c32e
2024-03-19 11:46:39 -07:00
Dean Lee 6ecd7bd524 replay: fix segfault in Replay::queueSegment (#31902)
old-commit-hash: e79cb0edaf88bde8ebdf1b0ac1b6fb5c6b5122d3
2024-03-17 21:55:27 -07:00
Cameron Clough 46cf28d822 ui.py fix typo (#31870)
old-commit-hash: 4dd5fd4619cb73df9b396aacda94c6afc553a9f1
2024-03-14 15:00:16 -07:00
Adeeb Shihadeh da31ce154a refactor camera transformations (#31818)
* refactor camera transormations

* update users

* more stuff

* more fix

* swap

* tici

* lil shorter
old-commit-hash: e3589e4b5cc783001c95b52cce066647b4ae0c6c
2024-03-10 16:56:50 -07:00
Adeeb Shihadeh 52eb1aee05 tools: update replay route parsing for timeless format
old-commit-hash: fd51bfb27bbdd089833810bec49e67e4ce7a1800
2024-03-07 18:57:59 -08:00
Adeeb Shihadeh 1a08f8a9f3 can_replay fixups for bxcan hw
old-commit-hash: 9b2665f0c1cc82ba681a7760599fce917c8eb93f
2024-03-02 12:23:46 -08:00
Justin Newberry b6b2ae1197 can_replay: log fingerprint for hardcoding (#31671)
* log

* quotes
old-commit-hash: b0496d8294b43bc63dc5cf54c19d029ac7857163
2024-03-01 13:28:58 -08:00
Justin Newberry d036050624 can_replay: add type hint (#31601)
type hint
old-commit-hash: edd26acdc324ad8d4b3ccd7406be545545f4cb6f
2024-02-26 16:26:01 -08:00
Cameron Clough 9bd90112d0 use pyupgrade to update to new typing syntax (#31580)
* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Justin Newberry bc9ad2ab13 fix static analysis
old-commit-hash: 3f104f3fbd7af6e0d1b59377165e6ae0a347c744
2024-02-21 11:26:49 -08:00
Adeeb Shihadeh 13ec05e3f3 add power cycling to can_replay
old-commit-hash: e7695c3f32e95bbd0ad31e2ef09075c93ba9f65b
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: daceb171bde5aef4ea483e8054456187772afe92
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh d14dd2dfe8 tools: fix up can_replay
old-commit-hash: 3972073fd4f33a6af3f88c6bb010171a38c03ba4
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: e6c97c384671b448f307a7ed91416886f2186d80
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: 5c2b7882bf5cddac38b0a323c0d18a91e9d3bc04
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: 61fe705160ddb9e5c55292c7f702c5502e2c0d2e
2024-01-16 12:40:49 -08:00
Justin Newberry 4b7edec2b0 LogReader: move opci to tools/lib (#31021)
move opci
old-commit-hash: 7d400112df6692ef026245b03951345cc36dd83e
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: fe6aff01311ca3c5a4a549b0eb5d081fa1740f86
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: 3d73512c0702598d27e04039976fe0a91d5952f0
2024-01-12 12:53:50 -08:00
Justin Newberry 3231738be9 move can replay to segmentrangereader (#30971)
can replay
old-commit-hash: 042ccb9244ac167a07d289864c99e0d169bb9e1a
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: 7e9843b5e6d0756bc7c17ef7338c384b7b330df0
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: ee3544d283523044cc969065af1c4c16acba7bf0
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: ab0b26d2b8dc8b3957812856917084af2cb3df0a
2023-12-17 22:42:52 -08:00
Adeeb Shihadeh 379989e863 fixup can replay for jungle v2 and tres
old-commit-hash: ae85ee093252720b749ac07b61933b51a609511c
2023-12-13 17:00:14 -08:00
Greg Hogan 70c662bf30 replay: get api url from env var (#30562)
old-commit-hash: 7e0f0165f4a036760cb3a0c179facffbe39e15ad
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: c5f73a748e6ea9742001d771b96346e3b5eddef9
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: da95fd3019473b1f0dd8d671c22c1e618092cdb2
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: 9e06525642eb46892a58371cc8daa70fba95f02a
2023-11-12 10:54:08 -08:00
Dean Lee 6f27ae486f replay: make speed_ atomic (#30429)
make speed_ atomic
old-commit-hash: 26a82e70d547a479c768d1971dca151f34aadcb6
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: e287a5f1641ae93a31deaeb3c03c5fd27ed80759
2023-10-24 10:38:50 -07:00
Dean Lee 9affc1c0c9 replay: make installDownloadProgressHandler thread safe (#30296)
old-commit-hash: 9e01f4a85e5bd9583155253c00c3a92a16e0e9a8
2023-10-20 12:41:18 -07:00
Dean Lee 8c18996de9 ui.py: support strided buffer (#30236)
fix crash
old-commit-hash: 1866e5395737082c695a22c076fe6f1840d807f3
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: 377722fd5ed13349acf99c71954f56e6ccd17c3c
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: 2cca0cbde814cba19b187447a76498d231b27ade
2023-09-25 15:16:41 -07:00
Justin Newberry ed1987dc34 Tests: speedup replay test (#30037)
speedup
old-commit-hash: dd3cdbf4ccbe473319ed1b0966463aff128de912
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: 6666413626d72b51759ce0330b9c02dc3ebf8fc9
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: 43210ca0e21b15c1fcaff5517c71827b9fc21dab
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: 73eda51a11955627f4d149fdf12c1c781983d52e
2023-09-07 12:49:03 -07:00
Dean Lee 87c8ec0e5c replay: fix concurrency issues (#29797)
fix concurrency issues
old-commit-hash: bbf133a2e505bee6dc502a3b636a59ae6b254798
2023-09-06 10:34:01 -07:00
Justin Newberry c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
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: 4917e22615adbfcc9b3c3ec89b00d240e0b48883
2023-08-24 14:58:30 -07:00
Dean Lee 0984736972 cpplint: add filter build/include_subdir (#29585)
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
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: 3c94d953ab9fcaf8ee2371af3f269ae46d3563c6
2023-08-24 00:03:16 -07:00