Go to the documentation of this file.
30 using namespace gtsam;
32 int main(
int argc,
char** argv) {
44 auto model = noiseModel::Diagonal::Sigmas(
Vector3(0.2, 0.2, 0.1));
65 initialEstimate.
print(
"\nInitial Estimate:\n");
int main(int argc, char **argv)
virtual const Values & optimize()
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Matrix marginalCovariance(Key variable) const
Pose3 x3(Rot3::Ypr(M_PI/4.0, 0.0, 0.0), l2)
static ConjugateGradientParameters parameters
Factor graph that supports adding ExpressionFactors directly.
noiseModel::Diagonal::shared_ptr model
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
A class for computing marginals in a NonlinearFactorGraph.
size_t maxIterations
maximum number of cg iterations
Common expressions for solving geometry/slam/sfm problems.
void insert(Key j, const Value &val)
T between(const T &t1, const T &t2)
NonlinearFactorGraph graph
Marginals marginals(graph, result)
Pose3 x2(Rot3::Ypr(0.0, 0.0, 0.0), l2)
void addExpressionFactor(const SharedNoiseModel &R, const T &z, const Expression< T > &h)
void print(const std::string &str="NonlinearFactorGraph: ", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:36