Operation of signals from the vehicle or by the passage of the vehicle using mechanical interaction between vehicle and track