Update grpcServer.py

This commit is contained in:
NiranthS 2020-04-23 23:09:52 +05:30 committed by GitHub
parent 0500154739
commit 168578245f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,10 @@ import time
useDirect = False useDirect = False
usePort = True usePort = True
import pybullet_data
p.connect(p.GUI) p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
id = p.loadPlugin("grpcPlugin") id = p.loadPlugin("grpcPlugin")
#dynamically loading the plugin #dynamically loading the plugin
#id = p.loadPlugin("E:/develop/bullet3/bin/pybullet_grpcPlugin_vs2010_x64_debug.dll", postFix="_grpcPlugin") #id = p.loadPlugin("E:/develop/bullet3/bin/pybullet_grpcPlugin_vs2010_x64_debug.dll", postFix="_grpcPlugin")