Closed real-Sandip-Das closed 5 months ago
You're right. I must have somehow missed it as I typically don't use this package with rectified images. This might also explain #31.
For future references: the camera insintric matrix of the rectified images in the left 3x3 portion of the 3x4 P
matrix in camera info messages.
camera_info topic's
float64[12] P
is supposed to be a 3x4 matrix, whereas the functioncallback_camera_info
inaruco_tracker.cpp
was previously assuming 3x3changed line 258 from:
camera_matrix_.at<double>(i / 3, i % 3) = cam_info.P[i];
to:camera_matrix_.at<double>(i / 3, i % 3) = cam_info.P[i + i/3];