skip 1st segment in debug replay

old-commit-hash: 74f95b8b26f39c61f91c83f46bbeb93bb43da968
This commit is contained in:
Willem Melching
2020-07-23 17:56:36 +02:00
parent 8581c25600
commit 591dcc26ee

View File

@@ -11,7 +11,7 @@ NUM_SEGS = 10 # route has 82 segments available
# Get can messages from logs
print("Loading...")
can_msgs = []
for i in tqdm(list(range(NUM_SEGS))):
for i in tqdm(list(range(1, NUM_SEGS))):
log_url = f"https://commadataci.blob.core.windows.net/openpilotci/{ROUTE}/{i}/rlog.bz2"
lr = LogReader(log_url)
can_msgs += [m for m in lr if m.which() == 'can']