Do you mean on the tracks?
There are hard limitations on sensing onboard the train. Tracks that bend around hills, etc. I have some exposure to wireless communication for trains, and one of the limitations is that you can often not get a line of site even from one end of the train to another.