diff --git a/include/msckf_vio/feature.hpp b/include/msckf_vio/feature.hpp index 5cc997f..f222a8e 100644 --- a/include/msckf_vio/feature.hpp +++ b/include/msckf_vio/feature.hpp @@ -1067,9 +1067,8 @@ bool Feature::initializeAnchor(const CameraCalibration& cam, int N) // check if image has been pre-undistorted - if(cam.distortion_model.substr(0,3) == "pre-") + if(cam.distortion_model.substr(0,3) == "pre") { - std::cout << "is a pre" << std::endl; //project onto pixel plane undist_anchor_center_pos = cv::Point2f(u * cam.intrinsics[0] + cam.intrinsics[2], v * cam.intrinsics[1] + cam.intrinsics[3]);