Install the prebuilt QIR SDK on the host computer
Before you begin, download and extract the QIR SDK package as described in Download the prebuilt packages. Use the QIR SDK package underqirpsdk_artifacts; do not use the robotics eSDK under sdk/, which is for rebuilding the robotics image.
On the host computer, go to the QIR SDK artifacts directory and decompress the QIR SDK archive:
qirp-sdk directory. QIR SDK is the product name; qirp-sdk_<qirp_version>.tar.gz, qirpsdk_artifacts, and qirp-sdk are the package and directory names used by the delivered artifacts.
Note
- The
qirp-sdk_<qirp_version>.tar.gzis located in the deployed path of QIR artifacts. The<qirp_version>changes with each release, such as 2.0.0, 2.0.1. For example, the complete package name can beqirp-sdk_2.7.0.tar.gz. - For all released versions, see Qualcomm® Intelligent Robotics SDK (QIR SDK) 2.0 Release Notes.
- The QIR SDK supports these development kits for Qualcomm Linux:
Develop applications using the QIR SDK
-
Set up the QIR SDK cross-compile environment from the extracted
qirp-sdkdirectory. -
Fetch the project as the code baseline.
-
Develop your own application either in C++ or Python.
- Develop ROS application using C++
- Develop ROS application using Python
-
Develop your own C++ application. The following is an example.
Change the
demo_nodes_cpp/src/topics/talker.cppmsg data in line46:talker.cpp -
Set the necessary environment variables and use the colcon tool to build the ROS2 package demo_nodes_cpp and its dependencies.
-
Push the demo to the device.
-
Run the demo application on the device.
i. On the first terminal, run these commands:
ii. On the second terminal, run these commands:
-
Check the output.
Terminal 1 output:
Terminal 2 output:

