MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / PrintObservations

Method PrintObservations

src/MapPoint.cc:548–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void MapPoint::PrintObservations()
549{
550 cout << "MP_OBS: MP " << mnId << endl;
551 for(map<KeyFrame*,tuple<int,int>>::iterator mit=mObservations.begin(), mend=mObservations.end(); mit!=mend; mit++)
552 {
553 KeyFrame* pKFi = mit->first;
554 tuple<int,int> indexes = mit->second;
555 int leftIndex = get<0>(indexes), rightIndex = get<1>(indexes);
556 cout << "--OBS in KF " << pKFi->mnId << " in map " << pKFi->GetMap()->GetId() << endl;
557 }
558}
559
560Map* MapPoint::GetMap()
561{

Callers

nothing calls this directly

Calls 2

GetIdMethod · 0.45
GetMapMethod · 0.45

Tested by

no test coverage detected