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.1.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for silverbullet-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4556571a76447f1ca5724d8af9432b043afe5e718f0f23c84e8ec6ff00ac50d6 |
|
MD5 | 34f6f0b20d40fddb5ab023fd72565def |
|
BLAKE2b-256 | 99fe4b7d3f1abc3bfa0ee1b412a123f072f9ede70c6412458f6b480836c2da30 |