Go to the documentation of this file.
64 using namespace gtsam;
66 int main(
int argc,
char** argv) {
76 auto model = noiseModel::Diagonal::Sigmas(
Vector3(0.2, 0.2, 0.1));
100 initialEstimate.
print(
"\nInitial Estimate:\n");
virtual const Values & optimize()
Array< double, 1, 3 > e(1./3., 0.5, 2.)
int main(int argc, char **argv)
Matrix marginalCovariance(Key variable) const
static ConjugateGradientParameters parameters
void addPrior(Key key, const T &prior, const SharedNoiseModel &model=nullptr)
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
Factor Graph consisting of non-linear factors.
void insert(Key j, const Value &val)
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:36