nros platform-cffi
Canonical C ABI for porting the nros platform abstraction
Loading...
Searching...
No Matches
nros_wall_clock_state_t Struct Reference

#include <platform.h>

Data Fields

uint8_t source
uint32_t steps
bool synced

Detailed Description

What the wall-clock stamps mean right now.

Field Documentation

◆ source

uint8_t nros_wall_clock_state_t::source

The source answering, or that will answer once it syncs: one of NROS_WALL_CLOCK_SOURCE_*.

◆ steps

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.

◆ synced

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.


The documentation for this struct was generated from the following file: