Skip to main content

Bullet-based simulation for SoftBank Robotics' robots

Project description

qiBullet unit-tests codecov pypi Downloads Gitter chat

Bullet-based python simulation for SoftBank Robotics' robots.


The following modules are required:

  • numpy
  • pybullet

The qiBullet module can be installed via pip, for python 2.7 and python 3:

pip install --user qibullet

Additional resources (robot meshes and URDFs) are required in order to be able to spawn a Pepper, NAO or Romeo robot in the simulation. These extra resources will be installed in your home folder:

  • /home/username/.qibullet on Linux and macOS
  • C:\Users\username\.qibullet on Windows

The installation of the additional resources will automatically be triggered if you try to spawn a Pepper, NAO or Romeo for the first time. If qiBullet finds the additional resources in your local folder, the installation won't be triggered. The robot meshes are under a specific license, you will need to agree to that license in order to install them. More details on the installation process can be found on the wiki.


A robot can be spawned via the SimulationManager class:

from qibullet import SimulationManager

if __name__ == "__main__":
    simulation_manager = SimulationManager()

    # Launch a simulation instances, with using a graphical interface.
    # Please note that only one graphical interface can be launched at a time
    client_id = simulation_manager.launchSimulation(gui=True)

    # Selection of the robot type to spawn (True : Pepper, False : NAO)
    pepper_robot = True

    if pepper_robot:
      # Spawning a virtual Pepper robot, at the origin of the WORLD frame, and a
      # ground plane
      pepper = simulation_manager.spawnPepper(
          translation=[0, 0, 0],
          quaternion=[0, 0, 0, 1],
      # Or a NAO robot, at a default position
      nao = simulation_manager.spawnNao(

Or using loadRobot from the PepperVirtual class if you already have a simulated environment:

    pepper = PepperVirtual()

      translation=[0, 0, 0],
      quaternion=[0, 0, 0, 1],

More snippets can be found in the examples folder, or on the wiki

:warning: The camera subscription system of qiBullet 1.4.0 (and lesser) is deprecated, use the new system


The qiBullet API documentation can be found here. The documentation can be generated via the following command (the doxygen package has to be installed beforehand, and the docs folder has to exist):

cd docs

The repository also contains a wiki, providing some tutorials.


Please cite qiBullet if you use this repository in your publications:

  title={qiBullet, a Bullet-based simulator for the Pepper and NAO robots},
  author={Busy, Maxime and Caniot, Maxime},
  journal={arXiv preprint arXiv:1909.00779},


OpenGL driver

If you encounter the message:

Workaround for some crash in the Intel OpenGL driver on Linux/Ubuntu

Your computer is using the Intel OpenGL driver. Go to Software & Updates, Additional Drivers, and select a driver corresponding to your GPU.


Licensed under the Apache-2.0 License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for qibullet, version 1.4.3
Filename, size File type Python version Upload date Hashes
Filename, size qibullet-1.4.3-py3-none-any.whl (5.8 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size qibullet-1.4.3.tar.gz (5.7 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page