From 3cf51b0f67f85fabb2f593e3093f231aaae18758 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 May 2024 01:46:24 -0500 Subject: [PATCH] wip --- selfdrive/car/interfaces.py | 2 +- selfdrive/controls/controlsd.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/interfaces.py b/selfdrive/car/interfaces.py index ec80622..a46bf44 100755 --- a/selfdrive/car/interfaces.py +++ b/selfdrive/car/interfaces.py @@ -244,7 +244,7 @@ class CarInterfaceBase(ABC): def check_comma_nn_ff_support(self, car): try: - with open("../car/torque_data/neural_ff_weights.json", "r") as file: + with open("/data/openpilot/selfdrive/car/torque_data/neural_ff_weights.json", "r") as file: data = json.load(file) return car in data diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 09345f8..e7a5f4b 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -1240,6 +1240,7 @@ class Controls: # CC.cruiseControl.resume = True CC.cruiseControl.cancel = True # CC.actuators.speed + print ("Alive") return CC def main():