#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>
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. | |
TEST (Bullet, Slerp) | |
TEST (TimeCache, AngularInterpolation) | |
TEST (TimeCache, DuplicateEntries) | |
Variables | |
unsigned int | step = 0 |
std::vector< double > | values |
double get_rand | ( | ) |
Definition at line 55 of file cache_unittest.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 405 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.
Definition at line 74 of file cache_unittest.cpp.
Definition at line 101 of file cache_unittest.cpp.
Definition at line 165 of file cache_unittest.cpp.
Definition at line 210 of file cache_unittest.cpp.
Make sure we dont' interpolate across reparented data.
Definition at line 264 of file cache_unittest.cpp.
TEST | ( | Bullet | , |
Slerp | |||
) |
Definition at line 303 of file cache_unittest.cpp.
Definition at line 327 of file cache_unittest.cpp.
Definition at line 378 of file cache_unittest.cpp.
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.