def setSpeed(self, speed): udp_tx.send(protocol.makeData(protocol.SETSPEED_CMD, str(speed)), self.remoteip)
def shutdown(self): self.closeEyes() udp_tx.send(protocol.makeData(protocol.SHUTDOWN_CMD), self.remoteip)
def move(self, cmd): udp_tx.send(protocol.makeData(protocol.MOVE_CMD, str(cmd)), self.remoteip)