]> defiant.homedns.org Git - ros_wild_thumper.git/blobdiff - www/assets/javascripts/application.js
revert www changes from last commit
[ros_wild_thumper.git] / www / assets / javascripts / application.js
index 02dfe59f101db11bf15bd00b1eedec34a51bdf95..1a61324e4492bf7744c2e88b3112582eafc6dabf 100644 (file)
@@ -17,9 +17,9 @@ function init() {
 
        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) {