simulation_sample_amr_simple_motion is a simulated sample application that uses a Python-based ROS node to control the movements of QRB autonomous moving robots (AMRs) within the simulator.
The QRB ROS Simulation package provides the simulation environment. It allows you to control the movement of QRB AMRs through publishing the ROS messages to the /qrb_robot_base/cmd_vel topic.
NoteFor more information, see simulation_sample_amr_simple_motion on GitHub.

Figure: Sample effects of controlling AMR in the simulator
Pipeline flow for simulation_sample_amr_simple_motion
Figure: Pipeline flow for simulation_sample_amr_simple_motion
ROS nodes used in the simulation_sample_amr_simple_motion pipeline
| ROS node | Description |
|---|---|
qrb_ros_simulation | qrb ros simulation is a ROS package that sets up the Qualcomm robotic simulation environment. For details, see QRB ROS Simulation. |
ROS topics used in the simulation_sample_amr_simple_motion pipeline
| ROS topic | Type | Published by | Description |
|---|---|---|---|
/qrb_robot_base/cmd_vel | geometry_msgs::msg::Twist | simulation_sample_amr_simple_motion | Indicates the velocity commands for robot movement. |
Prerequisites
You have completed the following settings in Set up the environment for running sample applications (Skip the settings of Set up host docker).- Set up the device
- Set up the host computer
Set up the simulation environment
- On your host computer, complete the following to build the Qualcomm robotic simulation environment according to the README of QRB ROS Simulation. Ensure that the device and the host are on the same local network and can communicate with each other through ROS communication.
- Set up development environment on Ubuntu24.04 host or Docker.
- Build from source.
- Run the QRB Robot Base AMR on the host.
Run out-of-the-box simulation_sample_amr_simple_motion
On the development kit, run the following commands:
=== AMR Simple Motion Control Usage: === appears.
Then, you can input the motion control commands and check the movement status of the QRB AMR within the simulator on the host computer.
Build and run simulation_sample_amr_simple_motion
-
In a terminal of the host computer, run the following commands:
Note
<qir_version>: Version of the QIR SDK, see QIR SDK 2.0 Release Notes.<qir_decompressed_path>: The path where the QIR SDK is decompressed.
- Build the sample application project.
- Package and push the sample application to the device.
-
On the development kit, run the following commands:
- Install the sample application.
- Run the sample application with the steps in Run out-of-the-box simulation_sample_amr_simple_motion.
- Install the sample application.

