Unit tests for SmartRangeFactor Class. More...
#include <gtsam_unstable/slam/SmartRangeFactor.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Functions | |
int | main () |
static const Point2 | p (0, 10) |
TEST (SmartRangeFactor, constructor) | |
TEST (SmartRangeFactor, addRange) | |
TEST (SmartRangeFactor, scenario) | |
TEST (SmartRangeFactor, unwhitenedError) | |
TEST (SmartRangeFactor, optimization) | |
Variables | |
static const Pose2 | pose1 (0, 0, 0) |
static const Pose2 | pose2 (5, 0, 0) |
static const Pose2 | pose3 (5, 5, 0) |
static const double | r1 = pose1.range(p) |
static const double | r2 = pose2.range(p) |
static const double | r3 |
static const double | sigma = 2.0 |
int main | ( | void | ) |
Definition at line 133 of file testSmartRangeFactor.cpp.
|
static |
TEST | ( | SmartRangeFactor | , |
constructor | |||
) |
Definition at line 37 of file testSmartRangeFactor.cpp.
TEST | ( | SmartRangeFactor | , |
addRange | |||
) |
Definition at line 45 of file testSmartRangeFactor.cpp.
TEST | ( | SmartRangeFactor | , |
scenario | |||
) |
Definition at line 53 of file testSmartRangeFactor.cpp.
TEST | ( | SmartRangeFactor | , |
unwhitenedError | |||
) |
Definition at line 60 of file testSmartRangeFactor.cpp.
TEST | ( | SmartRangeFactor | , |
optimization | |||
) |
Definition at line 99 of file testSmartRangeFactor.cpp.
|
static |
const Pose2 pose2(5, 0, 0) |
const Pose2 pose3(5, 5, 0) |
|
static |
Definition at line 32 of file testSmartRangeFactor.cpp.
|
static |
Definition at line 32 of file testSmartRangeFactor.cpp.
|
static |
Definition at line 32 of file testSmartRangeFactor.cpp.
|
static |
Definition at line 27 of file testSmartRangeFactor.cpp.