Skip to main content

epoch_us_to_stamp

Function epoch_us_to_stamp 

Source
pub const fn epoch_us_to_stamp(us: u64) -> (i32, u32)
Expand description

RFC-0052 W3b.3 — split epoch-µs into the builtin_interfaces/Time field pair (sec, nanosec) for header.stamp population. Types-free (each workspace has its own generated Time); assign the tuple to the struct’s fields.