wip
This commit is contained in:
@@ -343,11 +343,11 @@ class Controls:
|
||||
# self.events.add(EventName.laneChange)
|
||||
|
||||
# Handle turning
|
||||
# if not CS.standstill:
|
||||
# if self.sm['lateralPlan'].desire == Desire.turnLeft:
|
||||
# self.events.add(FrogPilotEventName.turningLeft)
|
||||
# elif self.sm['lateralPlan'].desire == Desire.turnRight:
|
||||
# self.events.add(FrogPilotEventName.turningRight)
|
||||
if not CS.standstill:
|
||||
if self.sm['lateralPlan'].desire == Desire.turnLeft:
|
||||
self.events.add(FrogPilotEventName.turningLeft)
|
||||
elif self.sm['lateralPlan'].desire == Desire.turnRight:
|
||||
self.events.add(FrogPilotEventName.turningRight)
|
||||
|
||||
for i, pandaState in enumerate(self.sm['pandaStates']):
|
||||
# All pandas must match the list of safetyConfigs, and if outside this list, must be silent or noOutput
|
||||
|
||||
Reference in New Issue
Block a user