bullet3/examples/pybullet/test.py
Erwin Coumans 1d0f038aad add initial pybullet module, using the shared memory API
(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.
2016-04-30 11:18:54 -07:00

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