The astronomical unit is the mean (average) distance of the Earth from the Sun. This we know quite accurately. Kepler's Laws tell the ratios of the distances of planets, and radar tells the absolute distance to inner planets and artificial satellites in orbit around them.