Fix calibration invalid alert on startup (#2270)

* change controlsd calibration initial value

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3f88df62c7
commatwo_master
Willem Melching 5 years ago committed by GitHub
parent 69946508db
commit 416bc987f5
  1. 2
      selfdrive/controls/controlsd.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -124,7 +124,7 @@ class Controls:
self.events_prev = [] self.events_prev = []
self.current_alert_types = [ET.PERMANENT] 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['thermal'].freeSpace = 1.
self.sm['dMonitoringState'].events = [] self.sm['dMonitoringState'].events = []
self.sm['dMonitoringState'].awarenessStatus = 1. self.sm['dMonitoringState'].awarenessStatus = 1.

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