rosWriteCameraInfo
Write monocular or stereo camera parameters to ROS or ROS 2 message structure
Since R2022a
Syntax
Description
writes data from the monocular camera parameters structure,
msgOut
= rosWriteCameraInfo(msg
,cameraParams
)cameraParams
, to a sensor_msgs/CameraInfo
message
structure, msg
, and returns the output message,
msgOut
.
Use rosWriteCameraInfo
to write the camera parameters obtained
after the calibration process. For more information on performing camera calibration using
Computer Vision Toolbox™, see Camera Calibration (Computer Vision Toolbox).
[
writes data from the stereo camera parameters structure, msgOut1
,msgOut2
] = rosWriteCameraInfo(msg
,stereoParams
)stereoParams
,
to two sensor_msgs/CameraInfo
message structures,
msgOut1
and msgOut2
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2022a