A method and system to detect misalignment of sensors used in train
inspection systems are provided. The method includes receiving inputs
from a train inspection sensor that is coupled to a railroad track,
determining a position of the train inspection sensor using a motion
detector, and identifying the inputs received from the train inspection
sensor as at least one of acceptable or not acceptable based on the
determined position of the train inspection sensor.