|
nros platform-cffi
Canonical C ABI for porting the nros platform abstraction
|
#include <platform.h>
Data Fields | |
| uint8_t | source |
| uint32_t | steps |
| bool | synced |
What the wall-clock stamps mean right now.
| uint8_t nros_wall_clock_state_t::source |
The source answering, or that will answer once it syncs: one of NROS_WALL_CLOCK_SOURCE_*.
| uint32_t nros_wall_clock_state_t::steps |
How many times the answering source has CHANGED since boot. 0 for an image whose stamps all come from one clock.
| bool nros_wall_clock_state_t::synced |
true: nros_platform_time_now_ns answers real UNIX time. false: it answers 0, and every header.stamp is ROS's "unset" time.