unnecessary

This commit is contained in:
Jason Wen
2025-03-24 20:39:47 -04:00
parent 7ab994a71d
commit 93d135b54a

View File

@@ -1,10 +1,7 @@
from cereal import log
from openpilot.common.realtime import DT_MDL
from openpilot.selfdrive.controls.lib.desire_helper import DesireHelper, LaneChangeState, LaneChangeDirection
from openpilot.sunnypilot.selfdrive.controls.lib.auto_lane_change import (
AutoLaneChangeController, AutoLaneChangeState, AUTO_LANE_CHANGE_TIMER, TIMER_DISABLED
)
from openpilot.sunnypilot.selfdrive.controls.lib.auto_lane_change import AutoLaneChangeController, AutoLaneChangeState, \
AUTO_LANE_CHANGE_TIMER, TIMER_DISABLED
class TestAutoLaneChangeController:
@@ -18,10 +15,6 @@ class TestAutoLaneChangeController:
self.alc.lane_change_wait_timer = 2.0
self.alc.prev_brake_pressed = True
# Set the DesireHelper to trigger a reset
self.DH.lane_change_state = LaneChangeState.off
self.DH.lane_change_direction = LaneChangeDirection.none
# Call reset
self.alc.reset()