Skip to main content

Bullet-based simulation for SoftBank Robotics' robots

Project description

qibullet Build Status pypi

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

Please note that only the Pepper robot is currently handled by this module. A robot can be spawn 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 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.

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

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.

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.0.10.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

qibullet-1.0.10-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qibullet-1.0.10.tar.gz
  • Upload date:
  • Size: 2.1 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.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.5.2

File hashes

Hashes for qibullet-1.0.10.tar.gz
Algorithm Hash digest
SHA256 b8a8a6859ead3f687839a6d73069c3ea27489dc2ba6c9552065ebb5bf5f87f90
MD5 6d8c90bb3633224577b1f311df7ed73a
BLAKE2b-256 1f3566510c616efff2c4d50d1d5e652dd9bf4191f966e3a07bbd24adf695c8b2

See more details on using hashes here.

File details

Details for the file qibullet-1.0.10-py3-none-any.whl.

File metadata

  • Download URL: qibullet-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.5.2

File hashes

Hashes for qibullet-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7a093b11fdbb18102bb53c70f0082d07c9827061e4ff5d0c1efc8fdda441e7a9
MD5 22f10f3e049a04092f87a173851561fe
BLAKE2b-256 9cc3db8f296ed440371161130136948f187640b694482c31d30013d23259d62e

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