MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / LoopClosure

Method LoopClosure

pose_graph/src/pose_graph/LoopClosure.cpp:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include "utils/UtilsOpenCV.h"
17
18LoopClosure::LoopClosure(Parameters& params)
19 : params_(params),
20 pose_graph_(nullptr),
21 global_map_(nullptr),
22 keyframe_tracking_queue_("keyframe_queue"),
23 raw_image_buffer_(kBufferLengthNs),
24 primitive_estimator_poses_buffer_(kBufferLengthNs) {
25 frame_index_ = 0;
26 last_translation_ = Eigen::Vector3d(-100, -100, -100);
27
28 setup();
29 shutdown_ = false;
30}
31
32void LoopClosure::setup() {
33 pose_graph_ = std::unique_ptr<PoseGraph>(new PoseGraph());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected