def ping(self):
        start = time()
        self.ctrl_sock.send_json(msgs.ping_req())
        reply = self.ctrl_sock.recv_json()
        reply_time = (time() - start) * 1000
        if reply["type"] != "ping_reply":
            print "Ping failed: {}".format(reply)
        return reply_time
Ping the control server.
dataset/ETHPy150Open IEEERobotics/bot/bot/client/ctrl_client.py/CtrlClient.ping