Skip to main content

Bullet-based simulation for SoftBank Robotics' robots

Project description

qibullet Build Status pypi Gitter chat

Bullet-based python simulation for SoftBank Robotics' robots.

Installation

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

Usage

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)

    # Spawning a virtual Pepper robot, at the origin of the WORLD frame, and a
    # ground plane
    pepper = simulation_manager.spawnPepper(
        client_id,
        translation=[0, 0, 0],
        quaternion=[0, 0, 0, 1],
        spawn_ground_plane=True)

    # Or a NAO robot, at a default position
    pepper = simulation_manager.spawnNao(
        client_id,
        spawn_ground_plane=True)

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

    pepper = PepperVirtual()

    pepper.loadRobot(
      translation=[0, 0, 0],
      quaternion=[0, 0, 0, 1],
      physicsClientId=client_id)

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

Documentation

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
doxygen

The repository also contains a wiki, providing some tutorials.

Citations

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

Paper coming soon...

Troubleshooting

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.

License

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.

Source Distribution

qibullet-1.1.2.tar.gz (7.5 MB view details)

Uploaded Source

Built Distribution

qibullet-1.1.2-py2-none-any.whl (7.5 MB view details)

Uploaded Python 2

File details

Details for the file qibullet-1.1.2.tar.gz.

File metadata

  • Download URL: qibullet-1.1.2.tar.gz
  • Upload date:
  • Size: 7.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12

File hashes

Hashes for qibullet-1.1.2.tar.gz
Algorithm Hash digest
SHA256 fac43314599f5b09417921d2e7cd904617aef0e69ca6686e4f5a6efd67dd4601
MD5 3d7c5bab29c133b5e98f4f34254e4317
BLAKE2b-256 a28c93a0b3f78c62bc8c2eda9364b62058535ceddfe629a95214343eae11cee8

See more details on using hashes here.

File details

Details for the file qibullet-1.1.2-py2-none-any.whl.

File metadata

  • Download URL: qibullet-1.1.2-py2-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12

File hashes

Hashes for qibullet-1.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 a8a99e2f38bf80df162c89b77a46bf33104e7b3baba56223b507dc08b679ef2f
MD5 0378f38fed6b076515a31973e1ff17fe
BLAKE2b-256 03414eaa9733184de618cb9b7fc49ad76e33c8d3a931a707e08414820b8cddc4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page