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():