Skip to main content

Crate spatialrust_sync

Crate spatialrust_sync 

Source
Expand description

Sensor time domains, frame graphs, and deterministic multimodal replay.

Enable the mcap feature for file-backed episode codecs (sync-mcap on the facade). Default builds keep in-memory episode contracts only.

Structs§

ClockId
Named clock source (host, sensor board, ROS time, …).
DeterministicReplayer
Replays an episode as a sorted stream of stamped records.
EpisodeIndex
Ordered episode index keyed by timestamp then topic.
FrameEdge
One directed edge: child_T_parent transform.
FrameGraph
Directed calibrated frame graph.
MemoryEpisode
In-memory multimodal episode used as the default MCAP substitute.
StampedRecord
A spatial record tagged with topic and clocked time.
StampedTime
Timestamp anchored to an explicit clock domain and sync quality.
SyncQuality
Quality of time synchronization relative to a reference clock.
SyncWindow
Inclusive time-window options for approximate sync.
TopicId
Logical multimodal topic / channel name.

Enums§

ClockDomain
Semantic class of a clock domain.
SyncError
Failures in time sync, frame graphs, and replay.

Functions§

read_memory_episode_mcap
Reads stamped XYZ records from an MCAP file into a MemoryEpisode.
write_memory_episode_mcap
Writes a MemoryEpisode of XYZ records into an MCAP file.

Type Aliases§

SyncResult
Result type for sync crate operations.