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

Method apply_landmark_replace

src/PLPSLAM/tracking_module.cc:680–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678 }
679
680 void tracking_module::apply_landmark_replace()
681 {
682 for (unsigned int idx = 0; idx < last_frm_.num_keypts_; ++idx)
683 {
684 auto lm = last_frm_.landmarks_.at(idx);
685 if (!lm)
686 {
687 continue;
688 }
689
690 auto replaced_lm = lm->get_replaced();
691 if (replaced_lm)
692 {
693 last_frm_.landmarks_.at(idx) = replaced_lm;
694 }
695 }
696
697 if (map_db_->_b_use_line_tracking)
698 {
699 apply_landmark_replace_line();
700 }
701 }
702
703 // FW:
704 void tracking_module::apply_landmark_replace_line()

Callers

nothing calls this directly

Calls 1

get_replacedMethod · 0.45

Tested by

no test coverage detected