tf2  master
tf2 maintains the relationship between coordinate frames in a tree structure buffered in time, and lets the user transform points, vectors, etc between any two coordinate frames at any desired point in time.
Namespaces | Typedefs | Functions
time.h File Reference
#include <chrono>
#include <cmath>
#include <stdio.h>
#include <string>
#include <thread>
#include <iostream>
#include <tf2/visibility_control.h>
Include dependency graph for time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tf2
 

Typedefs

using tf2::Duration = std::chrono::nanoseconds
 
using tf2::TimePoint = std::chrono::time_point< std::chrono::system_clock, Duration >
 
using tf2::IDuration = std::chrono::duration< int, std::nano >
 

Functions

TimePoint tf2::get_now ()
 
Duration tf2::durationFromSec (double t_sec)
 
TimePoint tf2::timeFromSec (double t_sec)
 
double tf2::durationToSec (const tf2::Duration &input)
 
double tf2::timeToSec (const TimePoint &timepoint)
 
std::string tf2::displayTimePoint (const TimePoint &stamp)