Commit Graph

24 Commits

Author SHA1 Message Date
Dean Lee b920e2a998 tools: add --auto flag to replay and cabana for loading routes from auto source (#34863)
* add flag to auto load a route from the most suitable source

* split to functions

* early return

* add --auto to replay

* README

* cleanup

* remove prefix

* parse datetime

* cleanup

* improve help

* do not modify logreader.py

* fix seg_num

* cleanup
2025-05-05 16:48:15 -07:00
Dean Lee 8c8b2c4488 replay: fix potential timestamp parsing error in Route::load (#35117)
Fix potential timestamp parsing error in Route::load
2025-05-04 10:15:25 -07:00
Trey Moen c0b0bb554c fix(replay): search for route key in entire str (#35081)
fix(replay): look at whole segment string
2025-04-26 13:43:18 -07:00
Dean Lee 3c765a1f45 replay: eliminate qt dependency (#34102)
refactor to remove qt dependency and module Replay classes
2024-11-25 09:13:22 -08:00
Dean Lee f5dc1d08c9 replay: replace HttpRequest with libcurl for accessing comma API (#33851)
Replay: Replace HttpRequest with libcurl for accessing comma api
2024-11-12 14:34:12 -08:00
Dean Lee 24a32c3dec replay: remove Qt dependency from Segment and Timeline (#33847)
remove Segment, Timeline dependency on Qt
2024-10-24 13:41:01 -07:00
Dean Lee 30853a2c41 replay: replace Qt data types with standard C++ data types (#33823)
replace Qt data types with c++ data types
2024-10-19 12:29:15 -07:00
Dean Lee 55ccea2c52 replay: add support for decompressing ZST log files (#32910)
* Add Support for Decompressing ZST Log Files

* 2 space and check magic number

* match BZ2

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ade13722cd10261696c7b49e7a6e4f6d65f1b74e
2024-07-29 13:48:06 -07:00
Dean Lee 6601133ad2 replay: handle route not found error with user warning message (#32895)
handle 404
old-commit-hash: 632c484dd5e1f18a6c63b7505bd773d448b86661
2024-07-03 15:27:54 -07:00
Dean Lee d1cd5f7ad6 cabana: improved error messaging (#32768)
* check user authenrication

* Update tools/cabana/streams/replaystream.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 54da59c1feb917896538ce8aa22bf4f12af20824
2024-06-17 12:44:31 -07:00
Dean Lee e41bd18540 replay: shared decoder context (#32255)
share decoder context

cleanup includes
old-commit-hash: b13456f81fdd6b0e83ba79e71f1f67fe6d220af9
2024-04-24 19:44:18 -07:00
Dean Lee df13fe2ead replay: optimize memory usage with MonotonicBuffer (#32278)
Optimize Memory Usage with MonotonicBuffe
old-commit-hash: bbd1648f0561b7b3270a2bc7b416841ac10fd9db
2024-04-22 19:21:42 -07:00
Dean Lee 372bea14e2 replay: bug fixes and improvements (#32193)
old-commit-hash: 2c409e0980e6145d375eb73f2d21cd03b01a5354
2024-04-21 17:09: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
Adeeb Shihadeh 52eb1aee05 tools: update replay route parsing for timeless format
old-commit-hash: fd51bfb27bbdd089833810bec49e67e4ce7a1800
2024-03-07 18:57:59 -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 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 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: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee 3b3783a1f8 replay: remove need for fake dongle id (#26899)
old-commit-hash: 2204a7153f3f63716eedf81a8aeee9f2ed3e3c2e
2023-01-08 15:51:08 -08:00
Dean Lee eb3429c5fb replay: show absolute time (#26869)
old-commit-hash: 2c7df6efc87f4f16aa0801ed40bc0e2542578031
2023-01-07 11:07:30 -08:00
Dean Lee f93f4e9f9b canbana: complete basic functions (#25965)
* add chart header

* get all signal val from logs

* loop in selected range

* clear list before append

* automatically zoom on yaxis

* cleanup

* sync charts

* fix event_begin_sec

* set the color of rubber

* add TODO

* sync slider with charts

* keep video aspect ratio

* sync plot buttons

* reduce flickers

* cleanup

* refactor detail view

* clear counters

* more

use qcamera
old-commit-hash: a6ba073231761e06ac6f070a01b434243d9d0693
2022-10-05 21:17:22 -07:00
Dean Lee 908eb73e35 replay: add support for reading from plain logs (#25053)
* read from plain log

* reduce memory copies

* cleanup

* fix test_replay
old-commit-hash: 91eb096ac98b46605c283c637ed1e6b15598dc52
2022-07-15 10:53:10 -07:00
Dean Lee 2156e71e7a move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
old-commit-hash: fd5b3d76036b78864111790931a3abcb1d11ee0f
2022-06-28 16:12:42 +02:00