fix typos, Jeep tuning (#511)

This commit is contained in:
Drew Hintz
2019-01-25 22:41:08 -08:00
committed by rbiasini
parent f2cd3a85a5
commit 26a61ecc61
3 changed files with 4 additions and 2 deletions

View File

@@ -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?
------

View File

@@ -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

View File

@@ -81,6 +81,8 @@ class CarInterface(object):
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