Skip to main content
To successfully run the sample applications provided by the QIR SDK, you must complete the following settings on the host environment and the device to ensure proper running of the subsequent steps.

Set up the device

Get the device ready for running sample applications by completing the following configurations:
  1. Navigate to Set up the device of IQ-9075 documentation.
  2. Complete the following settings: a. Set up the debug UART. b. Connect the device to a network according to Connect to the network. c. Connect to the device SSH shell according to Connect over SSH.

Set up the host computer

Ensure that the Ubuntu host and the device are in the same network by running ping <device IP address> on both the host computer and device.

Set up the host Docker

The sample applications use ROS 2 Jazzy for communication on the host. To isolate the impact of the host’s Ubuntu version on ROS communication, perform the following steps to configure the Ubuntu 24.04 Docker environment.

Prerequisites

Before you begin, ensure that:
  • The host computer is running Ubuntu 24.04.
  • Docker Engine is installed.
  • The Docker service is running.
  • The current user belongs to the docker group.
  1. Download the qrb_ros_simulation repository and mesh files.
  2. Build the local Docker image.
    NoteIf you encounter issues with Docker, see Troubleshoot common issues.
  3. Start a Docker container.
  4. In the Docker container, set a password for the root user and start the SSH service.
  5. Identify the host IP address that the Docker container, development kit, and X server can reach. Do not use 127.0.0.1, localhost, or a Docker-only bridge address such as docker0. On the host, list the interface addresses:
    Use the IP address on the same network as the development kit. You can verify the address from the device with:
  6. Open a new terminal on the host and connect to the Docker container through SSH.
  7. Configure the ROS 2 environment and display settings. Set DISPLAY to the same reachable host interface address, because this is where the sample output is displayed.
You have now built the Docker environment for ROS 2 Jazzy. If the environment is configured correctly, the rqt window is displayed on the host system.
NoteFor how to use rqt to view the running effect of the sample applications, see the steps of each sample application.

Next steps