ros.on('close', function() {
information.alerts.push({message: "Connection to websocket server closed.", info: true});
- //setTimeout(function() {
- // connect();
- //}, 2000);
+ setTimeout(function() {
+ connect();
+ }, 2000);
});
//tfClient.subscribe('base_link', function(tf) {