A distance measuring device comprising a distance calculating unit configured to calculate a distance to a target, the distance measuring device being configured to receive, from a wave reception module including a first wave receiver and a second wave receiver, a result of wave reception by the first wave receiver and a result of wave reception by the second wave receiver, both of the first wave receiver and the second wave receiver being configured to receive the measuring wave that has been transmitted from a wave transmission module and reflected from the target,
- a first wave reception period in which the first wave receiver receives the measuring wave and a second wave reception period in which the second wave receiver receives the measuring wave overlapping with each other on a time axis, a time lag being provided between a beginning time of the first wave reception period and a beginning time of the second wave reception period, the time lag being shorter than either the first wave reception period or the second wave reception period,
- the distance calculating unit is configured to calculate the distance to the target based on:
- at least one of a post-start-of-wave-reception period or a pre-start-of-wave-reception period, the post-start-of-wave-reception period being either the first wave reception period or the second wave reception period in which the measuring wave has been received for the first time, the pre-start-of-wave-reception period being a wave reception period that has begun at a beginning time earlier by one unit than a beginning time of the post-start-of-wave-reception period;
- at least one of a post-end-of-wave-reception period or a pre-end-of-wave-reception period, the post-end-of-wave-reception period being either the first wave reception period or the second wave reception period that has begun for the first time at a beginning time later than a wave reception period in which the measuring wave has been received, the pre-end-of-wave-reception period being a wave reception period that has begun at a beginning time earlier by one unit than a beginning time of the post-end-of-wave-reception period;
- or
- a series of wave reception periods from the post-start-of-wave-reception period through the pre-end-of-wave-reception period.