OpenC3 / COSMOS

RoleOpen-source contributor

WorkTelemetry tooling

Year2026

View source ↗
Timestamp-handling code from the merged OpenC3 COSMOS historical telemetry contribution
Code excerpt from my merged received_time contribution, PR #3720. The formatting is condensed for readability.
Pull request
#3720 · merged
Time format
Unix nanoseconds
Compatibility
Optional parameter

Letting injected telemetry keep its historical receive time.

The change

I added optional historical receive timestamps to inject_tlm through the normal packet path. Existing calls keep the current UTC receive time; explicitly supplied timestamps are converted from nanoseconds since the Unix epoch.

Checks

Regression coverage checks both routing paths, timestamp conversion, Unix epoch zero, and Script Runner forwarding. The contribution was merged on August 19, 2026.