only add notifications if there is a plugin that needs them

call the 'reportNotifications' in GRPC server main
This commit is contained in:
Erwin Coumans
2018-09-04 19:24:31 -07:00
parent 18b782847d
commit 31b06f508a
3 changed files with 27 additions and 5 deletions

View File

@@ -62,8 +62,9 @@ def run():
print("PyBullet client received: " , response)
for i in range (1000):
i=0
while(True):
i=i+1
print("submit StepSimulationCommand: ", i)
response = stub.SubmitCommand(pybullet_pb2.PyBulletCommand(stepSimulationCommand=pybullet_pb2.StepSimulationCommand()))
print("PyBullet client received: " , response.statusType)