![]() |
Trax3 3.1.0
trax track library
|
A Sensor can get attached to a Track at a certain position and with an orientation and will trigger when a Location passes by, fulfilling certain filter conditions. It's up to the Sensor, to determine whether to trigger a pulse or not. When triggered, the Sensor will pulse its JackOnTrigger() .
Location, relaying an Event to trigger the Sensor:
While a Location is moved along the tracks, thereby for example representing a train tip, it is fed by an Event, carrying the necesssary information for a specialized Sensor to figure out whether to trigger. If the Sensor triggers, that means it creates a pulse in an associated Jack.