63 std::vector<size_t>& spanningTreeIds, std::vector<size_t>& chordsIds,
64 key2doubleMap& deltaThetaMap,
69 const std::vector<size_t>& spanningTreeIds,
79 bool useOdometricPath =
true);
83 const Values& initialGuess);
Factor Graph consisting of non-linear factors.
NonlinearFactorGraph graph
void g(const string &key, int i)
GaussianFactorGraph buildLinearOrientationGraph(const vector< size_t > &spanningTreeIds, const vector< size_t > &chordsIds, const NonlinearFactorGraph &g, const key2doubleMap &orientationsToRoot, const PredecessorMap< Key > &tree)
Linear Factor Graph where all factors are Gaussians.
VectorValues initializeOrientations(const NonlinearFactorGraph &graph, bool useOdometricPath)
void getSymbolicGraph(vector< size_t > &spanningTreeIds, vector< size_t > &chordsIds, key2doubleMap &deltaThetaMap, const PredecessorMap< Key > &tree, const NonlinearFactorGraph &g)
Graph algorithm using boost library.
std::map< Key, double > key2doubleMap
key2doubleMap computeThetasToRoot(const key2doubleMap &deltaThetaMap, const PredecessorMap< Key > &tree)
Values initialize(const NonlinearFactorGraph &graph, bool useOdometricPath)