Functions | Variables
cache_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <tf2/time_cache.h>
#include <sys/time.h>
#include "tf2/LinearMath/Quaternion.h"
#include <stdexcept>
#include <geometry_msgs/TransformStamped.h>
#include <cmath>
Include dependency graph for cache_unittest.cpp:

Go to the source code of this file.

Functions

double get_rand ()
 
int main (int argc, char **argv)
 
void seed_rand ()
 
void setIdentity (TransformStorage &stor)
 
 TEST (TimeCache, Repeatability)
 
 TEST (TimeCache, RepeatabilityReverseInsertOrder)
 
 TEST (TimeCache, ZeroAtFront)
 
 TEST (TimeCache, CartesianInterpolation)
 
 TEST (TimeCache, ReparentingInterpolationProtection)
 Make sure we dont' interpolate across reparented data. More...
 
 TEST (Bullet, Slerp)
 
 TEST (TimeCache, AngularInterpolation)
 
 TEST (TimeCache, DuplicateEntries)
 

Variables

unsigned int step = 0
 
std::vector< double > values
 

Function Documentation

double get_rand ( )

Definition at line 55 of file cache_unittest.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 411 of file cache_unittest.cpp.

void seed_rand ( )

Definition at line 43 of file cache_unittest.cpp.

void setIdentity ( TransformStorage stor)

Definition at line 68 of file cache_unittest.cpp.

TEST ( TimeCache  ,
Repeatability   
)

Definition at line 74 of file cache_unittest.cpp.

TEST ( TimeCache  ,
RepeatabilityReverseInsertOrder   
)

Definition at line 101 of file cache_unittest.cpp.

TEST ( TimeCache  ,
ZeroAtFront   
)

Definition at line 165 of file cache_unittest.cpp.

TEST ( TimeCache  ,
CartesianInterpolation   
)

Definition at line 210 of file cache_unittest.cpp.

TEST ( TimeCache  ,
ReparentingInterpolationProtection   
)

Make sure we dont' interpolate across reparented data.

Definition at line 267 of file cache_unittest.cpp.

TEST ( Bullet  ,
Slerp   
)

Definition at line 306 of file cache_unittest.cpp.

TEST ( TimeCache  ,
AngularInterpolation   
)

Definition at line 330 of file cache_unittest.cpp.

TEST ( TimeCache  ,
DuplicateEntries   
)

Definition at line 384 of file cache_unittest.cpp.

Variable Documentation

unsigned int step = 0

Definition at line 41 of file cache_unittest.cpp.

std::vector<double> values

Definition at line 40 of file cache_unittest.cpp.



tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Fri Jun 7 2019 21:45:39