Update speed_limit_controller.py
This commit is contained in:
parent
8c6b826ada
commit
25106aee7c
|
@ -22,7 +22,7 @@ class SpeedLimitController:
|
|||
def update(self, dashboard_speed_limit, enabled, navigation_speed_limit, v_cruise, v_ego, frogpilot_toggles):
|
||||
map_speed_limit = self.get_map_speed_limit(v_ego, frogpilot_toggles)
|
||||
##############################
|
||||
# max_speed_limit = v_cruise if enabled else 0
|
||||
max_speed_limit = v_cruise if enabled else 0
|
||||
##############################
|
||||
|
||||
self.speed_limit = self.get_speed_limit(dashboard_speed_limit, map_speed_limit, max_speed_limit, navigation_speed_limit, frogpilot_toggles)
|
||||
|
|
Loading…
Reference in New Issue