Barometric altimeters use the pressure-induced expansion or compression of aneroid wafers to accurately indicate the current altitude based on the local static pressure, while radio altimeters bounce waves off the terrain below the aircraft and analyze the returns to determine the height.