qrb_ros_benchmark builds on ros2_benchmark and extends it with specialized components for benchmarking QRB ROS transport types, including:
- QRB transport types (Image, IMU, PointCloud2)
- DMABuf transport types (Image, PointCloud2)
- Standard ROS message types
NoteFor information about the
qrb_ros_benchmark pipeline flow and the topics it uses, see ros2_benchmark.Prerequisites
- You have Set up the device according to Set up the environment for running sample applications.
- Prepare the benchmark scripts for evaluating your custom ROS2 application. For details, see Creating custom benchmark.
Run out-of-the-box qrb_ros_benchmark
Try me
Try me
1
Set up the environment
Start two terminals, and run the following commands in each terminal to set up QIR SDK and ROS2 environment on the device. Value range of
ROS_DOMAIN_ID: [0, 232]SSH Session
2
Run your custom ROS2 application
In terminal 1, run your custom ROS2 application.
SSH Session
3
Run your benchmark script
In terminal 2, run your benchmark script for evaluating your custom ROS2 application.The script outputs the evaluation result in your terminal.
SSH Session
Build and run qrb_ros_benchmark
Try me
Try me
1
Build qrb_ros_benchmark on the host
2
Push qrb_ros_benchmark to the device
SSH Session
3
Set up the environment
Start two terminals, and run the following commands in each terminal to set up QIR SDK and ROS2 environment on the device. Value range of
ROS_DOMAIN_ID: [0, 232]SSH Session
4
Run your custom ROS2 application
In terminal 1, run your custom ROS2 application.
SSH Session
5
Run your benchmark script
In terminal 2, run your benchmark scripts for evaluating your custom ROS2 application.
SSH Session
Limitation
qrb_ros_benchmark supports the following ROS2 message types:
- ROS2 standard message type
- QRB transport types (Image, IMU, PointCloud2)
- DMABuf transport types (Image, PointCloud2)

