Merge remote-tracking branch 'openpilot/master' into nov-19-sync

This commit is contained in:
discountchubbs
2025-11-21 11:56:37 -08:00
parent 08e34dc293
commit df8b02b4bf
2 changed files with 6 additions and 3 deletions
@@ -83,8 +83,8 @@ class ModelsLayout(Widget):
def _update_lane_turn_step(self):
new_step = int(round(100 / CV.MPH_TO_KPH)) if self._params.get_bool("IsMetric") else 100
if self.lane_turn_value_control.action_item.option_control.value_change_step != new_step:
self.lane_turn_value_control.action_item.option_control.value_change_step = new_step
if self.lane_turn_value_control.action_item.value_change_step != new_step:
self.lane_turn_value_control.action_item.value_change_step = new_step
def _update_lagd_description(self):
desc = tr("Enable this for the car to learn and adapt its steering response time. Disable to use a fixed steering response time. " +
@@ -68,7 +68,10 @@ class OptionControlSP(ItemAction):
if self.value_map:
self.params.put(self.param_key, self.value_map[value])
else:
self.params.put(self.param_key, value)
if self.use_float_scaling:
self.params.put(self.param_key, value / 100.0)
else:
self.params.put(self.param_key, value)
if self.on_value_changed:
self.on_value_changed(value)