For automatic exploration of specific areas with high scientific value on the moon and other planets, high-precision obstacle detection and hazard avoidance capabilities are required. Three-dimensional (3D) LiDAR can obtain a high-resolution 3D point cloud, offering significant advantages in landing obstacle avoidance. During the landing of the Chang’e lander, a laser 3D imaging sensor (L3DIS) is used to measure and generate accurate topographic maps of the candidate landing area in real-time to help find a safe landing zone. The L3DIS employs 16 beamlets split from a Gaussian laser beam and 16 channels of linear-array avalanche photodiodes within the same optical path and scans the object with a two-axis galvanometer in a field of view of 29°×33°. The calibration of the systematic errors and the performance of obstacle detection on this sensor are conducted in this paper. First, the instrument components and main error sources of the sensor are introduced, and the systematic errors are calibrated based on planar targets, indicating that the sensor’s accuracy is greater than 4 cm, and the corresponding obstacle detection accuracy is better than 12 cm. Second, the ground validation of obstacle detection is demonstrated, and the obtained point cloud is compared with that obtained by a terrestrial laser scanner, indicating that the sensor has good performance. Finally, the performance of onboard measurement and obstacle detection is analyzed, showing that the sensor can identify obvious craters and rocks, i.e., nine major craters with a maximum and minimum depth of 1.36 m and 0.16 m, respectively, and major rocks with a maximum and minimum height of 0.1 m and 0.05 m, respectively, and main landing area with slop less than 10° except for the edges of craters and rocks.