@@ -33,10 +33,10 @@ extern "C"
3333 * camera namespace on topic "camera_info" and accompanied by up to five
3434 * image topics named:
3535 *
36- * image_raw - raw data from the camera driver, possibly Bayer encoded
37- * image - monochrome, distorted
38- * image_color - color, distorted
39- * image_rect - monochrome, rectified
36+ * image_raw - raw data from the camera driver, possibly Bayer encoded
37+ * image - monochrome, distorted
38+ * image_color - color, distorted
39+ * image_rect - monochrome, rectified
4040 * image_rect_color - color, rectified
4141 *
4242 * The image_pipeline contains packages (image_proc, stereo_image_proc)
@@ -55,7 +55,7 @@ extern "C"
5555 */
5656typedef struct sensor_msgs__msg__CameraInfo
5757{
58- /// Image acquisition info #
58+ /// Image acquisition info #
5959 ///
6060 /// Time of image acquisition, camera coordinate frame ID
6161 /// Header timestamp should be acquisition time of image
@@ -65,15 +65,15 @@ typedef struct sensor_msgs__msg__CameraInfo
6565 /// +y should point down in the image
6666 /// +z should point into the plane of the image
6767 std_msgs__msg__Header header ;
68- /// Calibration Parameters #
68+ /// Calibration Parameters #
6969 ///
7070 /// These are fixed during camera calibration. Their values will be the #
7171 /// same in all messages until the camera is recalibrated. Note that #
7272 /// self-calibrating systems may "recalibrate" frequently. #
7373 /// #
7474 /// The internal parameters can be used to warp a raw (distorted) image #
7575 /// to: #
76- /// 1. An undistorted image (requires D and K) #
76+ /// 1. An undistorted image (requires D and K) #
7777 /// 2. A rectified image (requires D, K, R) #
7878 /// The projection matrix P projects 3D points into the rectified image.#
7979 ///
@@ -106,27 +106,27 @@ typedef struct sensor_msgs__msg__CameraInfo
106106 /// Projection/camera matrix
107107 /// [fx' 0 cx' Tx]
108108 /// P = [ 0 fy' cy' Ty]
109- /// [ 0 0 1 0]
109+ /// [ 0 0 1 0]
110110 /// By convention, this matrix specifies the intrinsic (camera) matrix
111- /// of the processed (rectified) image. That is, the left 3x3 portion
112- /// is the normal camera intrinsic matrix for the rectified image.
111+ /// of the processed (rectified) image. That is, the left 3x3 portion
112+ /// is the normal camera intrinsic matrix for the rectified image.
113113 /// It projects 3D points in the camera coordinate frame to 2D pixel
114- /// coordinates using the focal lengths (fx', fy') and principal point
115- /// (cx', cy') - these may differ from the values in K.
114+ /// coordinates using the focal lengths (fx', fy') and principal point
115+ /// (cx', cy') - these may differ from the values in K.
116116 /// For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will
117- /// also have R = the identity and P[1:3,1:3] = K.
117+ /// also have R = the identity and P[1:3,1:3] = K.
118118 /// For a stereo pair, the fourth column [Tx Ty 0]' is related to the
119119 /// position of the optical center of the second camera in the first
120- /// camera's frame. We assume Tz = 0 so both cameras are in the same
120+ /// camera's frame. We assume Tz = 0 so both cameras are in the same
121121 /// stereo image plane. The first camera always has Tx = Ty = 0. For
122122 /// the right (second) camera of a horizontal stereo pair, Ty = 0 and
123- /// Tx = -fx' * B, where B is the baseline between the cameras.
123+ /// Tx = -fx' * B, where B is the baseline between the cameras.
124124 /// Given a 3D point [X Y Z]', the projection (x, y) of the point onto
125125 /// the rectified image is given by:
126- /// [u v w]' = P * [X Y Z 1]'
127- /// x = u / w
128- /// y = v / w
129- /// This holds for both images of a stereo pair.
126+ /// [u v w]' = P * [X Y Z 1]'
127+ /// x = u / w
128+ /// y = v / w
129+ /// This holds for both images of a stereo pair.
130130 /// 3x4 row-major matrix
131131 double p [12 ];
132132 /// Operational Parameters #
@@ -136,19 +136,19 @@ typedef struct sensor_msgs__msg__CameraInfo
136136 /// may be changed freely without recalibrating the camera. #
137137 ///
138138 /// Binning refers here to any camera setting which combines rectangular
139- /// neighborhoods of pixels into larger "super-pixels." It reduces the
139+ /// neighborhoods of pixels into larger "super-pixels." It reduces the
140140 /// resolution of the output image to
141- /// (width / binning_x) x (height / binning_y).
141+ /// (width / binning_x) x (height / binning_y).
142142 /// The default values binning_x = binning_y = 0 is considered the same
143- /// as binning_x = binning_y = 1 (no subsampling).
143+ /// as binning_x = binning_y = 1 (no subsampling).
144144 uint32_t binning_x ;
145145 uint32_t binning_y ;
146146 /// Region of interest (subwindow of full camera resolution), given in
147- /// full resolution (unbinned) image coordinates. A particular ROI
147+ /// full resolution (unbinned) image coordinates. A particular ROI
148148 /// always denotes the same window of pixels on the camera sensor,
149- /// regardless of binning settings.
149+ /// regardless of binning settings.
150150 /// The default setting of roi (all values 0) is considered the same as
151- /// full resolution (roi.width = width, roi.height = height).
151+ /// full resolution (roi.width = width, roi.height = height).
152152 sensor_msgs__msg__RegionOfInterest roi ;
153153} sensor_msgs__msg__CameraInfo ;
154154
0 commit comments