Unit tests for Gal3 class. More...
#include <gtsam/geometry/Gal3.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/testLie.h>
#include <gtsam/geometry/Rot3.h>
#include <gtsam/geometry/Point3.h>
#include <gtsam/geometry/Pose3.h>
#include <CppUnitLite/TestHarness.h>
#include <vector>
#include <functional>
Go to the source code of this file.
Functions | |
const Point3 | kTestPos (1.0, -2.0, 3.0) |
const Velocity3 | kTestVel (0.5, 0.6, -0.7) |
int | main () |
TEST (Gal3, Act) | |
TEST (Gal3, Adjoint) | |
TEST (Gal3, Associativity) | |
TEST (Gal3, Between) | |
TEST (Gal3, ChartDerivatives) | |
TEST (Gal3, ComponentAccessorsValue) | |
TEST (Gal3, Compose) | |
TEST (Gal3, Concept) | |
TEST (Gal3, ExpLog_NearZero) | |
TEST (Gal3, Expmap) | |
TEST (Gal3, HatVee) | |
TEST (Gal3, Identity) | |
TEST (Gal3, IdentityProperties) | |
TEST (Gal3, Interpolate) | |
TEST (Gal3, Inverse) | |
TEST (Gal3, Jacobian_Accessors) | |
TEST (Gal3, Jacobian_AdjointMap) | |
TEST (Gal3, Jacobian_Between) | |
TEST (Gal3, Jacobian_Compose) | |
TEST (Gal3, Jacobian_Compose2) | |
TEST (Gal3, Jacobian_Expmap) | |
TEST (Gal3, Jacobian_Interpolate) | |
TEST (Gal3, Jacobian_Inverse) | |
TEST (Gal3, Jacobian_Inverse2) | |
TEST (Gal3, Jacobian_Logmap) | |
TEST (Gal3, Jacobian_StaticConstructors) | |
TEST (Gal3, LieGroupDerivatives) | |
TEST (Gal3, Logmap) | |
TEST (Gal3, MatrixComponents) | |
TEST (Gal3, MatrixConstructorValue) | |
TEST (Gal3, StaticAdjoint) | |
TEST (Gal3, StaticConstructorsValue) | |
Variables | |
const Gal3 | kIdentity_Lie = Gal3::Identity() |
const Gal3 | kTestGal3 (kTestRot, kTestPos, kTestVel, kTestTime) |
const Gal3 | kTestGal3_Lie1 (Rot3::RzRyRx(0.1, -0.2, 0.3), Point3(1.0, -2.0, 3.0), Velocity3(0.5, 0.6, -0.7), 1.5) |
const Gal3 | kTestGal3_Lie2 (Rot3::RzRyRx(-0.2, 0.3, 0.1), Point3(-2.0, 3.0, 1.0), Velocity3(0.6, -0.7, 0.5), 2.0) |
const Pose3 | kTestPose (kTestRot, kTestPos) |
const Rot3 | kTestRot = Rot3::RzRyRx(0.1, -0.2, 0.3) |
const double | kTestTime = 1.5 |
static const double | kTol = 1e-8 |
const Point3 kTestPos | ( | 1. | 0, |
-2. | 0, | ||
3. | 0 | ||
) |
const Velocity3 kTestVel | ( | 0. | 5, |
0. | 6, | ||
-0. | 7 | ||
) |
int main | ( | ) |
Definition at line 1174 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Act | |||
) |
Definition at line 835 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Adjoint | |||
) |
Definition at line 448 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Associativity | |||
) |
Definition at line 386 of file testGal3.cpp.
Definition at line 326 of file testGal3.cpp.
TEST | ( | Gal3 | , |
ChartDerivatives | |||
) |
Definition at line 72 of file testGal3.cpp.
TEST | ( | Gal3 | , |
ComponentAccessorsValue | |||
) |
Definition at line 90 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Compose | |||
) |
Definition at line 256 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Concept | |||
) |
Definition at line 49 of file testGal3.cpp.
TEST | ( | Gal3 | , |
ExpLog_NearZero | |||
) |
Definition at line 1140 of file testGal3.cpp.
Definition at line 184 of file testGal3.cpp.
TEST | ( | Gal3 | , |
HatVee | |||
) |
Definition at line 156 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Identity | |||
) |
Definition at line 136 of file testGal3.cpp.
TEST | ( | Gal3 | , |
IdentityProperties | |||
) |
Definition at line 419 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Interpolate | |||
) |
Definition at line 931 of file testGal3.cpp.
Definition at line 293 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Accessors | |||
) |
Definition at line 1030 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_AdjointMap | |||
) |
Definition at line 726 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Between | |||
) |
Definition at line 687 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Compose | |||
) |
Definition at line 517 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Compose2 | |||
) |
Definition at line 794 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Expmap | |||
) |
Definition at line 656 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Interpolate | |||
) |
Definition at line 1069 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Inverse | |||
) |
Definition at line 562 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Inverse2 | |||
) |
Definition at line 765 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_Logmap | |||
) |
Definition at line 595 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Jacobian_StaticConstructors | |||
) |
Definition at line 986 of file testGal3.cpp.
TEST | ( | Gal3 | , |
LieGroupDerivatives | |||
) |
Definition at line 63 of file testGal3.cpp.
TEST | ( | Gal3 | , |
Logmap | |||
) |
Definition at line 214 of file testGal3.cpp.
TEST | ( | Gal3 | , |
MatrixComponents | |||
) |
Definition at line 364 of file testGal3.cpp.
TEST | ( | Gal3 | , |
MatrixConstructorValue | |||
) |
Definition at line 104 of file testGal3.cpp.
TEST | ( | Gal3 | , |
StaticAdjoint | |||
) |
Definition at line 1098 of file testGal3.cpp.
TEST | ( | Gal3 | , |
StaticConstructorsValue | |||
) |
Definition at line 81 of file testGal3.cpp.
const Gal3 kIdentity_Lie = Gal3::Identity() |
Definition at line 59 of file testGal3.cpp.
const Gal3 kTestGal3_Lie1(Rot3::RzRyRx(0.1, -0.2, 0.3), Point3(1.0, -2.0, 3.0), Velocity3(0.5, 0.6, -0.7), 1.5) |
const Gal3 kTestGal3_Lie2(Rot3::RzRyRx(-0.2, 0.3, 0.1), Point3(-2.0, 3.0, 1.0), Velocity3(0.6, -0.7, 0.5), 2.0) |
const Rot3 kTestRot = Rot3::RzRyRx(0.1, -0.2, 0.3) |
Definition at line 40 of file testGal3.cpp.
const double kTestTime = 1.5 |
Definition at line 43 of file testGal3.cpp.
|
static |
Definition at line 33 of file testGal3.cpp.