Ships and airplanes use what type of compass?
gyroscopic compass
Because of the trouble encountered by magnetic compasses on moving platforms, many ships and planes instead use gyroscopic compasses. A gyrocompass is a type of non-magnetic compass which is based on a fast-spinning disc and the rotation of the earth(or another planetary body if used elsewhere in the universe) to find geographical direction automatically