fix(ros): ros error enum error

This commit is contained in:
TinyOh 2019-04-12 15:41:25 +08:00
parent 2d8a66eb47
commit b3f6c82f8d

View File

@ -1326,7 +1326,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
camera_info->D.push_back(info_pair->left.D[i]); camera_info->D.push_back(info_pair->left.D[i]);
} }
} else { } else {
camera_info->distortion_model = "plumb_bob"; camera_info->distortion_model = "KANNALA_BRANDT";
for (size_t i; i < 4; i++) { for (size_t i; i < 4; i++) {
camera_info->D.push_back(0.0); camera_info->D.push_back(0.0);
} }