The accelerometers detect gravity to define the vertical in ALIGN.