From a8bb0f95e9ddea793326df03f809c40fe6d7f84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Fri, 18 Jan 2019 22:55:00 +0100 Subject: [PATCH] Tuning --- src/examples/test_apriltag.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/examples/test_apriltag.cpp b/src/examples/test_apriltag.cpp index 512eebf91..a35b3d7ce 100644 --- a/src/examples/test_apriltag.cpp +++ b/src/examples/test_apriltag.cpp @@ -44,9 +44,9 @@ int main(int argc, char *argv[]) // General execution options - bool APPLY_CONTRAST = true; - bool IMAGE_OUTPUT = true; - bool USEMAP = true; + const bool APPLY_CONTRAST = false; + const bool IMAGE_OUTPUT = true; + const bool USEMAP = true; WOLF_INFO( "==================== processor apriltag test ======================" ) @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) draw_apriltag(img->getImage(), fa->getTagCorners(), 1); } cv::imshow( img->getName(), img->getImage() ); // display original image. - cv::waitKey(0.1); + cv::waitKey(1); } } } @@ -184,7 +184,7 @@ int main(int argc, char *argv[]) WOLF_INFO( "==================== Solve problem ======================" ) std::string report = ceres_manager->solve(SolverManager::ReportVerbosity::FULL); // 0: nothing, 1: BriefReport, 2: FullReport WOLF_DEBUG(report); - problem->print(4,1,1,1); + problem->print(3,1,1,1); -- GitLab