point_one::fusion_engine::messages::Timestamp Struct Reference

Generic timestamp representation. More...

#include <point_one/fusion_engine/messages/defs.h>

Public Attributes

uint32_t fraction_ns = INVALID
 The fractional part of the second, expressed in nanoseconds. More...
 
uint32_t seconds = INVALID
 The number of full seconds since the epoch. More...
 

Static Public Attributes

static constexpr uint32_t INVALID = 0xFFFFFFFF
 

Detailed Description

Generic timestamp representation.

This structure may be used to store Point One system time values (referenced to the start of the device), UNIX times (referenced to January 1, 1970), or GPS times (referenced to January 6, 1980).

Definition at line 426 of file defs.h.

Member Data Documentation

◆ fraction_ns

uint32_t point_one::fusion_engine::messages::Timestamp::fraction_ns = INVALID

The fractional part of the second, expressed in nanoseconds.

Definition at line 436 of file defs.h.

◆ INVALID

constexpr uint32_t point_one::fusion_engine::messages::Timestamp::INVALID = 0xFFFFFFFF
staticconstexpr

Definition at line 427 of file defs.h.

◆ seconds

uint32_t point_one::fusion_engine::messages::Timestamp::seconds = INVALID

The number of full seconds since the epoch.

Set to INVALID if the timestamp is invalid or unknown.

Definition at line 433 of file defs.h.


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