Two sensor messages reach a robot application together. Their header timestamps differ by only a few milliseconds. That can support a statement about the timestamps within that pair, but it does not establish that either observation is recent when the application uses it.
Synchronization and freshness are different time comparisons. The first compares messages with one another. The second compares a message's relevant acquisition time with a later application event, under compatible clock assumptions.
The ROS 2 message_filters documentation describes ApproximateTime as an adaptive policy that matches messages using timestamps. The opened rolling C++ source also exposes a maximum interval duration and tests candidate timestamp intervals. These are scoped source observations, not a guarantee that a particular tuple will be emitted by an unspecified configuration or version.
Write down the three event types
For an original example, let sA and sB be the header timestamps of messages A and B. Assume, initially, that both timestamps represent acquisition instants on the same ideal clock.
Let aA and aB be their application arrival times. Let c be a later callback time at which both records are available. These are three different kinds of events: acquisition, arrival, and use in the callback.
Define the pair's timestamp span as abs(sB − sA). Define the ages at callback as c − sA and c − sB. Arrival delays, under these ideal assumptions, are aA − sA and aB − sB.
The span does not contain c. Delaying both messages can leave the span unchanged while increasing both ages. That algebra alone is enough to distinguish the quantities before considering any buffering algorithm.
A close pair can already be old
Choose header timestamps sA = 10.000 seconds and sB = 10.006 seconds. Their span is 0.006 seconds, or 6 milliseconds.
Suppose A arrives at 10.020 seconds and B arrives at 10.075 seconds. Their arrival delays are 20 and 69 milliseconds. If a callback uses them at 10.080 seconds, their ages are 80 and 74 milliseconds.
The pair remains six milliseconds apart in acquisition time even though its two arrival delays differ by 49 milliseconds. Comparing arrival times instead would give 55 milliseconds, a different measurement.
Now consider a separate hypothetical use of records with those same acquisition stamps at 11.000 seconds. Their span remains six milliseconds, but their ages are 1,000 and 994 milliseconds. This is not a claim that ApproximateTime holds this pair for one second; it is a counterexample to deriving freshness from span alone.
A span condition does not uniquely select a tuple
Invent two timestamp sequences, in seconds:
A: 20.000, 20.020.
B: 20.007, 20.014.
Under an independently defined test that accepts a pair whenever its span is at most ten milliseconds, A's first record can pair with B's first record at a seven-millisecond span. A's second can pair with B's second at six milliseconds.
The other two cross-pair spans are 14 and 13 milliseconds, so they fail that test. This enumeration describes only the declared test. It is not a trace of the adaptive policy, which also has queues, arrival order, candidate comparisons, and configuration conditions.
Even when several possible tuples meet a timestamp condition, a consumer cannot infer which was selected without the policy behavior and record identities. Reporting just the tolerance leaves that part of the data history unspecified.
More than two streams need a complete interval
For a hypothetical three-message tuple, use stamps 30.000, 30.009, and 30.018 seconds. Each neighboring pair in that sorted sequence differs by nine milliseconds.
The complete tuple spans 18 milliseconds, from its earliest to latest stamp. Requiring every adjacent gap to be at most ten milliseconds is therefore weaker than requiring the full tuple span to be at most ten milliseconds.
In general, max(stamps) minus min(stamps) gives that complete interval. The opened C++ ApproximateTime source identifies candidate start and end times and compares their difference with its maximum interval setting. An adjacent-gap chain should not be substituted for that interval interpretation.
The cited setter's duration is a timestamp-interval quantity. It should not be silently described as a maximum callback latency or a guarantee that every source continues producing messages.
Clock offsets can change apparent alignment
Remove the initial shared-clock assumption. Suppose A's timestamp is 40.000 seconds and B's is 40.006 seconds, but B's acquisition clock reads five milliseconds ahead of the common reference while A's has zero offset.
The corresponding acquisition instants would then be 40.000 and 40.001 seconds, only one millisecond apart. Conversely, if B's clock reads five milliseconds behind the reference, its 40.006 stamp represents 40.011 in reference time, an eleven-millisecond separation.
The same six-millisecond header difference can therefore describe different physical acquisition separations under different clock offsets. Extra timestamp digits do not establish those offsets. Clock drift can make the relationship change over time rather than remain a single constant correction.
Subtracting callback time from an acquisition stamp has the same requirement: their clocks must support the intended comparison. A negative apparent age can signal incompatible timing assumptions rather than an observation acquired in the future.
Timestamp meaning matters even with aligned clocks
A camera stamp might refer to an exposure-related event, while another sensor record represents a sample instant or an interval. The header field alone does not establish that meaning for every driver.
A five-millisecond difference between an exposure start and an interval end does not automatically equal five milliseconds between the physical quantities a fusion algorithm needs. Changing the stamp to message arrival time creates another meaning; it does not independently recover acquisition timing.
This is particularly relevant when a record already combines several measurements. Assigning one timestamp to that record need not make all its constituent measurements simultaneous. The synchronization account should identify what event the selected timestamp represents.
Retain alignment and freshness separately
A useful synchronized-data record can retain the participating message identities and acquisition stamps, the observed span, and the callback or consumption event. Under justified clock and event semantics, those permit separate alignment and age calculations.
No numerical tolerance or deadline is prescribed here. The examples establish a narrower result: comparing messages with one another and comparing them with the present are different operations. A small tuple span can be valid evidence of timestamp proximity while leaving freshness and physical simultaneity unresolved.
Sources checked October 23, 2026: ROS 2 message_filters rolling documentation source, Section 6.4: https://github.com/ros2/message_filters/blob/rolling/doc/index.rst
ROS 2 message_filters rolling C++ ApproximateTime source: https://github.com/ros2/message_filters/blob/rolling/include/message_filters/sync_policies/approximate_time.hpp
Illustration note: The site-library concept image shows a robot beside a laptop in a workflow scene. It does not show a ROS 2 deployment, the invented timestamps, or measured synchronization performance.