Skip to main content

shallow but powerful wrapper around pybullet

Project description

silverbullet

Codacy Badge Travis CI pypi Reviewed by Hound license GitHub release

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


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 hashes)

Uploaded Source

Built Distribution

silverbullet-0.3.0-py3-none-any.whl (18.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page