User Manual

In the following sections you will find user manual of the QTrobot.

1. QTrobot Power

QTrobot power button has three color states, each indicating the robot current power state:

  • LED OFF: robot is disconnected from its main power supply.
  • LED with Dim Light: robot is connected to its power supply but is not running.
  • LED Fully ON: robot is running.

Power Button Indicator

Power ON

To power the robot on, simply connect the robot's power supply1.This triggers the power on process and your robot becomes ready less than a minute. After powering on, you can see the robot face is on and the motors are in their home position. If the robot is off and it is connected to the power supply2 simply push the power button to turn on the robot.

Power OFF

To power off the robot, simply press the power button when it is on. You can see that the robot motors move to the parking position and the robot display turns off in less than one minute. The Dim light at the power button indicates that it is safe to disconnect the power supply.


Avoid turning off the robot by cutting the power supply. This may damage your product.

Methods to power off the QTrobot

Apart from using the power button, you can power off the robot in different ways:

Powering off using the robot control panel

  • Connect to robot WIFI hotspot
  • Access the control panel using http://qtrrobot or in your web browser
  • Click on "Power off" button

Power off using QTrobot tablet App

  • Connect to robot WIFI hotspot
  • Open the Tablet App
  • Shutdown the robot from the main menu

Power off using developer terminal

  • Connect to robot WIFI hotspot
  • Login into robot via SSH using provided credentials
  • Power the robot off
    ssh qtrobot@qtrobot
    sudo poweroff

2. Connecting to QTrobot WiFi Hotspot

QTrobot comes with integrated WIFI interfaces. One of them provide the hotspot to remotely connect to the robot and the other one can be used to connect the robot to public WIF and internet. From your device/PC/tablet, just look for the robot WIFI hotspot SSID and connect to it. The hotspot name is your robot name (e.g. QT100).

3. Connect to QTrobot via ssh

Your QTrobot comes with two integrated computers both running Ubuntu 16.04 LTS operating system.

  • QTROBOT (ARM Cortex-A53): This is the embedded computer of QTrobot which runs the robot main software such as motors controller, gestures, emotions and implement most of the ROS interfaces. The ROS server is running on this machine.
  • QTPC (Intel NUC i5): This is the high-performance computer of the robot which allows you to develop and run your high computational codes. QTPC is connected to QTROBOT via LAN and communicates to all robot modules using ROS. This machine also implements some of the QTrobot ROS interfaces such as 3D camera images.

Accessing QTROBOT via SSH

After connecting to the robot WIFI hotspot, open a terminal from your PC and SSH to the robot using 'qtrobot' as hostname or using IP

ssh qtrobot@qtrobot
qtrobot@qt password:*******  

Accessing QTPC via SSH

There are two ways to SSH into QTPC:

  • Via QTROBOT: after connecting to robot WIFI hotspot, first SSH to QTRBOT, then from QTROBOT terminal SSH into QTPC.
    ssh qtrobot@qtrobot
    qtrobot@qt password:*******
    ssh qtpc  
  • Directly SSH to QTPC: after connecting to robot WIFI hotspot, open a terminal from your PC and ssh to QTPC using
    ssh qtrobot@
    qtrobot@qt password:*******

4. Accessing The Control Panel

QTrobot has two web-based control panels one for QTROBOT and the other for QTPCP. These panels facilitate robot configuration such as connecting to the internet or to enable/disable robot startup scripts (see section Robot Autostart Scripts). You can connect separately to each control panel using their corresponding IPs. To connect to the QTROBOT or QTPC web control panel, after connecting to the robot WIFI hotspot:

  • For QTROBOT, open a browser and type or http://qtrobot
  • For QTPC, open a browser and type
  • Log in to the panel using the QTrobot's username and password provided to you.

5. Connecting to a Home Network and Internet

You can connect the robot to your home network and internet using the WIFI from QTPC either via terminal or using the control panel of QTPC


Do not use the QTROBOT WIFI to connect to a network. Instead use WIFI from QTPC!

Connecting to the Internet from Terminal

Open a terminal and SSH to QTPC and use 'nmtui' tool:

qtrobot@qtpc:~$ sudo nmtui

Connecting to the Internet from Control panel

Connect to the QTPC control panel and navigate to "Configure WIFI". Then simply follow the instructions.


6. Robot Autostart scripts


Assure that you completely understood the purpose of each script and you are aware of what you are doing

Autostart scripts are simply some bash scripts which are executed at robot startup time. These scripts prepare robot network, setup ROS environment, launch QTrobot motor and other controllers, setup log files and etc.

Where are they located?

there are two sets of autostart scripts on QTrobot: 1. Autostart scripts on RPI 2. Autostart scripts on NUC

Both sets are located under ~/robot/autostart folder.

How they are executed at startup time?

The scripts are run by linux Cron job scheduler. In fact, a specific corn job is configured to run script at linux boot. The other scripts are launched by and their output are redirected to the corresponding log files.

To add your own script (e.g. you can simply add the following line to the

run_script ""
run_script ""
} &>> ${LOG_FILE}

How can I access them?

You can access them via terminal of NUC/RPI or via QTrobot web interface for enable/disable them:

  1. Web interface on RPI:
  2. Web interface on NUC:

