You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ This extension is built with godot-rust and targets Godot >=4.3 APIs.
19
19
- Add schemas, channels, attachments, metadata
20
20
- Write full messages or header+payload to known channels
21
21
- Chunking and compression (Zstd and/or LZ4 when enabled at build time)
22
+
- Timestamp offset for aligning engine-relative clocks
22
23
- Reader
23
24
- Direct message streaming without indexes
24
25
- Indexed queries when a Summary is present (time windows, per-channel, counts)
@@ -78,7 +79,7 @@ Notes
78
79
79
80
## Quickstart
80
81
81
-
All timestamps are microseconds (usec) by default. They are using the engine time since startup. However you are free to also use any other time scheme.
82
+
All timestamps are microseconds (usec) by default. They use the engine time since startup, but you can shift the stored values with `MCAPWriter.set_timestamp_offset_usec()` (or `set_timestamp_offset_to_now()`) to align it them differently (or to have the timestamps start at 0). Alternatively, you can not provide a timestamp offset and write absolute timestamps if you prefer.
82
83
83
84
### Write an MCAP file (GDScript)
84
85
@@ -93,6 +94,9 @@ if not w.open("user://out.mcap"):
0 commit comments