diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 6c5151f..01214f7 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -538,16 +538,8 @@ class Controls: if self.cruise_mismatch_counter > int(6. / DT_CTRL): self.events.add(EventName.cruiseMismatch) - # Check for FCW - stock_long_is_braking = self.enabled and not self.CP.openpilotLongitudinalControl and CS.aEgo < -1.25 - model_fcw = self.sm['modelV2'].meta.hardBrakePredicted and not CS.brakePressed and not stock_long_is_braking - planner_fcw = self.sm['longitudinalPlan'].fcw and self.enabled - if planner_fcw or model_fcw: - self.events.add(EventName.fcw) - # self.fcw_random_event_triggered = True - # elif self.fcw_random_event_triggered and self.random_events: - # self.events.add(EventName.yourFrogTriedToKillMe) - # self.fcw_random_event_triggered = False + # CLEARPILOT: FCW disabled — car's own radar AEB works better and triggers reliably. + # The comma FCW was producing false positives and adds nothing over the stock system. for m in messaging.drain_sock(self.log_sock, wait_for_one=False): try: