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

Method apply_landmark_replace_line

src/PLPSLAM/tracking_module.cc:704–720  ·  view source on GitHub ↗

FW:

Source from the content-addressed store, hash-verified

702
703 // FW:
704 void tracking_module::apply_landmark_replace_line()
705 {
706 for (unsigned int idx = 0; idx < last_frm_._num_keylines; ++idx)
707 {
708 auto lm_line = last_frm_._landmarks_line.at(idx);
709 if (!lm_line)
710 {
711 continue;
712 }
713
714 auto replaced_lm_line = lm_line->get_replaced();
715 if (replaced_lm_line)
716 {
717 last_frm_._landmarks_line.at(idx) = replaced_lm_line;
718 }
719 }
720 }
721
722 void tracking_module::update_last_frame()
723 {

Callers

nothing calls this directly

Calls 1

get_replacedMethod · 0.45

Tested by

no test coverage detected