diff --git a/CMakeLists.txt b/CMakeLists.txt index 016e74354d..ea3ce2d48c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,4 +387,4 @@ if(realsense2_FOUND) add_executable(stereo_inertial_realsense_D435i_old Examples_old/Stereo-Inertial/stereo_inertial_realsense_D435i.cc) target_link_libraries(stereo_inertial_realsense_D435i_old ${PROJECT_NAME}) -endif() +endif() \ No newline at end of file diff --git a/Examples/Monocular/mono_euroc.cc b/Examples/Monocular/mono_euroc.cc index 3a233129be..bfb6dc2881 100644 --- a/Examples/Monocular/mono_euroc.cc +++ b/Examples/Monocular/mono_euroc.cc @@ -94,7 +94,6 @@ int main(int argc, char **argv) int proccIm = 0; for(int ni=0; nisize(); i++){ + + if (settings.cameraType_ != Settings::Rectified){ + output << "" << ": ["; + for(size_t i = 0; i < settings.originalCalib2_->size(); i++){ output << " " << settings.originalCalib2_->getParameter(i); + } + output << " ]" << endl; } - output << " ]" << endl; + if(!settings.vPinHoleDistorsion2_.empty()){ output << "\t-Camera 1 distortion parameters: [ "; diff --git a/src/System.cc b/src/System.cc index 60d9c5185a..dafb4cb6aa 100644 --- a/src/System.cc +++ b/src/System.cc @@ -1546,4 +1546,3 @@ string System::CalculateCheckSum(string filename, int type) } } //namespace ORB_SLAM -