mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
1d0f038aad
(for now, start the example browser in 'physics server', then compile using premake --python option, then run python in the bin folder (so it finds pybullet.so) and run the test.py script in examples/pybullet folder. The robotics shared memory C API is very suitable for this.
8 lines
140 B
Python
8 lines
140 B
Python
import pybullet
|
|
pybullet.loadURDF('r2d2.urdf')
|
|
pybullet.loadURDF('kuka_lwr/kuka.urdf',3,0,0)
|
|
|
|
for x in range(0, 1000000):
|
|
pybullet.step()
|
|
|