Skip to content

Commit

Permalink
note this should be refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoung8607 committed Oct 31, 2024
1 parent 4233b60 commit 4b73eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selfdrive/car/car_specific.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def update(self, CS: car.CarState, CS_prev: car.CarState, CC: car.CarControl):
if self.low_speed_alert:
events.add(EventName.belowSteerSpeed)

# TODO: Shouldn't be necessary. Refactor CarSpecificEvents with a simple default case, override only if necessary.
# Default case should cover FCA Giorgio, Subaru, Mazda, maybe Ford. Further simplification possible.
elif self.CP.carName == 'fca_giorgio':
events = self.create_common_events(CS.out, CS_prev)

Expand Down

0 comments on commit 4b73eeb

Please sign in to comment.