Skip to content

Commit

Permalink
removed unused debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
VladyslavUsenko committed Aug 10, 2018
1 parent 72d51db commit b652b6e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ bool DoubleSphereProjection<DISTORTION_T>::euclideanToKeypoint(
Eigen::MatrixBase<DERIVED_K> & outKeypoint = const_cast<Eigen::MatrixBase<
DERIVED_K> &>(outKeypointConst);
outKeypoint.derived().resize(2);
// SM_OUT(p.transpose());

const double& x = p[0];
const double& y = p[1];
Expand Down Expand Up @@ -130,22 +129,9 @@ bool DoubleSphereProjection<DISTORTION_T>::euclideanToKeypoint(

outKeypoint[0] = x * norm_inv;
outKeypoint[1] = y * norm_inv;
//std::cout << "normalize\n";
//SM_OUT(d);
//SM_OUT(rz);
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

//_distortion.distort(outKeypoint);
//std::cout << "distort\n";
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

outKeypoint[0] = _fu * outKeypoint[0] + _cu;
outKeypoint[1] = _fv * outKeypoint[1] + _cv;
//std::cout << "project\n";
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

// Check if keypoint lies on the sensor
return isValid(outKeypoint);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ bool ExtendedUnifiedProjection<DISTORTION_T>::euclideanToKeypoint(
Eigen::MatrixBase<DERIVED_K> & outKeypoint = const_cast<Eigen::MatrixBase<
DERIVED_K> &>(outKeypointConst);
outKeypoint.derived().resize(2);
// SM_OUT(p.transpose());

const double& x = p[0];
const double& y = p[1];
Expand All @@ -121,22 +120,9 @@ bool ExtendedUnifiedProjection<DISTORTION_T>::euclideanToKeypoint(

outKeypoint[0] = x * norm_inv;
outKeypoint[1] = y * norm_inv;
//std::cout << "normalize\n";
//SM_OUT(d);
//SM_OUT(rz);
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

//_distortion.distort(outKeypoint);
//std::cout << "distort\n";
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

outKeypoint[0] = _fu * outKeypoint[0] + _cu;
outKeypoint[1] = _fv * outKeypoint[1] + _cv;
//std::cout << "project\n";
//SM_OUT(outKeypoint[0]);
//SM_OUT(outKeypoint[1]);

// Check if keypoint lies on the sensor
return isValid(outKeypoint);
Expand Down

0 comments on commit b652b6e

Please sign in to comment.