An algorithm helps protect Mars Curiosity’s wheels

There are no mechanics on Mars, so the next best thing for NASA’s Curiosity rover is careful driving.