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:
Erwin Coumans
2016-04-30 11:18:54 -07:00
parent ab4299f517
commit 1d0f038aad
5 changed files with 185 additions and 2 deletions

View File

@@ -73,6 +73,14 @@
description = "Enable Lua scipting support in Example Browser"
}
newoption
{
trigger = "python",
description = "Enable Python scripting (experimental, use Physics Server in Example Browser). "
}
newoption {
trigger = "targetdir",
value = "path such as ../bin",
@@ -192,6 +200,9 @@
if _OPTIONS["lua"] then
include "../examples/ThirdPartyLibs/lua-5.2.3"
end
if _OPTIONS["python"] then
include "../examples/pybullet"
end
if not _OPTIONS["no-test"] then
include "../test/SharedMemory"