31 typedef std::map<Key, std::vector<size_t> > KeyVectorMap;
32 typedef std::map<Key, Rot3 > KeyRotMap;
34 namespace InitializePose3 {
36 GTSAM_EXPORT GaussianFactorGraph buildLinearOrientationGraph(
const NonlinearFactorGraph& g);
38 GTSAM_EXPORT Values normalizeRelaxedRotations(
const VectorValues& relaxedRot3);
40 GTSAM_EXPORT Values computeOrientationsChordal(
const NonlinearFactorGraph& pose3Graph);
42 GTSAM_EXPORT Values computeOrientationsGradient(
const NonlinearFactorGraph& pose3Graph,
43 const Values& givenGuess,
size_t maxIter = 10000,
const bool setRefFrame =
true);
45 GTSAM_EXPORT
void createSymbolicGraph(KeyVectorMap& adjEdgesMap, KeyRotMap& factorId2RotMap,
46 const NonlinearFactorGraph& pose3Graph);
48 GTSAM_EXPORT Vector3 gradientTron(
const Rot3& R1,
const Rot3& R2,
const double a,
const double b);
50 GTSAM_EXPORT NonlinearFactorGraph buildPose3graph(
const NonlinearFactorGraph& graph);
52 GTSAM_EXPORT Values computePoses(NonlinearFactorGraph& pose3graph, Values& initialRot);
54 GTSAM_EXPORT Values initialize(
const NonlinearFactorGraph& graph);
56 GTSAM_EXPORT Values initialize(
const NonlinearFactorGraph& graph,
const Values& givenGuess,
bool useGradient =
false);
3D rotation represented as a rotation matrix or quaternion
Graph algorithm using boost library.
Factor Graph Constsiting of non-linear factors.
Linear Factor Graph where all factors are Gaussians.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28