Files
bullet3/examples
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
..
2018-02-20 21:09:31 -08:00
2018-03-05 23:05:22 +01:00
2017-03-13 11:00:56 -07:00
2016-03-10 21:15:23 -08:00
2018-06-12 17:00:16 -07:00
2017-06-02 17:40:50 -07:00
2018-02-24 14:57:49 -08:00
2018-03-05 23:05:22 +01:00
2017-11-26 20:38:50 -05:00