parent
9907d3864a
commit
a653eda673
|
@ -104,8 +104,8 @@ class Controls:
|
|||
if REPLAY:
|
||||
# no vipc in replay will make them ignored anyways
|
||||
ignore += ['roadCameraState', 'wideRoadCameraState']
|
||||
# if get_frogpilot_toggles(True).radarless_model:
|
||||
ignore += ['radarState']
|
||||
if get_frogpilot_toggles(True).radarless_model:
|
||||
ignore += ['radarState']
|
||||
########################
|
||||
ignore += ['driverMonitoringState']
|
||||
self.params.put_bool_nonblocking("DmModelInitialized", True)
|
||||
|
@ -359,9 +359,9 @@ class Controls:
|
|||
self.events.add(EventName.cameraFrameRate)
|
||||
if not REPLAY and self.rk.lagging:
|
||||
self.events.add(EventName.controlsdLagging)
|
||||
# if not self.radarless_model:
|
||||
# if len(self.sm['radarState'].radarErrors) or ((not self.rk.lagging or REPLAY) and not self.sm.all_checks(['radarState'])):
|
||||
# self.events.add(EventName.radarFault)
|
||||
if not self.radarless_model:
|
||||
if len(self.sm['radarState'].radarErrors) or ((not self.rk.lagging or REPLAY) and not self.sm.all_checks(['radarState'])):
|
||||
self.events.add(EventName.radarFault)
|
||||
if not self.sm.valid['pandaStates']:
|
||||
self.events.add(EventName.usbError)
|
||||
if CS.canTimeout:
|
||||
|
|
Loading…
Reference in New Issue