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

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 588 of file defs.h.

#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
 

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 598 of file defs.h.

◆ INVALID

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

Definition at line 589 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 595 of file defs.h.


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