MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / add_loop_edge

Method add_loop_edge

src/PLPSLAM/data/graph_node.cc:404–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402 }
403
404 void graph_node::add_loop_edge(keyframe *keyfrm)
405 {
406 std::lock_guard<std::mutex> lock(mtx_);
407 loop_edges_.insert(keyfrm);
408 // cannot erase loop edges
409 owner_keyfrm_->set_not_to_be_erased();
410 }
411
412 std::set<keyframe *> graph_node::get_loop_edges() const
413 {

Callers 2

correct_loopMethod · 0.80
register_graphMethod · 0.80

Calls 2

set_not_to_be_erasedMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected