https://github.com/monomotion/silverbullet
shallow, but powerful wrapper around pybullet
https://github.com/monomotion/silverbullet
bullet-physics pybullet wrapper
Last synced: 7 months ago
JSON representation
shallow, but powerful wrapper around pybullet
- Host: GitHub
- URL: https://github.com/monomotion/silverbullet
- Owner: MonoMotion
- License: mit
- Created: 2019-01-19T05:33:50.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2019-02-03T09:32:01.000Z (over 6 years ago)
- Last Synced: 2025-02-15T15:51:22.061Z (8 months ago)
- Topics: bullet-physics, pybullet, wrapper
- Language: Python
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# silverbullet
[](https://app.codacy.com/app/coord-e/silverbullet?utm_source=github.com&utm_medium=referral&utm_content=MonoMotion/silverbullet&utm_campaign=Badge_Grade_Dashboard)
[](https://travis-ci.org/MonoMotion/silverbullet)
[](https://pypi.org/project/silverbullet/)
[](https://houndci.com)
[](LICENSE)
[](https://github.com/MonoMotion/silverbullet/releases)shallow but powerful wrapper around pybullet
## Installation
```shell
pip install silverbullet
```## Usage
```python
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()
```