Measurement of Attitude for Ships with Unknown Rolling Axis