osi3::EnvironmentalConditions::TimeOfDay Struct Reference

The time of day at a specified location. More...

Collaboration diagram for osi3::EnvironmentalConditions::TimeOfDay:

Public Attributes

optional uint32 seconds_since_midnight = 1
 The number of seconds in s that have passed since midnight local time. More...
 

Detailed Description

The time of day at a specified location.

Note
In general the global position of the parent frame should be obtainable in order to derive the local time. This information can be calculated from the unix_timestamp in combination with osi3::GroundTruth::proj_string and the position of the corresponding osi3::BaseStationary or osi3::BaseMoving .

Member Data Documentation

◆ seconds_since_midnight

optional uint32 osi3::EnvironmentalConditions::TimeOfDay::seconds_since_midnight = 1

The number of seconds in s that have passed since midnight local time.

Used e.g. for determining the current state of the circadian rhythm of a driver.

Note
No changes of daylight saving time or time zones are considered.
Rules
is_greater_than_or_equal_to: 0
is_less_than: 86400

  • osi_environment.proto