Permalink
Browse files

added missing ifdef in fiducal app

  • Loading branch information...
1 parent c5444ce commit 8939990729df7d9b792114ee4a0e7fc58e7febd1 @azz2k azz2k committed Aug 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/application/fiducal_app.cpp
View
2 src/application/fiducal_app.cpp
@@ -135,6 +135,7 @@ void FiducalApp::run()
cv::Mat rmat;
cv::Rodrigues(-rvec, rmat);
fvec = rmat*tvec;
+#ifdef FIDUCAL_LOG
log_file << setw(13) << get_time_ms()
<< setw(10) << setprecision(6) << right << rvec.at<double>(0)
<< setw(10) << setprecision(6) << right << rvec.at<double>(1)
@@ -146,6 +147,7 @@ void FiducalApp::run()
<< setw(10) << setprecision(6) << right << fvec.at<double>(1)
<< setw(10) << setprecision(6) << right << fvec.at<double>(2)
<< std::endl;
+#endif
DataCenter::set_fiducal_rot_raw(rvec);
DataCenter::set_fiducal_trans_raw(tvec);
}

0 comments on commit 8939990

Please sign in to comment.