Skip to content

Commit

Permalink
fix typos, Jeep tuning (commaai#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
adhintz authored and rbiasini committed Jan 26, 2019
1 parent b967da5 commit 73c1df7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ In Progress Cars
- Only remaining Toyota cars with no port yet are the Avalon and the Sienna.
- All Hyundai with SmartSense.
- All Kia with SCC and LKAS.
- All Chrysler, Jeep, Fiat with Adaprive Cruise Control and LaneSense.
- All Chrysler, Jeep, Fiat with Adaptive Cruise Control and LaneSense.

How can I add support for my car?
------
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/car/chrysler/chryslercan.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def create_lkas_hud(gear, lkas_active, hud_alert, car_fingerprint):
# LKAS_HUD (678) Controls what lane-keeping icon is displayed.

if hud_alert == VisualAlert.steerRequired:
msg = msg = '0000000300000000'.decode('hex')
msg = '0000000300000000'.decode('hex')
return make_can_msg(0x2a6, msg)

# TODO: use can packer
Expand Down
2 changes: 2 additions & 0 deletions selfdrive/car/chrysler/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def get_params(candidate, fingerprint):

if candidate == CAR.JEEP_CHEROKEE:
ret.wheelbase = 2.91 # in meters
ret.steerRatio = 12.7
ret.steerActuatorDelay = 0.2 # in seconds

ret.centerToFront = ret.wheelbase * 0.44

Expand Down

0 comments on commit 73c1df7

Please sign in to comment.