open_simulation_interface  v3.4.0 (2021-11-18)
osi3::Timestamp Struct Reference

A timestamp. More...

Collaboration diagram for osi3::Timestamp:

Public Attributes

optional int64 seconds = 1
 
optional uint32 nanos = 2
 

Detailed Description

A timestamp.

Names and types of fields are chosen in accordance to google/protobuf/timestamp.proto to allow a possible switch in the future. There is no definition of the zero point in time neither it is the Unix epoch. A simulation may start at the zero point in time but it is not mandatory.

Member Data Documentation

◆ nanos

optional uint32 osi3::Timestamp::nanos = 2

The number of nanoseconds since the start of the last second.

Range: [0, 999.999.999]

Unit: ns

\rules is_greater_than_or_equal_to: 0 is_less_than_or_equal_to: 999999999 \endrules

◆ seconds

optional int64 osi3::Timestamp::seconds = 1

The number of seconds since the start of e.g. the simulation / system / vehicle.

Unit: s

\rules is_greater_than_or_equal_to: 0 \endrules


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