diff --git a/tools/replay/can_replay.py b/tools/replay/can_replay.py index 571a13e960d3ec..836974f2ca471b 100755 --- a/tools/replay/can_replay.py +++ b/tools/replay/can_replay.py @@ -89,11 +89,14 @@ def connect(): print("Loading log...") ROUTE = "77611a1fac303767/2020-03-24--09-50-38" REPLAY_SEGS = list(range(10, 16)) # route has 82 segments available - CAN_MSGS = [] - 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'] + log_url = "http://data.comma.life/1d10de75f6b8c570/2022-04-06--19-09-11/10/rlog.bz2" + # log_url = "http://data.comma.life/715ac05b594e9c59/2021-10-29--12-05-02/22/rlog.bz2" + # log_url = "http://data.comma.life/eb5a50f9e98f50b9/2021-12-20--17-42-32/3/rlog.bz2" + # log_url = "http://data.comma.life/eb5a50f9e98f50b9/2021-12-28--08-52-02/10/rlog.bz2" + lr = LogReader(log_url) + start_idx = 0 + end_idx = 6000 + CAN_MSGS = [can_capnp_to_can_list(m.can) for m in lr if m.which() == 'can'][start_idx:end_idx] # set both to cycle ignition