Skip to content

Commit

Permalink
Updated files to remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-elvira committed Jul 22, 2020
1 parent df16ecc commit f568f06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Examples/Stereo-Inertial/stereo_inertial_tum_vi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ int main(int argc, char **argv)
}
}

cout << "first imu: " << first_imu[seq] << endl;
/*cout << "first imu: " << first_imu[seq] << endl;
cout << "first imu time: " << fixed << vTimestampsImu[seq][0] << endl;
cout << "size vImu: " << vImuMeas.size() << endl;
cout << "size vImu: " << vImuMeas.size() << endl;*/

#ifdef COMPILEDWITHC11
std::chrono::steady_clock::time_point t1 = std::chrono::steady_clock::now();
Expand Down
14 changes: 7 additions & 7 deletions src/LocalMapping.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ LocalMapping::LocalMapping(System* pSys, Atlas *pAtlas, const float bMonocular,
strSequence = "";//_strSeqName;

//f_lm.open("localMapping_times" + strSequence + ".txt");
f_lm.open("localMapping_times.txt");
/*f_lm.open("localMapping_times.txt");
f_lm << "# Timestamp KF, Num CovKFs, Num KFs, Num RecentMPs, Num MPs, processKF, MPCulling, CreateMP, SearchNeigh, BA, KFCulling, [numFixKF_LBA]" << endl;
f_lm << fixed;
f_lm << fixed;*/
}

void LocalMapping::SetLoopCloser(LoopClosing* pLoopCloser)
Expand Down Expand Up @@ -114,12 +114,12 @@ void LocalMapping::Run()
// mbAbortBA = false;

//DEBUG--
f_lm << setprecision(0);
/*f_lm << setprecision(0);
f_lm << mpCurrentKeyFrame->mTimeStamp*1e9 << ",";
f_lm << mpCurrentKeyFrame->GetVectorCovisibleKeyFrames().size() << ",";
f_lm << mpCurrentKeyFrame->GetMap()->GetAllKeyFrames().size() << ",";
f_lm << mlpRecentAddedMapPoints.size() << ",";
f_lm << mpCurrentKeyFrame->GetMap()->GetAllMapPoints().size() << ",";
f_lm << mpCurrentKeyFrame->GetMap()->GetAllMapPoints().size() << ",";*/
//--
int num_FixedKF_BA = 0;

Expand Down Expand Up @@ -236,14 +236,14 @@ void LocalMapping::Run()
double t_Insert = std::chrono::duration_cast<std::chrono::duration<double,std::milli> >(t8 - t7).count();

//DEBUG--
f_lm << setprecision(6);
/*f_lm << setprecision(6);
f_lm << t_procKF << ",";
f_lm << t_MPcull << ",";
f_lm << t_CheckMP << ",";
f_lm << t_searchNeigh << ",";
f_lm << t_Opt << ",";
f_lm << t_KF_cull << ",";
f_lm << setprecision(0) << num_FixedKF_BA << "\n";
f_lm << setprecision(0) << num_FixedKF_BA << "\n";*/
//--

}
Expand Down Expand Up @@ -271,7 +271,7 @@ void LocalMapping::Run()
usleep(3000);
}

f_lm.close();
//f_lm.close();

SetFinish();
}
Expand Down

0 comments on commit f568f06

Please sign in to comment.