What are the main autostart scripts?

As I explained above, there are some important scripts which prepare the robot network, ROS environment and launch the motor controller and other robot interfaces. All of these scripts are running on RPI and are necessary for functionality of QTrobot.

Here are the main startup scripts on RPI:

  • prepares network routing between RPI and NUC for internet sharing and etc.
  • launches roscore
  • power on NUC via wake-on-lan.
  • launch qt_motor node including motor and gesture controllers.
  • launch qt_robot_interface node which implements QTrobot emotion (face), audio, speech, behavior and other interfaces. launch QTrobot web config interface on RPI

Here are the main startup scripts on NUC:

The NUC pc is most convenient place to develop code and run your own autostart scripts and apps. Most of the default scripts are simply running the QTrobot open source demos and examples and can be safely disabled and/or modified. There is nothing especial running by autostart scripts on NUC except: - which run Nuitrack skeleton tracking and camera interfaces.
- launch QTrobot web config interface on NUC

Where are the log files?

All programs/ROS nodes which are run by QTrobot autostart scripts redirect their standard output (info/war/error messages) to their corresponding log file. These log files can be found under ~/robot/autostart/logs folder.

7. Working directly on QTPC

Your robot has a standard Ubuntu-based PC. You can use QTPC in the same way you use a standard desktop. That greatly facilitates and accelerates your development cycle as you have a full-featured desktop directly with your QTrobot. To do that:

  • Connect a USB-C extension (or USB-C to HDMI cable) to the USB-C port of QTrobot.
  • Connect your mouse and keyboard to your USB-C extension. Alternatively you can use weirless mouse/keyboard and connect the dongle directly to USB3 port of QTrobot.
  • Connect the HDMI cable of your display to the USB-C extension or use a USB-C to HDMI cable.
  • You will see Ubuntu desktop running


You may need to connect the HDMI cable before powering up the robot to make QTPC aware of any external display.

8. Working on your PC


You don NOT need this installation if you are programming directly on the QTrobot. See previous section Working directly on QTPC.

Installing ROS

The following steps guide you through the installation of ROS Kinetic. For the complete installation guide of ROS see Install ROS


Please notice that QTrobot can be used with other versions of ROS such as Lunar and Melodic.

Installing ROS

1. Configure your Ubuntu repositories

You need to configure your Ubuntu repositories to allow "restricted" "universe" and "multiverse". You can check Ubuntu documentation for doing this.

2. Setup your sources.list

Setup your computer to accept software from

sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
3. Set up your keys

sudo apt-key adv --keyserver 'hkp://' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

4. Install

Now you can update and install ros-kinetic-desktop-full

sudo apt-get update && sudo apt-get install ros-kinetic-desktop-full

5. Setup Catkin workspace

source /opt/ros/kinetic/setup.bash
mkdir -p ~/catkin_ws/src && cd ~/catkin_ws/ && catkin_make

6. Install QTrobot ROS header files

First you need to clone our github Software repository. You can do that with this command:

git clone

After that go in the folder and copy the content of the headers folder to your Catkin devel folder.

cp -r headers/* ~/catkin_ws/devel/

Now you can access all QTrobot ROS services and messages from your PC.

Configure ROS environment for QTrobot

The following steps guide you through the configuration of your ROS environment for QTrobot.

ROS environment for QTrobot

You need to edit your ~/.bash_aliases and add following lines. Change ROS_IP to your PC IP.

source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash

## QTrobot
export ROS_IP=<your PC IP address>
export ROS_MASTER_URI=    

Which is my IP address ? To get your IP address, First you need to connect to the QTrobot WiFi hotspot. Then open a terminal on your PC and run the following command:


To apply this configuration you can open a new terminal or run this command:

source ~/.bash_aliases

Check your ROS setup

Last step is to connect to the QTrobot WiFi hotspot and test your ROS environment.


To test your environment you can list all rostopics from QTrobot. You can do that with running this command.

rostopic list
If everything is working you should see output similar to this one.


Now you can start having fun.

9. QTrobot ROS API

The QTrobot (LuxAI) interface aims to facilitate accessing basic robot functionalities leveraging a set of user-friendly ROS interfaces. Each robot’s functionality can be accessed in blocking and non-blocking mode using ROS publish/subscribe and Service/Client interfaces.


Visit QTrobot ROS wiki for ROS API

Demos & Examples

Please check our Demos and Examples to check how to use and implement QTrobot interfaces

10. Calling QTrobot APIs

You can access each robot's functionality via its publish/subscribe or service/client interfaces. For example, to use the robot 'Speech' functionality from terminal using ROS publisher, you can try:

rostopic pub /qt_robot/speech/say std_msgs/String "data: 'Hello!'"
or by using ROS service call:

rosservice call /qt_robot/speech/say "message: 'Hello!'"
or from a python script:

import rospy
from std_msgs.msg import String
# create a publisher
pub = rospy.Publisher('/qt_robot/speech/say', String, queue_size=10)
# publish a text message to TTS (non-blocking)
pub.publish("Hello! I am QT!")

  1. Only use the provided power supply with your robot. 

  2. In this case you can notice a dim light on the power button. 

  3. Windows users can use Putty (

Last update: March 9, 2020