# Functions
Control is run in a short interval.
ControlRunner performs an arduino loop with controlCycleDuration.
EmergencyStop2Arduino stops all tracks.
PrintAll is just a function to print status of all values.
SetActualSpeed sets the speed.
SetAuto Menufunction for named funtion (selection of described mode).
SetBrake set flag to brake.
SetDirection sets the direction.
SetMaxRoundsInt Menufunction for named funtion (selection of described mode).
SetMinRoundsInt Menufunction for named funtion (selection of described mode).
SetSimpleMode Menufunction for named funtion (selection of described mode).
SetSpeed sets the speed.
SetTrack sets the track.
SwitchDoCircle Menufunction for named funtion (selection of described mode).
SwitchLightTunnel will turn on the service light in tunnel and back of station wall (lower level).
SwitchRandomDirection Menufunction for named funtion (selection of described mode).
SwitchRandomRounds Menufunction for named funtion (selection of described mode).
SwitchRandomTrack Menufunction for named funtion (selection of described mode).
SwitchRoundRobin Menufunction for named funtion (selection of described mode).
TimeReset reset SensorTime to init values.
# Variables
EmptyBlock valid for specific scenario.
EmptyDistances valid for specific scenario.
EmptySensors valid for specific scenario.
SensorTimes valid for specific scenario.