Tools: allow using plotjuggler on local data (#24473)

local juggler
old-commit-hash: 07f7570840320aeb16803e9c93f1d8e648568dba
This commit is contained in:
ntegan1
2022-05-17 13:50:23 -04:00
committed by GitHub
parent 3ee5b1bf07
commit 0a3fde5334
3 changed files with 42 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ def juggle_route(route_or_segment_name, segment_count, qlog, can, layout, dbc=No
if route_or_segment_name.segment_num != -1 and segment_count is None:
segment_count = 1
r = Route(route_or_segment_name.route_name.canonical_name)
r = Route(route_or_segment_name.route_name.canonical_name, route_or_segment_name.data_dir)
logs = r.qlog_paths() if qlog else r.log_paths()
segment_end = segment_start + segment_count if segment_count else None