qrb_ros_colorspace_convert sample application implements the following functionalities:
-
Provides ROS nodes
- API to convert NV12 to RGB888
- API to convert RGB888 to NV12
- Supports dmabuf fd as input and output
- Input and output image receive and send with QRB ROS transport
- Hardware acceleration with GPU by OpenGL ES
Pipeline flow for qrb_ros_colorspace_convert
The following figure shows the pipeline flow of qrb_ros_colorspace_convert.
qrb_ros_color_space_convert pipeline.
qrb_ros_colorspace_convert software architecture.
The following table describes the ROS topics used in the
qrb_ros_colorspace_convert software architecture.
Prerequisites
- You have set up the device, installed ROS2 Jazzy and Qualcomm Intelligent Robotics (QIR) SDK on the device according to Install the QIR SDK.
-
The
custom_ros_nodeis ready. - You have connected the device to the display monitor.
Run out-of-the-box qrb_ros_colorspace_convert
1
Install the color space conversion package according to whether you have installed the desktop or server QIR SDK image
See Install the QIR SDK.
qirp-sdkis the QIR SDK server image package.qirp-sdk-desktopis the QIR SDK desktop image package.- For Ventuno Q, use the package listed under Desktop image.
Server image
Desktop image
2
Launch the qrb_ros_color_space_convert node
Launch the node
Build from source
1
Install dependencies according to whether you have installed the desktop or server QIR SDK image
See Install the QIR SDK.
qirp-sdkis the QIR SDK server image package.qirp-sdk-desktopis the QIR SDK desktop image package.- For Ventuno Q, use the package listed under Desktop image.
Server image
Desktop image
2
Download the source code and build with colcon
Download and build
3
Run and debug
Run the node

