Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
csouers committed Oct 2, 2024
1 parent e2e507f commit dd07050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendbc/car/honda/hondacan.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_lkas_cmd_bus(CAN, car_fingerprint, radar_disabled=False):

def get_cruise_speed_conversion(car_fingerprint: str, is_metric: bool) -> float:
# on certain cars, CRUISE_SPEED changes to imperial with car's unit setting
# Todo: finish the unit setting research for honda, and figure out the odyssey bosch too
# Todo: verify this works for all odyssey bosch
return CV.MPH_TO_MS if car_fingerprint in (HONDA_BOSCH_RADARLESS | {CAR.HONDA_ODYSSEY_BOSCH}) and not is_metric else CV.KPH_TO_MS


Expand Down

0 comments on commit dd07050

Please sign in to comment.