fix(ros): DKRP

This commit is contained in:
TinyOh
2019-03-26 15:44:34 +08:00
parent c5d15c9000
commit 5e9ce133bb
3 changed files with 49 additions and 89 deletions

View File

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