Functions | Variables
cache_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <tf2/time_cache.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 (Bullet, Slerp)
 
 TEST (TimeCache, AngularInterpolation)
 
 TEST (TimeCache, CartesianInterpolation)
 
 TEST (TimeCache, DuplicateEntries)
 
 TEST (TimeCache, ReparentingInterpolationProtection)
 Make sure we dont' interpolate across reparented data. More...
 
 TEST (TimeCache, Repeatability)
 
 TEST (TimeCache, RepeatabilityReverseInsertOrder)
 
 TEST (TimeCache, ZeroAtFront)
 

Variables

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

Function Documentation

◆ get_rand()

double get_rand ( )

Definition at line 54 of file cache_unittest.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 410 of file cache_unittest.cpp.

◆ seed_rand()

void seed_rand ( )

Definition at line 42 of file cache_unittest.cpp.

◆ setIdentity()

void setIdentity ( TransformStorage stor)

Definition at line 67 of file cache_unittest.cpp.

◆ TEST() [1/8]

TEST ( Bullet  ,
Slerp   
)

Definition at line 305 of file cache_unittest.cpp.

◆ TEST() [2/8]

TEST ( TimeCache  ,
AngularInterpolation   
)

Definition at line 329 of file cache_unittest.cpp.

◆ TEST() [3/8]

TEST ( TimeCache  ,
CartesianInterpolation   
)

Definition at line 209 of file cache_unittest.cpp.

◆ TEST() [4/8]

TEST ( TimeCache  ,
DuplicateEntries   
)

Definition at line 383 of file cache_unittest.cpp.

◆ TEST() [5/8]

TEST ( TimeCache  ,
ReparentingInterpolationProtection   
)

Make sure we dont' interpolate across reparented data.

Definition at line 266 of file cache_unittest.cpp.

◆ TEST() [6/8]

TEST ( TimeCache  ,
Repeatability   
)

Definition at line 73 of file cache_unittest.cpp.

◆ TEST() [7/8]

TEST ( TimeCache  ,
RepeatabilityReverseInsertOrder   
)

Definition at line 100 of file cache_unittest.cpp.

◆ TEST() [8/8]

TEST ( TimeCache  ,
ZeroAtFront   
)

Definition at line 164 of file cache_unittest.cpp.

Variable Documentation

◆ step

unsigned int step = 0

Definition at line 40 of file cache_unittest.cpp.

◆ values

std::vector<double> values

Definition at line 39 of file cache_unittest.cpp.



tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Fri Sep 4 2020 03:15:36