Ejemplo n.º 1
0
def mlstep():
    global myclientrte
    myclientrte = stack.routetosender()
    sim.op()
Ejemplo n.º 2
0
 def send_event(self, eventname, data=None, target=None):
     # On the sim side, target is obtained from the currently-parsed stack command
     target = target or stack.routetosender() or [b'*']
     pydata = msgpack.packb(data, default=encode_ndarray, use_bin_type=True)
     self.event_io.send_multipart(target + [eventname, pydata])
Ejemplo n.º 3
0
 def send_event(self, eventname, data=None, target=None):
     # On the sim side, target is obtained from the currently-parsed stack command
     target = target or stack.routetosender() or [b'*']
     pydata = msgpack.packb(data, default=encode_ndarray, use_bin_type=True)
     self.event_io.send_multipart(target + [eventname, pydata])
Ejemplo n.º 4
0
def mlstep():
    global myclientrte
    myclientrte = stack.routetosender()
    sim.op()