fix(hosts): one monotonic millisecond clock

This commit is contained in:
2026-10-19 12:54:28 -07:00
parent 2738de4959
commit 6e2dc6f996
6 changed files with 149 additions and 19 deletions
+5
View File
@@ -175,6 +175,11 @@ impl TinesNode {
/// One bridge tick: consume inbound ROS2 observations, drive the tines
/// exchange, publish live topics, and publish any confidence events.
///
/// `now` is a monotonic millisecond [`Tick`]: milliseconds since the host
/// process started (a single `Instant`-based clock, `0` at startup), never
/// wall-clock time. Pass the same clock's value every call so ages and
/// addressed lifetimes advance in real milliseconds.
///
/// Returns the number of *new* observations stored this round (from
/// [`TinesNodeCore::poll`]).
pub fn poll(&mut self, now: Tick) -> Result<usize, TinesNodeError> {