A new development by Rostec will help locomotives avoid collisions with obstacles