12 namespace mrpt {
namespace srba {
15 template <
class KF2KF_POSE_TYPE,
class LM_TYPE,
class OBS_TYPE,
class RBA_OPTIONS>
16 template <
class POSE_GRAPH>
18 POSE_GRAPH &global_graph,
23 if (rba_state.keyframes.empty())
29 create_complete_spanning_tree(params.
root_kf_id,spantree);
35 global_graph.nodes[kf_id] = itP->second.pose;
const Scalar * const_iterator
Keyframe-to-keyframe edge: an unknown of the problem.
void get_global_graphslam_problem(POSE_GRAPH &global_graph, const ExportGraphSLAM_Params ¶ms=ExportGraphSLAM_Params()) const
Build a graph-slam problem suitable for recovering the (consistent) global pose (vs.
TKeyFrameID root_kf_id
The KF to use as a root for the spanning tree to init global poses (default=0)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
pose_t inv_pose
Inverse pose: pose_from (-) pose_to , that is: "from" as seen from "to".
kf2kf_pose_traits_t::frameid2pose_map_t frameid2pose_map_t
uint64_t TKeyFrameID
Numeric IDs for key-frames (KFs)