Patent attributes
A distance measuring device according to an embodiment includes a weight value generator, a cumulative signal generator, and a distance measurer. The weight value generator generates, on the basis of similarity between a first digital signal obtained by digitizing reflected light of laser light irradiated in a first irradiation direction and a second digital signal obtained by digitizing reflected light of laser light irradiated in a second irradiation direction different from the first irradiation direction, a weight value of the second digital signal. The cumulative signal generator accumulates, on the first digital signal, a signal obtained by weighting the second digital signal with the weight value and generates a third digital signal. The distance measurer measures a distance to a target object on the basis of a time difference between irradiation timing of the laser light and timing of a peak position in the third digital signal.