Every 90 minutes in the US, a train impacts either a vehicle or a pedestrian. I don't think any amount of warning devices will fix stupidity and hubris. I am a trained Operation Lifesaver volunteer. Though Covid has prevented in person presentations in schools and the like, I am hoping to be able to make perhaps a minor dent in these statistics in the future.
One of the most common causes is impatience on a two track grade crossing where the driver goes as soon as one train passes and gets creamed by the train entering the crossing on the other track.
Paul