A non-transitory storage medium on which is stored a computer program for making a computer function as respective units of a distance measurement system, the distance measurement system comprising:
- a third distance measurement device configured to detect third information for calculating third distance information;
- a fourth distance measurement device configured to detect fourth information for calculating fourth distance information including distance information corresponding to the third distance information and having a temperature dependence lower than a temperature dependence of the third distance measurement device;
- and
- a correction unit configured to correct the third information or the third distance information on the basis of the fourth distance information.