The laser altimeter was designed with the intention of measuring the altitude of the spacecraft above the lunar surface within approximately 2 meters , and providing altitude information to the panoramic and mapping cameras.