Go to the documentation of this file.
56 using namespace gtsam;
58 int main(
int argc,
char** argv) {
83 initial.print(
"\nInitial Estimate:\n");
virtual const Values & optimize()
A nonlinear optimizer that uses the Levenberg-Marquardt trust-region scheme.
Pose2 priorMean(0.0, 0.0, 0.0)
Matrix marginalCovariance(Key variable) const
Pose2 odometry(2.0, 0.0, 0.0)
void addPrior(Key key, const T &prior, const SharedNoiseModel &model=nullptr)
int main(int argc, char **argv)
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
A class for computing marginals in a NonlinearFactorGraph.
Factor Graph consisting of non-linear factors.
NonlinearFactorGraph graph
Marginals marginals(graph, result)
A non-templated config holding any types of Manifold-group elements.
IsDerived< DERIVEDFACTOR > emplace_shared(Args &&... args)
Emplace a shared pointer to factor of given type.
void print(const std::string &str="NonlinearFactorGraph: ", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:13