Allow to load a urdf file in the testplugin.cpp, as first quick test, example pybullet script:

import pybullet as p
p.connect(p.GUI)
pluginUid = p.loadPlugin("E:/develop/bullet3/bin/pybullet_testplugin_vs2010_x64_debug.dll")
commandUid = 0
argument = "plane.urdf"
p.executePluginCommand(pluginUid,commandUid,argument)
p.unloadPlugin(pluginUid)
This commit is contained in:
erwincoumans
2017-09-23 09:25:00 -07:00
parent 37cfce99b2
commit 815a56c9bc
8 changed files with 50 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ class b3PluginManager
public:
b3PluginManager();
b3PluginManager(class PhysicsCommandProcessorInterface* physSdk);
virtual ~b3PluginManager();
int loadPlugin(const char* pluginPath);