My state and city has further complicated things with something called a Hawk Signal. These are put in at crosswalks located in the middle of a long block. They are traditional traffic lights but are tied to the walk buttons for pedestrians. They are dark completely when not in use, when you press the button for the walk light they turn on yellow, then go to solid red when the walk light comes on. So far so good, as red means stop. However after a few seconds the lights go to flashing red, this now means proceed if there are no pedestrians in the crosswalk, but stay stopped if there are pedestrians crossing. This was so confusing that they had to put up signs on the poles to tell motorists what the new rules were.
We have three of these in town now and more are coming. One Assistant Police Chief called it the most confusing system he had seen, because the only other place we have flashing red traffic lights are railroad crossings and school busses and they both mean stop. Here they may or may not mean stop. So while these are not specifically railroad related, I can see them causing confusion at crossings.