send initial calibration packet immediately

pull/2167/head
Adeeb Shihadeh 5 years ago
parent 9fa56b4eab
commit 74801bd216
  1. 3
      selfdrive/locationd/calibrationd.py

@ -149,7 +149,8 @@ def calibrationd_thread(sm=None, pm=None):
calibrator = Calibrator(param_put=True)
while 1:
sm.update(100)
timeout = 0 if sm.frame == -1 else 100
sm.update(timeout)
if sm.updated['cameraOdometry']:
calibrator.handle_v_ego(sm['carState'].vEgo)

Loading…
Cancel
Save