Patent attributes
An example method includes causing a light projecting system of a distance sensor to project a pattern of light onto an object. The pattern of light includes a plurality projection artifacts arranged in a grid. Rows and columns of the grid are arranged in a staggered manner. Spacing between the rows and spacing between the columns is set so that a pattern density parameter of the pattern of light increases with a length of a trajectory of the projection artifacts. The pattern density parameter is defined as a ratio between a maximum diameter of the projection artifacts and the length of the trajectory. The method further includes causing a light receiving system of the distance sensor to acquire an image of the pattern of light projected onto the object, and computing a distance from the object to the distance sensor based on locations of the projection artifacts in the image.