simulation.src.simulation_evaluation.src.state_machine.state_machines.progress module

ProgressStateMachine keeps track if the car has started, is driving or has finished the drive.

See simulation.src.simulation_evaluation.src.state_machine.states.progress for implementation details of the states used in this StateMachine.

Summary

Classes:

ProgressStateMachine

Keep track if the car has started, is driving or has finished the drive.

Reference

class ProgressStateMachine(callback: Callable[], None])[source]

Bases: simulation.src.simulation_evaluation.src.state_machine.state_machines.state_machine.StateMachine

Keep track if the car has started, is driving or has finished the drive.

before_start: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.progress.BeforeStart object>

The car stands in front of the start line

running: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.progress.Running object>

The car has started to drive

finished: ActiveState = <simulation.src.simulation_evaluation.src.state_machine.states.progress.Finished object>

The car finished the drive