wip
This commit is contained in:
@@ -65,6 +65,11 @@ class DesireHelper:
|
||||
# Clearpilot test lane change no lat
|
||||
clearpilot_disable_lat_on_lane_change = True
|
||||
|
||||
# Todo, we want to count how many lanes we have moved during this process either left or right.
|
||||
# Then, if blinker left, but we have traveled rightwards, reenable lateral and vice versa.
|
||||
# Also, if we are less than 25% twoards our lane change and we get a blind spot, reenable lateral
|
||||
# with influence back to our lane on wheel.
|
||||
|
||||
v_ego = carstate.vEgo
|
||||
one_blinker = carstate.leftBlinker != carstate.rightBlinker
|
||||
below_lane_change_speed = v_ego < LANE_CHANGE_SPEED_MIN
|
||||
|
||||
Reference in New Issue
Block a user