simulation.src.simulation_evaluation.src.state_machine.state_machines.overtaking module¶
OvertakingStateMachine keeps track of overtaking obstacles.
See simulation.src.simulation_evaluation.src.state_machine.states.overtaking for
implementation details of the states used in this StateMachine.
Reference¶
-
class
OvertakingStateMachine(callback: Callable[], None])[source]¶ Bases:
simulation.src.simulation_evaluation.src.state_machine.state_machines.state_machine.StateMachineKeep track of overtaking obstacles.
-
off: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.overtaking.Off object>¶ Default state
-
right: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.overtaking.Right object>¶ The car is inside the the overtaking zone and on the right line
-
left: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.overtaking.Left object>¶ The car is inside the the overtaking zone and on the left line
-