Obstacle Avoidance and Safeguarding for a Lunar Rover