CameraInfoSubscriber QML Type
Subscribes to sensor_msgs::msg::CameraInfo messages — This message defines meta information for a camera. It should be in a camera namespace on topic "camera_info" and accompanied by up to five image topics named:. More...
| Import Statement: | import QtRos2.SensorMsgs |
| Inherits: | |
| Status: | Experimental Extension |
Properties
- binningX : uint32_t
- binningY : uint32_t
- d : list<double>
- distortionModel : string
- header : header
- height : uint32_t
- k : list<double>
- message : cameraInfo
- p : list<double>
- r : list<double>
- roi : regionOfInterest
- width : uint32_t
Signals
- messageReceived(cameraInfo msg)
Detailed Description
- image_raw - raw data from the camera driver, possibly Bayer encoded
- image - monochrome, distorted
- image_color - color, distorted
- image_rect - monochrome, rectified
- image_rect_color - color, rectified
The image_pipeline contains packages (image_proc, stereo_image_proc) for producing the four processed image topics from image_raw and camera_info. The meaning of the camera parameters are described in detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.
The image_geometry package provides a user-friendly interface to common operations using this meta information. If you want to, e.g., project a 3d point into image coordinates, we strongly recommend using image_geometry.
If the camera is uncalibrated, the matrices D, K, R, P should be left zeroed out. In particular, clients may assume that K[0] == 0.0 indicates an uncalibrated camera.
Image acquisition info
CameraInfoSubscriber receives cameraInfo values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.
See also CameraInfoPublisher and cameraInfo.
Property Documentation
binningX : uint32_t
The binningX field of the last received message. Updated whenever a new message arrives. binningXChanged is emitted on every update.
binningY : uint32_t
The binningY field of the last received message. Updated whenever a new message arrives. binningYChanged is emitted on every update.
d : list<double>
The d field of the last received message. Updated whenever a new message arrives. dChanged is emitted on every update.
distortionModel : string
The distortionModel field of the last received message. Updated whenever a new message arrives. distortionModelChanged is emitted on every update.
header : header
The header field of the last received message. Updated whenever a new message arrives. headerChanged is emitted on every update.
height : uint32_t
The height field of the last received message. Updated whenever a new message arrives. heightChanged is emitted on every update.
k : list<double>
The k field of the last received message. Updated whenever a new message arrives. kChanged is emitted on every update.
message : cameraInfo
The last message received on topic. Updated whenever a new message arrives.
p : list<double>
The p field of the last received message. Updated whenever a new message arrives. pChanged is emitted on every update.
r : list<double>
The r field of the last received message. Updated whenever a new message arrives. rChanged is emitted on every update.
roi : regionOfInterest
The roi field of the last received message. Updated whenever a new message arrives. roiChanged is emitted on every update.
width : uint32_t
The width field of the last received message. Updated whenever a new message arrives. widthChanged is emitted on every update.
Signal Documentation
messageReceived(cameraInfo msg)
Emitted when a new cameraInfo arrives on topic. msg contains the received value.
Note: The corresponding handler is onMessageReceived.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.