Our company actually makes a detector to prevent this from happening. Essentially it uses a tripwire to match the acceptable profile for the bridge, tunnel, ect. It is usually at least 5 miles away so the train has time to stop and the crew can find the issue. There is an IR backup system that goes online until the…