From 596ccb40e01d34e3c0675c98431b6c7f95b38433 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Sat, 30 Jun 2018 18:55:21 +0200 Subject: [PATCH] Update sumorobot.js --- assets/js/sumorobot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/sumorobot.js b/assets/js/sumorobot.js index 1e1740a..83fe44b 100755 --- a/assets/js/sumorobot.js +++ b/assets/js/sumorobot.js @@ -64,7 +64,7 @@ Sumorobot.prototype.connect = function() { self.watchdogTimer = setInterval(function() { /* send a ping to the robot */ //console.log("ping the robot") - self.send("ping"); + self.send("{'to': 'sumo-" + robotId + "@00000514', 'cmd': 'ping'}"); }, 500); }; /* when the WebSocket closes */