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)
20 lines
314 B
C
20 lines
314 B
C
#ifndef TEST_PLUGIN_H
|
|
#define TEST_PLUGIN_H
|
|
|
|
#include "../b3PluginAPI.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
B3_SHARED_API int initPlugin();
|
|
B3_SHARED_API void exitPlugin();
|
|
B3_SHARED_API int executePluginCommand(struct b3PluginContext* context);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif//#define TEST_PLUGIN_H
|