Stamps¶
Every message with a header.stamp on the full tier is compared with the clock, whichever plugin checks it. A bad stamp breaks TF lookups and message filters downstream.
A latched topic, or one allowed to go quiet, is only checked for stamps from the future. A stamp more than a day from the clock is flagged live, with a hint about use_sim_time. In a replay it is ignored, because a simulator's bag normally pairs sim stamps with wall-clock receive times.
Codes¶
STAMP-001 · Stamp is zero¶
✗ ERROR The header stamp was never set.
Likely causes: a publisher that doesn't fill in the header.
What to do: fix the publisher to stamp its messages.
STAMP-002 · Stamp ahead of the clock¶
▲ WARN ✗ ERROR The stamp is later than the clock by more than stamp_future_s.
Likely causes: unsynchronized clocks between machines, or Testudo and the stack disagreeing on use_sim_time.
What to do: synchronize the clocks, for example with chrony.
STAMP-003 · Stamp behind the clock¶
▲ WARN ✗ ERROR The stamp is older than the clock by more than stamp_lag_s.
Likely causes: a slow pipeline, a congested network or unsynchronized clocks.
What to do: look for the slow stage. A driver that stamps late by design can have its warn raised.
Settings¶
| Metric | warn |
error |
|---|---|---|
stamp_future_s |
0.1 |
1 |
stamp_lag_s |
0.5 |
5 |
Set these under a declared topic's thresholds:.