Function etsi_its_spatem_ts_msgs::access::interpretTimeMarkValueAsSeconds

Function Documentation

float etsi_its_spatem_ts_msgs::access::interpretTimeMarkValueAsSeconds(const uint16_t time, const int32_t seconds, const uint32_t nanosec)

Calculate the amount of seconds until the given time is reached.

Parameters:
  • time – Encoded time value in the future

  • seconds – Elapsed seconds since the start of the last full hour (timestamp)

  • nanosec – Elapsed nanoseconds since the start of the last full hour (timestamp)

Returns:

Time in seconds refered to the given timestamp