From 73c1df714d4f4773e421d9f9efca90e816845cbf Mon Sep 17 00:00:00 2001 From: Drew Hintz Date: Fri, 25 Jan 2019 22:41:08 -0800 Subject: [PATCH] fix typos, Jeep tuning (#511) --- README.md | 2 +- selfdrive/car/chrysler/chryslercan.py | 2 +- selfdrive/car/chrysler/interface.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cc1b67ce7..5ef834ef4e 100644 --- a/README.md +++ b/README.md @@ -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? ------ diff --git a/selfdrive/car/chrysler/chryslercan.py b/selfdrive/car/chrysler/chryslercan.py index 9305900100..2057e4dcf5 100644 --- a/selfdrive/car/chrysler/chryslercan.py +++ b/selfdrive/car/chrysler/chryslercan.py @@ -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 diff --git a/selfdrive/car/chrysler/interface.py b/selfdrive/car/chrysler/interface.py index f681a45cbf..d0246dd160 100755 --- a/selfdrive/car/chrysler/interface.py +++ b/selfdrive/car/chrysler/interface.py @@ -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