Revert "test"

This reverts commit 38e6635dd0.
pull/36032/head
Maxime Desroches 2 days ago
parent 38e6635dd0
commit e8ae8c840e
  1. 8
      selfdrive/test/test_onroad.py

@ -334,7 +334,6 @@ class TestOnroad:
assert np.all(eof_sof_diff < 50*1e6) assert np.all(eof_sof_diff < 50*1e6)
first_fid = {min(self.ts[c]['frameId']) for c in cams} first_fid = {min(self.ts[c]['frameId']) for c in cams}
print(first_fid)
assert len(first_fid) == 1, "Cameras don't start on same frame ID" assert len(first_fid) == 1, "Cameras don't start on same frame ID"
if cam.endswith('CameraState'): if cam.endswith('CameraState'):
# camerad guarantees that all cams start on frame ID 0 # camerad guarantees that all cams start on frame ID 0
@ -344,13 +343,6 @@ class TestOnroad:
# we don't do a full segment rotation, so these might not match exactly # we don't do a full segment rotation, so these might not match exactly
last_fid = {max(self.ts[c]['frameId']) for c in cams} last_fid = {max(self.ts[c]['frameId']) for c in cams}
assert max(last_fid) - min(last_fid) < 10 assert max(last_fid) - min(last_fid) < 10
print(first_fid, last_fid)
print(first_fid, last_fid)
print(first_fid, last_fid)
print(first_fid, last_fid)
print(first_fid, last_fid)
print(first_fid, last_fid)
print(first_fid, last_fid)
start, end = min(first_fid), min(last_fid) start, end = min(first_fid), min(last_fid)
for i in range(end-start): for i in range(end-start):

Loading…
Cancel
Save