From 7a4d4833b5671b05c253b71b867f1fc9091845bc Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 1 Feb 2024 11:35:58 +0100 Subject: [PATCH] add todo --- selfdrive/car/toyota/carcontroller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index b6edda498a38bf..233575b46c7803 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -90,6 +90,7 @@ def update(self, CC, CS, now_nanos): self.secoc_lka_message_counter = 0 self.secoc_lta_message_counter = 0 self.secoc_prev_reset_counter = CS.secoc_synchronization['RESET_CNT'] + # TODO: verify MAC for synch message to verify key # toyota can trace shows STEERING_LKA at 42Hz, with counter adding alternatively 1 and 2; # sending it at 100Hz seem to allow a higher rate limit, as the rate limit seems imposed