Two robot devices can show the same time at one instant and disagree later. Setting their readings equal removes an offset at that instant. It does not establish that their clocks subsequently advance at the same rate.

This distinction matters when comparing acquisition timestamps across a long recording. A correction that explains the beginning of a log can leave a growing mismatch toward its end. The mismatch can arise without any change in the physical separation between the recorded events.

The following clock equations and numerical records are hypothetical analytical examples. They do not represent measurements of oscillators, a tested synchronization service, or configuration instructions for a robot.

Separate the reading from its rate

Let t denote elapsed time on an ideal reference, measured in seconds. Define an illustrative device clock by:

C(t) = b + (1 + epsilon)t.

Here b is its initial offset in seconds. Epsilon is its fractional rate error, measured in seconds gained per reference second. Subtracting the reference gives the time error:

E(t) = C(t) − t = b + epsilon t.

The intercept and slope describe different properties. Changing b shifts the error line vertically. Changing epsilon changes its slope. A single simultaneous comparison supplies an error value, but cannot determine both an unknown intercept and an unknown slope without more information.

IETF RFC 5905, published in June 2010, distinguishes time offset, frequency offset, and an aging term in its clock model. It defines one part per million as one millionth of a second per second. That terminology provides context; the numbers here are independently chosen.

Twenty ppm is a rate, not twenty microseconds forever

Set b = 0 and epsilon = 20 × 10 to the power −6, or positive 20 ppm. In each reference second, this model gains 20 microseconds.

After 100 seconds, its offset is 0.002 second, or 2 milliseconds. After 3,600 seconds, it is 0.072 second, or 72 milliseconds. The timestamp may display nanoseconds, but display resolution does not remove the accumulated rate error.

Calling this behavior clock drift is common informal language. More precisely, this example has constant frequency error and a linearly changing time offset. The frequency itself is not drifting within the declared model. Keeping that distinction avoids confusing a steady slope with a slope that changes.

Two devices contribute to relative error

Now define clock A with an initial offset of positive 4 milliseconds and a rate error of positive 20 ppm. Define clock B with an initial offset of negative 2 milliseconds and a rate error of negative 10 ppm.

Their difference at the same physical instant is:

C_A(t) − C_B(t) = 0.006 + 30 × 10 to the power −6 × t seconds.

At t = 0, A reads 6 milliseconds ahead of B. At t = 100 seconds, it reads 9 milliseconds ahead. The relative rate error is 30 ppm because one clock gains while the other loses.

Subtracting a constant six-millisecond correction from A's readings would align the invented clocks initially. At 100 seconds, a three-millisecond residual would remain. Correcting the initial intercept alone did not correct their relative slope.

These are same-instant clock comparisons. They do not include message transport, callback scheduling, or differences in which acquisition event a timestamp represents.

An ideal correction interval has an error budget

Consider a separate fictional model. Immediately after each correction, the remaining offset has magnitude at most 50 microseconds. Between corrections, the magnitude of the rate error is bounded by 20 ppm. Assume those bounds truly hold throughout the interval, with no clock steps.

After an elapsed interval T, a conservative error-magnitude bound is:

50 microseconds + 20 microseconds per second × T.

At T = 100 seconds, this is 2,050 microseconds, or 2.05 milliseconds. For an invented one-millisecond budget, the corresponding inequality is:

T ≤ (1,000 − 50)/20 = 47.5 seconds.

This is an algebraic consequence of stipulated bounds. It is not a proposed NTP polling interval, a ROS synchronization setting, or a demonstrated error guarantee. A real correction method needs evidence for its residual error and subsequent rate behavior; communication and estimation errors cannot be omitted just because the arithmetic is convenient.

The bound also shows why reporting only “synchronized at startup” leaves later alignment unresolved. The claim needs an observation interval as well as an initial result.

Changing rate adds curvature

Suppose instead that fractional rate error varies as epsilon(t) = epsilon_0 + kappa t. Integrating that rate error gives:

E(t) = b + epsilon_0 t + one-half kappa t squared.

Choose an original example with b = 0, epsilon_0 = 10 ppm, and kappa = 0.1 ppm per second over a 100-second interval. The constant-rate contribution is 1 millisecond. The changing-rate contribution is another 0.5 millisecond. Total error is 1.5 milliseconds.

At the interval's end, the instantaneous rate error is 20 ppm. Applying that ending value to the whole interval would predict 2 milliseconds, which is different because the rate increased gradually. Applying the starting value throughout would predict only 1 millisecond.

This construction illustrates the difference between a rate and its history. It does not establish that real clock aging or temperature behavior follows this simple law over any particular duration.

Keep the clock domain attached to the model

ROS 2's Clock and Time design document distinguishes SystemTime, SteadyTime, and ROSTime, including an abstract time source. Those domain semantics are separate from the rate-error calculation above.

A deliberately accelerated simulation clock is not automatically a defective physical oscillator. Conversely, a locally steady clock does not, merely by that label, share another machine's epoch or rate calibration. The comparison must identify which readings are being related.

A useful timestamp interpretation therefore preserves an initial relationship, a rate relationship, and the interval over which those relationships are supported. One matching pair of readings establishes alignment at one instant. Lasting alignment requires information about what happens between comparisons.

Sources checked October 23, 2026

IETF RFC 5905, Network Time Protocol Version 4: Protocol and Algorithms Specification, June 2010, Section 4:

https://www.rfc-editor.org/rfc/rfc5905.html

ROS 2, Clock and Time, design-document web edition as accessed; domain definitions, without inferring an installed ROS release:

https://design.ros2.org/articles/clock_and_time.html

All numerical clock histories and error budgets are original hypothetical analysis. No synchronization software or hardware was tested.

Illustration note: An accompanying generic robot monitoring or computer scene is a concept illustration. It does not show measured clock offsets, a validated synchronization installation, or a timing benchmark.