Bullet-based simulation for SoftBank Robotics' robots
Project description
qibullet
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, 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qibullet-1.0.12.tar.gz
.
File metadata
- Download URL: qibullet-1.0.12.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.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43d155a4b4f125d5f84db0c49d1934f59361518fbaf443401656f150c723a3ee |
|
MD5 | f3cb4ce02750efaac6337d748f78a6b2 |
|
BLAKE2b-256 | 5eb0e8bfa3b62ef375e02a24fe14e19de49c2b0732890bf637b6563dd41ffae1 |
File details
Details for the file qibullet-1.0.12-py2-none-any.whl
.
File metadata
- Download URL: qibullet-1.0.12-py2-none-any.whl
- Upload date:
- Size: 2.2 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1289dd73de09886953da6897aebfe9a79ce5a26640572e94aa83b5a97a42c765 |
|
MD5 | b80436816be60e532bfd5d790450a8ad |
|
BLAKE2b-256 | 5aec7bc9f2b226bb29d6f4ad145d2b3be3fc5bee16d3d723cfdb30fb1c83baea |