added sleep to simulate processing

This commit is contained in:
Simon Pirkelmann 2020-09-14 17:21:37 +02:00
parent 6acc73abd2
commit 436abc5ccb

1
app.py
View File

@ -38,6 +38,7 @@ class Game:
for p in self.action_stack.keys(): for p in self.action_stack.keys():
current_actions += [(p, self.action_stack[p][i])] current_actions += [(p, self.action_stack[p][i])]
print("actions in step {}: {}".format(i, ["robot {} action {}".format(c[0], c[1]) for c in current_actions])) print("actions in step {}: {}".format(i, ["robot {} action {}".format(c[0], c[1]) for c in current_actions]))
time.sleep(1)
#self.comm_socket.send() #self.comm_socket.send()