From c9cefb2fbc78a0e1faf6d8710704c4f193c682b2 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 17 Apr 2020 11:42:30 -0700 Subject: [PATCH] nissan and hyundai are community --- selfdrive/car/hyundai/interface.py | 3 +++ selfdrive/car/nissan/interface.py | 3 +++ selfdrive/test/process_replay/ref_commit | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index c1ff9221aa..8eaf2a9c12 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -20,6 +20,9 @@ class CarInterface(CarInterfaceBase): ret.safetyModel = car.CarParams.SafetyModel.hyundai ret.radarOffCan = True + # Hyundai port is a community feature for now + ret.communityFeature = True + ret.steerActuatorDelay = 0.1 # Default delay ret.steerRateCost = 0.5 ret.steerLimitTimer = 0.4 diff --git a/selfdrive/car/nissan/interface.py b/selfdrive/car/nissan/interface.py index 8fc948c38c..8ff5a901e5 100644 --- a/selfdrive/car/nissan/interface.py +++ b/selfdrive/car/nissan/interface.py @@ -22,6 +22,9 @@ class CarInterface(CarInterfaceBase): ret.carName = "nissan" ret.safetyModel = car.CarParams.SafetyModel.nissan + # Nissan port is a community feature, since we don't own one to test + ret.communityFeature = True + ret.steerLimitAlert = False ret.enableCamera = True ret.steerRateCost = 0.5 diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index fb8118eea1..9ddc64f2c6 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -9638f1d5495e92b2d633a193f00a65f8268b170c \ No newline at end of file +d39595cf10a7813e55139320daa252278dd7567d \ No newline at end of file