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
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
nao = 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:
@article{busy2019qibullet,
title={qiBullet, a Bullet-based simulator for the Pepper and NAO robots},
author={Busy, Maxime and Caniot, Maxime},
journal={arXiv preprint arXiv:1909.00779},
year={2019}
}
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.2.0.tar.gz
.
File metadata
- Download URL: qibullet-1.2.0.tar.gz
- Upload date:
- Size: 11.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be26991242ee14bd6d5fdc4723b97cb002ca005558f3eab6749b8d89e7f78b7e |
|
MD5 | 6327c5f71e0e44b42166ae93c81f5ce0 |
|
BLAKE2b-256 | 65f75ce7d6cbbc0449269c34b643e49fecae37efcb3e50741485e8d9a9ac7318 |
File details
Details for the file qibullet-1.2.0-py2-none-any.whl
.
File metadata
- Download URL: qibullet-1.2.0-py2-none-any.whl
- Upload date:
- Size: 11.9 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/41.0.1 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a7f923b9da401798bbc8687b76188574cfbd279040d05780e9c40834d1c4dc |
|
MD5 | 5aec9a0356c114c8130abf7e25da0a9a |
|
BLAKE2b-256 | 5b9a11c88f4ed705ae02c4abf927d41bda4b33b0ddd7fbd105c7fab89e8d4e01 |