forked from marva/sumorobot-web
Update sumorobot.js
This commit is contained in:
parent
4ca87e89c0
commit
596ccb40e0
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user