Skip to content

Commit

Permalink
Hyundai Longitudinal: Match stock timestep for ESCC and Camera-based …
Browse files Browse the repository at this point in the history
…SCC (commaai#407)

Hyundai ESCC: Match stock timestep
  • Loading branch information
sunnyhaibin authored Aug 12, 2024
1 parent 6f3e44f commit 117ad3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/car/hyundai/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def _get_params(ret, candidate, fingerprint, car_fw, experimental_long, docs):

if DBC[ret.carFingerprint]["radar"] is None:
if ret.spFlags & (HyundaiFlagsSP.SP_ENHANCED_SCC | HyundaiFlagsSP.SP_CAMERA_SCC_LEAD):
ret.radarTimeStep = 0.02
ret.radarUnavailable = False

# *** feature detection ***
Expand Down

0 comments on commit 117ad3b

Please sign in to comment.