mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-30 14:53:53 +08:00
no car state speed yet
This commit is contained in:
@@ -51,7 +51,8 @@ class SpeedLimitResolver:
|
||||
return
|
||||
|
||||
self._reset_limit_sources(Source.car_state)
|
||||
self._limit_solutions[Source.car_state] = self._sm['carState'].cruiseState.speedLimit
|
||||
# TODO-SP: need CS_SP for speedLimit from the car
|
||||
self._limit_solutions[Source.car_state] = 0. # self._sm['carState'].cruiseState.speedLimit
|
||||
self._distance_solutions[Source.car_state] = 0.
|
||||
|
||||
def _get_from_map_data(self):
|
||||
|
||||
Reference in New Issue
Block a user