Fix calibration invalid alert on startup (#2270)

* change controlsd calibration initial value

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
pull/2281/head
Willem Melching 5 years ago committed by GitHub
parent 70bc935210
commit 3f88df62c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/controls/controlsd.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -124,7 +124,7 @@ class Controls:
self.events_prev = []
self.current_alert_types = [ET.PERMANENT]
self.sm['liveCalibration'].calStatus = Calibration.INVALID
self.sm['liveCalibration'].calStatus = Calibration.CALIBRATED
self.sm['thermal'].freeSpace = 1.
self.sm['dMonitoringState'].events = []
self.sm['dMonitoringState'].awarenessStatus = 1.

@ -1 +1 @@
6acafbadc569c82412a2370e61d8de619255b25a
d6364d7b9c574790642c273d87ee2e8e46664aab
Loading…
Cancel
Save