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.2.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for silverbullet-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d83aebf038b8d9ded4e06ab446d1433aad44d3b141ed0618c8230bc80f17f74 |
|
MD5 | 75067d570beec1e9c3b9480f9c952b93 |
|
BLAKE2b-256 | cdae737438144c7c7138c974903a5d91b5ba3e58b6dc10635dbc7aadeed60255 |