Go to the documentation of this file.
29 using namespace gtsam;
31 int main (
int argc,
char** argv) {
40 initial->print(
"Initial 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
utility functions for loading datasets
int main(int argc, char **argv)
noiseModel::Diagonal::shared_ptr SharedDiagonal
graph addPrior(1, Pose2(0, 0, 0), priorNoise)
noiseModel::Diagonal::shared_ptr model
GraphAndValues load2D(const std::string &filename, SharedNoiseModel model, size_t maxIndex, bool addNoise, bool smart, NoiseFormat noiseFormat, KernelFunctionType kernelFunctionType)
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
A class for computing marginals in a NonlinearFactorGraph.
GTSAM_EXPORT std::string findExampleDataFile(const std::string &name)
NonlinearFactorGraph graph
Marginals marginals(graph, result)
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
std::shared_ptr< This > shared_ptr
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:36