A freight train takes over a mile to stop — which means when engineers see danger on the tracks, it's already too late. That’s why railroad crossings are packed with deceptively complex tech: relays, ...