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-07-01 14:42:32 -07:00
2018-09-05 17:58:14 -07:00
2018-07-01 14:42:32 -07:00
2018-09-05 17:58:14 -07:00
2018-07-27 15:48:24 +02:00
2018-07-27 15:48:24 +02:00
2018-09-05 17:58:14 -07:00
2018-09-05 17:58:14 -07:00
2018-06-05 11:41:41 +10:00
2018-09-03 23:13:15 -07:00
2018-08-26 16:14:36 -07:00
2018-06-06 16:10:20 -07:00
2018-06-05 11:41:41 +10:00
2018-01-08 12:25:56 -08:00
2018-07-27 15:48:24 +02:00
2017-10-19 14:00:53 -07:00
2017-10-19 14:00:53 -07:00
2017-05-30 19:54:55 -07:00
2018-07-03 17:45:19 +02:00
2018-09-05 17:58:14 -07:00
2018-09-03 23:13:15 -07:00
2017-12-28 12:37:07 -08:00
2018-09-04 09:10:57 -07:00
2018-09-04 09:10:57 -07:00
2018-09-05 17:58:14 -07:00
2018-09-04 09:10:57 -07:00
2017-09-20 23:18:18 -07:00
2017-09-20 23:18:18 -07:00
2018-07-03 17:45:19 +02:00
2018-07-03 17:45:19 +02:00
2017-09-21 16:40:19 -07:00
2017-09-21 16:40:19 -07:00
2018-06-27 23:43:42 -07:00
2018-09-03 23:13:15 -07:00
2017-09-21 16:40:19 -07:00
2017-09-21 16:40:19 -07:00
2018-05-02 14:32:43 -07:00
2018-09-03 23:13:15 -07:00
2018-09-05 17:58:14 -07:00
2018-09-03 23:13:15 -07:00
2018-07-03 17:45:19 +02:00
2017-09-21 16:40:19 -07:00
2017-09-21 16:40:19 -07:00
2018-07-03 17:45:19 +02:00
2018-07-03 17:45:19 +02:00
2017-05-28 17:05:18 -07:00
2018-09-05 17:58:14 -07:00
2018-09-05 17:58:14 -07:00
2018-07-25 14:47:34 +02:00
2017-05-30 19:54:55 -07:00
2017-05-30 19:54:55 -07:00
2017-05-30 19:54:55 -07:00
2018-09-05 17:58:14 -07:00
2018-07-25 14:47:34 +02:00
2017-09-13 09:56:39 -07:00
2018-09-05 17:58:14 -07:00
2017-05-28 17:05:18 -07:00
2018-09-03 23:13:15 -07:00
2018-08-26 16:14:36 -07:00
2018-06-05 19:44:33 -07:00
2018-06-05 19:44:33 -07:00
2018-09-03 23:13:15 -07:00
2018-07-04 14:25:48 +02:00
2018-05-16 12:10:34 -07:00