Classes | Functions | Variables
etsi_its_msgs Namespace Reference

Classes

struct  OneCentimeterHelper
 
struct  OneCentimeterHelper< SemiAxisLength, std::void_t< decltype(SemiAxisLength::ONE_CENTIMETER)> >
 

Functions

uint16_t getLeapSecondInsertionsSince2004 (const uint64_t unix_seconds)
 Get the leap second insertions since 2004 for given unix seconds. More...
 

Variables

const std::map< uint64_t, uint16_t > LEAP_SECOND_INSERTIONS_SINCE_2004
 std::map that stores all leap second insertions since 2004 with the corresponding unix-date of the insertion More...
 
constexpr const double ONE_D_GAUSSIAN_FACTOR = 2.0
 
constexpr const double TWO_D_GAUSSIAN_FACTOR = 2.4477
 
const uint64_t UNIX_SECONDS_2004 = 1072915200
 

Function Documentation

◆ getLeapSecondInsertionsSince2004()

uint16_t etsi_its_msgs::getLeapSecondInsertionsSince2004 ( const uint64_t  unix_seconds)
inline

Get the leap second insertions since 2004 for given unix seconds.

Parameters
unix_secondsthe current unix seconds for that the leap second insertions since 2004 shall be provided
Returns
uint16_t the number of leap second insertions since 2004 for unix_seconds

Definition at line 60 of file constants.h.

Variable Documentation

◆ LEAP_SECOND_INSERTIONS_SINCE_2004

const std::map<uint64_t, uint16_t> etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004
Initial value:
{
{1136073599, 1},
{1230767999, 2},
{1341100799, 3},
{1435708799, 4},
{1483228799, 5}
}

std::map that stores all leap second insertions since 2004 with the corresponding unix-date of the insertion

Definition at line 45 of file constants.h.

◆ ONE_D_GAUSSIAN_FACTOR

constexpr const double etsi_its_msgs::ONE_D_GAUSSIAN_FACTOR = 2.0
constexpr

Definition at line 71 of file constants.h.

◆ TWO_D_GAUSSIAN_FACTOR

constexpr const double etsi_its_msgs::TWO_D_GAUSSIAN_FACTOR = 2.4477
constexpr

Definition at line 75 of file constants.h.

◆ UNIX_SECONDS_2004

const uint64_t etsi_its_msgs::UNIX_SECONDS_2004 = 1072915200

Definition at line 39 of file constants.h.

etsi_its_msgs::UNIX_SECONDS_2004
const uint64_t UNIX_SECONDS_2004
Definition: constants.h:39


etsi_its_msgs_utils
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:32:12