fix(src): fixed problem of printing accuracy

This commit is contained in:
Osenberg
2019-06-25 12:49:41 +08:00
parent 0881a70922
commit 7a23c28965
2 changed files with 8 additions and 5 deletions

View File

@@ -48,8 +48,10 @@ int main(int argc, char *argv[]) {
auto info = api->GetCameraROSMsgInfoPair();
if (info && !info->isEmpty())
std::cout << "ROSMsgInfoPair:"<< std::endl << *info << std::endl;
if (info && !info->isEmpty()) {
LOG(INFO) << "ROSMsgInfoPair:";
LOG(INFO) << *info;
}
return 0;
}