shallow but powerful wrapper around pybullet
Project description
silverbullet
shallow but powerful wrapper around pybullet
Installation
pip install silverbullet
Usage
from silverbullet import Scene, Robot
# GUI mode
# from silverbullet import Connection, Mode
# conn = Connection(mode=Mode.GUI)
# scene = Scene(timestep=0.01, frame_skip=4, connection=conn)
scene = Scene(timestep=0.01, frame_skip=4)
robot = Robot.load_urdf(scene, "robot.urdf")
robot.bring_on_the_ground()
while True:
# You can control and observe the robot
# e.g. robot.set_joint_torque('joint1', 1)
do_something(robot)
# This will step simulation
scene.step()
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
silverbullet-0.3.0.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file silverbullet-0.3.0.tar.gz
.
File metadata
- Download URL: silverbullet-0.3.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d02acad0cb99620c08839ed42b6c14f49277379d1a67d8365348572f2bb5936 |
|
MD5 | 00f0a0e33c182a5ca7626cfba8f8a8a8 |
|
BLAKE2b-256 | fc1482f3cbfdd73b5834350cff2b368ac224c7d4dd0b39d0d3deab2627f82650 |
File details
Details for the file silverbullet-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: silverbullet-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.1 Linux/4.15.0-1026-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d31a618d613c91da964b5b07594ff5ecb854b09f92227ac260d3de24c2f295 |
|
MD5 | ba40307b2dc824efa3626ed2d4744067 |
|
BLAKE2b-256 | b89ca4e96a85aaa35c9b20a92244cb3543a2f3f1eb864249488298369dc663e4 |