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.
This commit is contained in:
7
examples/pybullet/test.py
Normal file
7
examples/pybullet/test.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import pybullet
|
||||
pybullet.loadURDF('r2d2.urdf')
|
||||
pybullet.loadURDF('kuka_lwr/kuka.urdf',3,0,0)
|
||||
|
||||
for x in range(0, 1000000):
|
||||
pybullet.step()
|
||||
|
||||
Reference in New Issue
Block a user