Update sumorobot.js
This commit is contained in:
		@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user