From 39099120a5e45ed46dffca42f0076becd0042e55 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 16 Oct 2021 15:00:07 -0700 Subject: [PATCH] can_replay: use segments without an FCW old-commit-hash: 7b5d915a6827be907c4abfc40afe5c287201674e --- tools/replay/can_replay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/replay/can_replay.py b/tools/replay/can_replay.py index 98d83d2f21..5221054262 100755 --- a/tools/replay/can_replay.py +++ b/tools/replay/can_replay.py @@ -18,9 +18,9 @@ except Exception: print("Loading log...") ROUTE = "77611a1fac303767/2020-03-24--09-50-38" -NUM_SEGS = 2 # route has 82 segments available +REPLAY_SEGS = list(range(10, 16)) # route has 82 segments available CAN_MSGS = [] -for i in tqdm(list(range(1, NUM_SEGS+1))): +for i in tqdm(REPLAY_SEGS): log_url = f"https://commadataci.blob.core.windows.net/openpilotci/{ROUTE}/{i}/rlog.bz2" lr = LogReader(log_url) CAN_MSGS += [can_capnp_to_can_list(m.can) for m in lr if m.which() == 'can']