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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user