A robot can be known to be stationary, and its accelerometer can report an exact gravity-related vector, without revealing which horizontal direction it faces. Removing linear acceleration and measurement noise does not resolve this remaining ambiguity.

The reason is geometric. Gravity supplies a direction, and rotating the entire sensor orientation around that direction leaves the gravity observation unchanged. Heading needs information that distinguishes those otherwise equivalent orientations.

This article assumes a known stationary state throughout each observation. It does not revisit the separate problem of confusing tilt with unknown translational acceleration. The examples are original idealized calculations, not measurements of a robot or a commercial IMU.

State the measurement convention

Let world z point upward. Let R be a right-handed rotation matrix mapping sensor-coordinate vectors into world coordinates. A sensor vector v_b therefore has world representation R v_b.

Use specific force with the sign convention that a stationary, level accelerometer reports positive g on its upward z axis. Set g = 9.81 m/s² and let u = (0, 0, 1) be the world upward unit vector.

Ignoring bias, noise, Earth's rotation, and all nongravitational acceleration, the stationary sensor observation is:

f_b = g R transpose u.

The transpose expresses the fixed world upward vector along sensor axes. The same physical convention gives a downward gravitational acceleration vector in the world; the positive stationary specific force used here is its opposite.

VectorNav's AHRS primer explains that the gravity-alone assumption supports accelerometer-based pitch and roll estimation. ROS REP 145 describes a world frame whose yaw can be arbitrary when an absolute yaw reference is absent. REP 145's opened source is an informational draft, rather than a universal device specification.

A level example already proves nonuniqueness

First choose R = I, the identity rotation. Sensor x points along world x, and the observation is:

f_b = (0, 0, 9.81) m/s².

Now turn the sensor orientation 90 degrees counterclockwise about world z. Sensor x points along world y. The observation remains exactly:

f_b = (0, 0, 9.81) m/s².

The two sensor headings differ by 90 degrees. Their complete three-axis gravity observations are identical. Reading more decimal places cannot distinguish them.

This is not a problem caused by failing to use the x and y channels. They have been included; they are zero in both level states. Nor does a magnitude of exactly g provide another independent heading constraint, because that magnitude is unchanged by rotation.

The ambiguity remains when the sensor tilts

Consider R = R_y(30 degrees), a positive right-handed rotation about world y. The sensor x axis points partly downward, with world direction approximately:

(0.866025, 0, −0.5).

Expressing upward in that sensor frame gives:

f_b = (−4.905, 0, 8.495709) m/s².

Now apply a further 90-degree rotation about world z to the entire tilted orientation. Its matrix is R_new = R_z(90 degrees) R_y(30 degrees). The sensor x axis now has world direction approximately:

(0, 0.866025, −0.5).

Its horizontal projection has turned from world x to world y. Yet its gravity observation remains (−4.905, 0, 8.495709) m/s².

The sensor is tilted in both cases. A nonzero horizontal accelerometer component therefore does not remove the yaw ambiguity. It specifies something about the upward direction relative to the body, while leaving a family of horizontal orientations unresolved.

Why the rotation order matters

For any angle psi, define R_new = R_z(psi) R. Then:

R_new transpose u = R transpose R_z(psi) transpose u.

A rotation about world z leaves u unchanged. Consequently, R_new transpose u = R transpose u for every psi.

This is a direct invariance proof, not just a coincidence between two selected angles. Every orientation in that world-vertical rotation family predicts the same observation under the model.

The multiplication is deliberately on the left. Rotating about a tilted sensor's own z axis is generally a different physical change and can change the gravity components. Describing both operations merely as “turning around z” would hide the reference-axis distinction.

The term yaw here refers to changing horizontal heading through rotation about world vertical. Near singularities of a chosen Euler-angle representation, individual angle labels need additional care; the matrix invariance itself remains valid.

Repeated stationary observations do not add the missing direction

Suppose the sensor supplies one thousand identical, noiseless stationary gravity observations. Every orientation in the family still predicts every observation equally well.

With noise, averaging can improve the estimate of the observed direction. It cannot create sensitivity to the rotation that the measurement model leaves invisible. A precise direction estimate and a fully determined three-dimensional orientation are different results.

Similarly, an estimator can report a numerical yaw even when this observation alone does not determine it. That number can reflect initialization, a prior, or another measurement. It should not be interpreted as newly measured absolute heading merely because it appears beside gravity-aligned pitch and roll.

Relative motion and an external reference are different additions

Angular-rate information can constrain changes in orientation over time. That does not make an unknown initial absolute heading emerge from the stationary gravity vector alone.

The scope is important: this is a statement about the gravity observation, not a claim that no stationary instrument can determine heading by any method. Earth-rate gyrocompassing, external position geometry, magnetic observations, or other information pose different measurement problems.

In an ideal geometric model, adding a known second world direction that is not parallel to gravity can distinguish rotation about gravity. A second direction parallel to gravity would repeat the same constraint and leave the ambiguity intact.

Actual additional sensors have their own disturbances and estimation conditions. Their existence does not establish a performance bound for an unspecified fusion system.

Interpret the heading field through its reference

For a robot data record, a heading estimate is meaningful with its frame, reference, initialization, and supporting observations. Gravity alignment explains vertical orientation under the stated stationary model. It does not itself establish north, a map's horizontal axis, or another absolute horizontal direction.

The original tilted construction shows the boundary clearly: substantially different headings can produce exactly the same full gravity vector. The missing information is directional, rather than a shortage of samples or numerical precision.

Sources checked October 23, 2026

VectorNav, Inertial Navigation Primer, Section 1.6 AHRS, web edition as accessed; no revision date inferred:

https://www.vectornav.com/resources/inertial-navigation-primer/theory-of-operation/theory-ahrs

ROS REP 145, Conventions for IMU Sensor Drivers, repository source marked Draft, Informational, created February 2, 2015; master-branch edition as accessed:

https://raw.githubusercontent.com/ros-infrastructure/rep/master/rep-0145.rst

All rotations and numbers are original hypothetical analysis. No IMU, estimator, or robot was tested.

Illustration note: An accompanying generic robot or sensor-monitoring scene is a concept illustration. It does not identify an actual IMU, depict measured heading error, or demonstrate navigation performance.