attempt to fix lead_distance bug

This commit is contained in:
Rick Lan
2020-11-30 21:40:50 +10:00
parent 501f08c879
commit 10d5cbd69b
+1
View File
@@ -183,6 +183,7 @@ class CarState(CarStateBase):
#dp
self.lkMode = True
self.lead_distance = 0.
def update(self, cp, cp_cam, cp_body):
ret = car.CarState.new_message()