bullet3/examples/ExampleBrowser
erwincoumans 0efc67841d allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system)
add grpcPlugin, it can work in GUI, SHARED_MEMORY_SERVER, DIRECT and other modes.
example script to start server from pybullet:
import pybullet as p
p.connect(p.GUI)
#if statically linked plugin
id = p.loadPlugin("grpcPlugin")
#dynamics loading the plugin
#id = p.loadPlugin("E:/develop/bullet3/bin/pybullet_grpcPlugin_vs2010_x64_debug.dll", postFix="_grpcPlugin")

#start the GRPC server at hostname, port
if (id>=0):
	p.executePluginCommand(id, "localhost:1234")

Only in DIRECT mode, since there is no 'ping' you need to call to handle RCPs:
numRPC = 10
while (1):
	p.executePluginCommand(id, intArgs=[numRPC])
2018-09-05 17:58:14 -07:00
..
GwenGUISupport example browser: fix 'clamp-to-integer' on GUI-sliders 2017-06-04 17:34:21 -07:00
CMakeLists.txt Merge remote-tracking branch 'upstream/master' into multibody_mlcp_solver_v2 2018-08-06 10:34:43 -07:00
CollisionShape2TriangleMesh.cpp safe normalize on degenerate triangles 2018-07-30 12:21:02 +02:00
CollisionShape2TriangleMesh.h Remove unused ROS urdf (was replaced by Bullet UrdfParser. 2016-05-12 23:03:12 -07:00
EmptyBrowser.h rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming 2015-04-29 13:33:26 -07:00
EmptyExample.h enable URDF loading throught the 'File/Open' menu 2015-05-01 11:42:14 -07:00
ExampleBrowserInterface.h rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming 2015-04-29 13:33:26 -07:00
ExampleEntries.cpp Fix typo in demo name: MultiDofCreateFunc --> MultiDof 2018-08-06 10:42:25 -07:00
ExampleEntries.h Remove unused ROS urdf (was replaced by Bullet UrdfParser. 2016-05-12 23:03:12 -07:00
GL_ShapeDrawer.cpp allow obsolete OpenGL2 drawer to render with z-up axis. 2016-11-12 11:59:40 -08:00
GL_ShapeDrawer.h allow obsolete OpenGL2 drawer to render with z-up axis. 2016-11-12 11:59:40 -08:00
InProcessExampleBrowser.cpp fix posix memory release issues 2018-05-02 15:39:16 -07:00
InProcessExampleBrowser.h bump up pybullet setup.py version, make B3_NO_PYTHON_FRAMEWORK default on Mac 2017-08-18 08:53:46 -07:00
main.cpp fix signal handling in ExampleBrowser on linux/mac on termination 2017-10-05 12:59:58 -07:00
OpenGLExampleBrowser.cpp PyBullet: add signed distance field support, with example/signedDistanceField.py 2018-04-16 22:57:43 +02:00
OpenGLExampleBrowser.h VR video recording, use command-line --mp4=videoname.mp4 2017-02-16 14:19:09 -08:00
OpenGLGuiHelper.cpp fix SoftDemo crash, due to changes in OpenGLGuiHelper rendering 2018-05-01 09:23:08 -07:00
OpenGLGuiHelper.h PyBullet: allow to replace existing debug lines in addUserDebugLine through the replaceItemUniqueId argument 2018-06-22 16:47:20 -07:00
premake4.lua allow pybullet to connect to GRPC server. (need to use flag --enable_grpc in premake build system) 2018-09-05 17:58:14 -07:00