Unit tests for Bundler calibration model. More...
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/geometry/Cal3Bundler.h>
Go to the source code of this file.
Functions | |
Point2 | calibrate_ (const Cal3Bundler &k, const Point2 &pt) |
int | main () |
static Point2 | p (2, 3) |
TEST (Cal3Bundler, assert_equal) | |
TEST (Cal3Bundler, Calibrate) | |
TEST (Cal3Bundler, DCalibrate) | |
TEST (Cal3Bundler, DCalibrateDefault) | |
TEST (Cal3Bundler, DCalibratePrincipalPoint) | |
TEST (Cal3Bundler, DUncalibrate) | |
TEST (Cal3Bundler, DUncalibrateDefault) | |
TEST (Cal3Bundler, DUncalibratePrincipalPoint) | |
TEST (Cal3Bundler, Print) | |
TEST (Cal3Bundler, Retract) | |
TEST (Cal3Bundler, Uncalibrate) | |
TEST (Cal3Bundler, Vector) | |
Point2 | uncalibrate_ (const Cal3Bundler &k, const Point2 &pt) |
Variables | |
static Cal3Bundler | K (500, 1e-3, 1e-3, 1000, 2000) |
Unit tests for Bundler calibration model.
Definition in file testCal3Bundler.cpp.
Point2 calibrate_ | ( | const Cal3Bundler & | k, |
const Point2 & | pt | ||
) |
Definition at line 64 of file testCal3Bundler.cpp.
int main | ( | ) |
Definition at line 183 of file testCal3Bundler.cpp.
|
static |
TEST | ( | Cal3Bundler | , |
assert_equal | |||
) |
Definition at line 155 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
Calibrate | |||
) |
Definition at line 52 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DCalibrate | |||
) |
Definition at line 142 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DCalibrateDefault | |||
) |
Definition at line 82 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DCalibratePrincipalPoint | |||
) |
Definition at line 109 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DUncalibrate | |||
) |
Definition at line 123 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DUncalibrateDefault | |||
) |
Definition at line 69 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
DUncalibratePrincipalPoint | |||
) |
Definition at line 96 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
) |
Definition at line 173 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
Retract | |||
) |
Definition at line 158 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
Uncalibrate | |||
) |
Definition at line 40 of file testCal3Bundler.cpp.
TEST | ( | Cal3Bundler | , |
Vector | |||
) |
Definition at line 32 of file testCal3Bundler.cpp.
Point2 uncalibrate_ | ( | const Cal3Bundler & | k, |
const Point2 & | pt | ||
) |
Definition at line 60 of file testCal3Bundler.cpp.
|
static |