Added try/catch block in RobotMap.