![]() |
Fixposition SDK 0.0.0-heads/main-0-g95968b3
Collection of c++ libraries and apps for use with Fixposition products on Linux
|
Classes | |
| class | Duration |
| Time duration. More... | |
| struct | GloTime |
| GLONASS time. More... | |
| struct | RosTime |
| Minimal ros::Time() / rplcpp::Time implementation (that doesn't throw) More... | |
| class | TicToc |
| Helper to measure wallclock time. More... | |
| class | Time |
| Time. More... | |
| struct | UtcTime |
| UTC time representation. More... | |
| struct | WnoTow |
| GNSS atomic time representation: week number (wno) and time of week (tow) used by GPS, Galileo and BeiDou. More... | |
Functions | |
| uint64_t | GetMillis () |
| Get milliseconds [ms]. | |
| double | GetSecs () |
| Get seconds [s]. | |
| static constexpr int | SEC_IN_MIN_I = 60 |
| Constants. | |
| static constexpr int | SEC_IN_HOUR_I = 60 * SEC_IN_MIN_I |
| Number of seconds in an hour (integer) = 3600. | |
| static constexpr int | SEC_IN_DAY_I = 24 * SEC_IN_HOUR_I |
| Number of seconds in a day (integer) = 86400. | |
| static constexpr int | SEC_IN_WEEK_I = 7 * SEC_IN_DAY_I |
| Number of seconds in a week (integer) = 604800. | |
| static constexpr double | SEC_IN_MIN_D = static_cast<double>(SEC_IN_MIN_I) |
| Number of seconds in a minute (double) = 60.0. | |
| static constexpr double | SEC_IN_HOUR_D = static_cast<double>(SEC_IN_HOUR_I) |
| Number of seconds in an hour (double) = 3600.0. | |
| static constexpr double | SEC_IN_DAY_D = static_cast<double>(SEC_IN_DAY_I) |
| Number of seconds in a day (double) = 86400.0. | |
| static constexpr double | SEC_IN_WEEK_D = static_cast<double>(SEC_IN_WEEK_I) |
| Number of seconds in a week (double) = 604800.0. | |
| static constexpr double | NsecToSec (const uint64_t ns) |
| Convert seconds to nanoseconds. | |
| static constexpr uint64_t | SecToNsec (const double sec) |
| Convert nanoseconds to seconds. | |
Time utilities.
|
staticconstexpr |
|
staticconstexpr |
| uint64_t fpsdk::common::time::GetMillis | ( | ) |
Get milliseconds [ms].
Time is monotonic time since first call to GetMillis() or GetSecs().
| double fpsdk::common::time::GetSecs | ( | ) |
Get seconds [s].
Time is monotonic time since first call to GetMillis() or GetSecs().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |