Autoware.Auto
time_utils.cpp File Reference
#include "time_utils/time_utils.hpp"
#include <algorithm>
#include <limits>
#include <stdexcept>
Include dependency graph for time_utils.cpp:

Namespaces

 time_utils
 
 time_utils::details
 

Functions

template<typename TimeT >
TimeT time_utils::details::duration_to_msg (std::chrono::nanoseconds dt)
 
TIME_UTILS_PUBLIC builtin_interfaces::msg::Time time_utils::to_message (std::chrono::system_clock::time_point t)
 Convert from std::chrono::time_point to time message. More...
 
TIME_UTILS_PUBLIC builtin_interfaces::msg::Duration time_utils::to_message (std::chrono::nanoseconds dt)
 Convert from std::chrono::duration to duration message. More...
 
TIME_UTILS_PUBLIC std::chrono::system_clock::time_point time_utils::from_message (builtin_interfaces::msg::Time t) noexcept
 Convert from std::chrono::time_point from time message. More...
 
TIME_UTILS_PUBLIC std::chrono::nanoseconds time_utils::from_message (builtin_interfaces::msg::Duration dt) noexcept
 Convert from std::chrono::duration from duration message. More...
 
TIME_UTILS_PUBLIC std::chrono::nanoseconds time_utils::interpolate (std::chrono::nanoseconds a, std::chrono::nanoseconds b, float t) noexcept
 Standard interpolation. More...