From 799561962f8349b7fb56f63ce238bf5b4fedc215 Mon Sep 17 00:00:00 2001 From: TinyOh Date: Tue, 26 Mar 2019 17:30:03 +0800 Subject: [PATCH] fix: version checker add url. --- .../api/processor/rectify_processor.cc | 20 +++++++++---------- src/mynteye/api/version_checker.cc | 16 +++++++++++---- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/src/mynteye/api/processor/rectify_processor.cc b/src/mynteye/api/processor/rectify_processor.cc index 3dc207f..05a1b47 100644 --- a/src/mynteye/api/processor/rectify_processor.cc +++ b/src/mynteye/api/processor/rectify_processor.cc @@ -281,16 +281,16 @@ std::shared_ptr RectifyProcessor::stereoRectify( stereoRectify(leftOdo, rightOdo, &c_K1, &c_K2, &c_D1, &c_D2, image_size1, &c_R, &c_t, &c_R1, &c_R2, &c_P1, &c_P2, &T_mul_f); - // std::cout << "K1: " << K1 << std::endl; - // std::cout << "D1: " << D1 << std::endl; - // std::cout << "K2: " << K2 << std::endl; - // std::cout << "D2: " << D2 << std::endl; - // std::cout << "R: " << cv_R << std::endl; - // std::cout << "t: " << cv_t << std::endl; - // std::cout << "R1: " << R1 << std::endl; - // std::cout << "R2: " << R2 << std::endl; - // std::cout << "P1: " << P1 << std::endl; - // std::cout << "P2: " << P2 << std::endl; + VLOG(2) << "K1: " << K1 << std::endl; + VLOG(2) << "D1: " << D1 << std::endl; + VLOG(2) << "K2: " << K2 << std::endl; + VLOG(2) << "D2: " << D2 << std::endl; + VLOG(2) << "R: " << cv_R << std::endl; + VLOG(2) << "t: " << cv_t << std::endl; + VLOG(2) << "R1: " << R1 << std::endl; + VLOG(2) << "R2: " << R2 << std::endl; + VLOG(2) << "P1: " << P1 << std::endl; + VLOG(2) << "P2: " << P2 << std::endl; R1 = rectifyrad(R1); R2 = rectifyrad(R2); diff --git a/src/mynteye/api/version_checker.cc b/src/mynteye/api/version_checker.cc index 660b85a..1a475ed 100644 --- a/src/mynteye/api/version_checker.cc +++ b/src/mynteye/api/version_checker.cc @@ -26,13 +26,21 @@ typedef struct { }firmware_version_match_table_unit; const char* ERRO_DESCRIPTION_F = - "Please update the firmware at first"; + "Please update the firmware at first;\n" + "Read the doc (https://mynt-eye-s-sdk.readthedocs.io/en/latest/src/firmware/applicable.html) " // NOLINT + "to learn more."; const char* ERRO_DESCRIPTION_S = - "Please update the SDK at first"; + "Please update the SDK at first;\n" + "Read the doc (https://mynt-eye-s-sdk.readthedocs.io/en/latest/src/firmware/applicable.html) " // NOLINT + "to learn more."; const char* WARN_DESCRIPTION_F = - "We suggest that you should update the firmware"; + "We suggest that you should update the firmware;\n" + "Read the doc (https://mynt-eye-s-sdk.readthedocs.io/en/latest/src/firmware/applicable.html) " // NOLINT + "to learn more."; const char* WARN_DESCRIPTION_S = - "We suggest that you should update the SDK"; + "We suggest that you should update the SDK;\n" + "Read the doc (https://mynt-eye-s-sdk.readthedocs.io/en/latest/src/firmware/applicable.html) " // NOLINT + "to learn more."; const char* PASS_DESCRIPTION = "pass"; const char* PASS_OUTOF_TABLE_WARNING = "You're using a custom mynteye device";