Autoware.Auto
time_utils.hpp File Reference
#include <time_utils/visibility_control.hpp>
#include <builtin_interfaces/msg/duration.hpp>
#include <builtin_interfaces/msg/time.hpp>
#include <chrono>
Include dependency graph for time_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 time_utils
 
 time_utils::details
 

Functions

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...
 
template<typename TimeT >
TimeT time_utils::details::duration_to_msg (std::chrono::nanoseconds dt)