Skip to content

Commit

Permalink
Merge pull request commaai#83 from BogGyver/bugfix/merge-fix
Browse files Browse the repository at this point in the history
0.6.3 PCC merge fix
  • Loading branch information
BogGyver committed Aug 15, 2019
2 parents d0d9e36 + 241dd8b commit d5a5499
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion selfdrive/car/tesla/PCC_module.py
Expand Up @@ -615,7 +615,6 @@ def _safe_distance_m(v_ego_ms, CS):
return max(CS.apFollowTimeInS * (v_ego_ms+1), MIN_SAFE_DIST_M)

def _max_safe_speed_kph(lead,CS):
return 150.
if _is_present(lead):
return (CS.v_ego + lead.vRel + (lead.dRel - _safe_distance_m(CS.v_ego,CS))/CS.apFollowTimeInS) * CV.MS_TO_KPH
else:
Expand Down

0 comments on commit d5a5499

Please sign in to comment.