A Measurement-while-drilling (MWD) tool transmits directional data back to the surface when drilling.