Go to the documentation of this file.
32 static const double rankTol = 1.0;
33 static const double sigma = 0.1;
48 using namespace serializationTestHelpers;
53 EXPECT(equalsBinary(factor));
59 using namespace serializationTestHelpers;
64 EXPECT(equalsBinary(factor));
70 using namespace serializationTestHelpers;
77 EXPECT(equalsBinary(factor));
80 TEST(SerializationSlam, SmartProjectionPoseFactor2) {
82 using namespace serializationTestHelpers;
91 key_view.push_back(
Symbol(
'x', 1));
92 meas_view.push_back(
Point2(10, 10));
93 factor.
add(meas_view, key_view);
97 EXPECT(equalsBinary(factor));
static int runAllTests(TestResult &result)
double Gaussian(double mu, double sigma, double z)
Gaussian density function.
#define EXPECT(condition)
BOOST_CLASS_EXPORT_GUID(DecisionTreeFactor, "gtsam_DecisionTreeFactor")
Smart factor on cameras (pose + calibration)
A nonlinear optimizer that uses the Levenberg-Marquardt trust-region scheme.
TEST(SmartFactorBase, serialize)
static const Cal3_S2::shared_ptr sharedK(new Cal3_S2(fov, w, h))
static const SmartProjectionParams params
static const double rankTol
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
static const double sigma
void setRankTolerance(double rankTol)
noiseModel::Diagonal::shared_ptr SharedDiagonal
noiseModel::Base::shared_ptr SharedNoiseModel
noiseModel::Diagonal::shared_ptr model
Base class for smart factors. This base class has no internal point, but it has a measurement,...
static noiseModel::Diagonal::shared_ptr Diagonal(const Matrix &covariance)
std::vector< Point2, Eigen::aligned_allocator< Point2 > > Point2Vector
noiseModel::Isotropic::shared_ptr SharedIsotropic
void add(const Z &measured, const Key &key)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:26