desire helper: fix text flicker when changing direction (#28720)

* draft

* or this works

* or simply this
pull/28709/head
Shane Smiskol 2 years ago committed by GitHub
parent abf72fd50f
commit e8007950ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/controls/lib/desire_helper.py

@ -69,6 +69,7 @@ class DesireHelper:
if not one_blinker or below_lane_change_speed:
self.lane_change_state = LaneChangeState.off
self.lane_change_direction = LaneChangeDirection.none
elif torque_applied and not blindspot_detected:
self.lane_change_state = LaneChangeState.laneChangeStarting

Loading…
Cancel
Save