only add notifications if there is a plugin that needs them
call the 'reportNotifications' in GRPC server main
This commit is contained in:
@@ -135,6 +135,7 @@ private:
|
||||
if (cmdPtr)
|
||||
{
|
||||
bool hasStatus = m_comProc->processCommand(*cmdPtr, serverStatus, &buffer[0], buffer.size());
|
||||
m_comProc->reportNotifications();
|
||||
double timeOutInSeconds = 10;
|
||||
b3Clock clock;
|
||||
double startTimeSeconds = clock.getTimeInSeconds();
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user