mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +08:00
attempt to fix lead_distance bug
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user