mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
Fix controlsd typo in refactor
old-commit-hash: 516fa29738738b73b863597c4fae49cf688b7154
This commit is contained in:
@@ -192,7 +192,7 @@ class Controls:
|
||||
|
||||
# Handle lane change
|
||||
if self.sm['pathPlan'].laneChangeState == LaneChangeState.preLaneChange:
|
||||
if self.sm['path_plan'].laneChangeDirection == LaneChangeDirection.left:
|
||||
if self.sm['pathPlan'].laneChangeDirection == LaneChangeDirection.left:
|
||||
events.append(create_event('preLaneChangeLeft', [ET.WARNING]))
|
||||
else:
|
||||
events.append(create_event('preLaneChangeRight', [ET.WARNING]))
|
||||
|
||||
Reference in New Issue
Block a user