_Control
Module Contents
Classes
- class _Control.Control
Bases:
trasmapy._SimUpdatable.SimUpdatable
- property trafficlights: list[trasmapy.control._TrafficLight.TrafficLight]
- property tolls: list[trasmapy.control.Toll.Toll]
- getTrafficLight(id: str) trasmapy.control._TrafficLight.TrafficLight
- registerToll(toll: trasmapy.control.Toll.Toll) None
- getToll(id: str) trasmapy.control.Toll.Toll
Returns the registered Toll with the given ID or raises KeyError if none is found.
- _doSimulationStep(*args, step: int, time: float) None