Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added missing ifdef in fiducal app

  • Loading branch information...
commit 8939990729df7d9b792114ee4a0e7fc58e7febd1 1 parent c5444ce
Christian Blum azz2k authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  src/application/fiducal_app.cpp
2  src/application/fiducal_app.cpp
@@ -135,6 +135,7 @@ void FiducalApp::run()
135 135 cv::Mat rmat;
136 136 cv::Rodrigues(-rvec, rmat);
137 137 fvec = rmat*tvec;
  138 +#ifdef FIDUCAL_LOG
138 139 log_file << setw(13) << get_time_ms()
139 140 << setw(10) << setprecision(6) << right << rvec.at<double>(0)
140 141 << setw(10) << setprecision(6) << right << rvec.at<double>(1)
@@ -146,6 +147,7 @@ void FiducalApp::run()
146 147 << setw(10) << setprecision(6) << right << fvec.at<double>(1)
147 148 << setw(10) << setprecision(6) << right << fvec.at<double>(2)
148 149 << std::endl;
  150 +#endif
149 151 DataCenter::set_fiducal_rot_raw(rvec);
150 152 DataCenter::set_fiducal_trans_raw(tvec);
151 153 }

0 comments on commit 8939990

Please sign in to comment.
Something went wrong with that request. Please try again.