Closed renyu2016 closed 1 year ago
Citing the documentation of CameraInfo:
# Projection/camera matrix
# [fx' 0 cx' Tx]
# P = [ 0 fy' cy' Ty]
# [ 0 0 1 0]
# By convention, this matrix specifies the intrinsic (camera) matrix
# of the processed (rectified) image. That is, the left 3x3 portion
# is the normal camera intrinsic matrix for the rectified image.
# It projects 3D points in the camera coordinate frame to 2D pixel
# coordinates using the focal lengths (fx', fy') and principal point
# (cx', cy') - these may differ from the values in K.
# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will
# also have R = the identity and P[1:3,1:3] = K.
These cameras are monocular and have no distortion, so P[1:3,1:3] is K and Tx = Ty = 0
Thank you very much! It seems that the server image V2.1 works well now.
After subscribing image and camera_info topics, I got following message for workspace_cam camera
and following message for workspace_cam2 camera:
It seems that the intrinsic matrix was reported twice times but the extrinsic matrix was missing. Is this the intended behavior?