Class SpeedProfilePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ThrottleListener

Set up and run automated speed table calibration.

Uses three sensors in a row (see diagram in window help):

  • Start sensor: Track where locomotive starts
  • Block sensor: Middle track. This time through this is used to measure the speed.
  • Finish sensor: Track where locomotive stops before repeating.
The expected sequence is:
  • Start moving with Start sensor on, others off.
  • Block (middle) sensor goes active: startListener calls startTiming
  • Finish sensor goes active: finishListener calls stopCurrentSpeedStep
  • Block (middle) sensor goes inactive: startListener calls stopLoco, which stops loco after 2.5 seconds
After a forward run, the Start and Finish sensors are swapped for a run in reverse.