Struct Timestamp

Struct Documentation

struct Timestamp

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.

Public Members

optional int64 osi3::Timestamp::seconds = 1

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

Unit: [s]

optional uint32 osi3::Timestamp::nanos = 2

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

Range: [0, 999.999.999]

Unit: [ns]