fix: version checker add url.

This commit is contained in:
TinyOh 2019-03-26 17:30:03 +08:00
parent 5e9ce133bb
commit 799561962f
2 changed files with 22 additions and 14 deletions

View File

@ -281,16 +281,16 @@ std::shared_ptr<struct CameraROSMsgInfoPair> RectifyProcessor::stereoRectify(
stereoRectify(leftOdo, rightOdo, &c_K1, &c_K2, &c_D1, &c_D2, 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); image_size1, &c_R, &c_t, &c_R1, &c_R2, &c_P1, &c_P2, &T_mul_f);
// std::cout << "K1: " << K1 << std::endl; VLOG(2) << "K1: " << K1 << std::endl;
// std::cout << "D1: " << D1 << std::endl; VLOG(2) << "D1: " << D1 << std::endl;
// std::cout << "K2: " << K2 << std::endl; VLOG(2) << "K2: " << K2 << std::endl;
// std::cout << "D2: " << D2 << std::endl; VLOG(2) << "D2: " << D2 << std::endl;
// std::cout << "R: " << cv_R << std::endl; VLOG(2) << "R: " << cv_R << std::endl;
// std::cout << "t: " << cv_t << std::endl; VLOG(2) << "t: " << cv_t << std::endl;
// std::cout << "R1: " << R1 << std::endl; VLOG(2) << "R1: " << R1 << std::endl;
// std::cout << "R2: " << R2 << std::endl; VLOG(2) << "R2: " << R2 << std::endl;
// std::cout << "P1: " << P1 << std::endl; VLOG(2) << "P1: " << P1 << std::endl;
// std::cout << "P2: " << P2 << std::endl; VLOG(2) << "P2: " << P2 << std::endl;
R1 = rectifyrad(R1); R1 = rectifyrad(R1);
R2 = rectifyrad(R2); R2 = rectifyrad(R2);

View File

@ -26,13 +26,21 @@ typedef struct {
}firmware_version_match_table_unit; }firmware_version_match_table_unit;
const char* ERRO_DESCRIPTION_F = 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 = 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 = 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 = 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_DESCRIPTION = "pass";
const char* PASS_OUTOF_TABLE_WARNING = "You're using a custom mynteye device"; const char* PASS_OUTOF_TABLE_WARNING = "You're using a custom mynteye device";