]> defiant.homedns.org Git - ros_wild_thumper.git/commitdiff
revert www changes from last commit
authorErik Andresen <erik@vontaene.de>
Sat, 24 Oct 2020 18:00:15 +0000 (20:00 +0200)
committerErik Andresen <erik@vontaene.de>
Sat, 24 Oct 2020 18:00:15 +0000 (20:00 +0200)
www/assets/javascripts/application.js
www/index.html

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) {
index 8202c20b1fdf9c1c256778bb12c4cd71d31fa1f7..15e2aed484069c100bcae030a87fd390722b5d00 100644 (file)
@@ -22,7 +22,7 @@
                <script src="assets/javascripts/vue.js"></script>
                <script src="assets/javascripts/application.js"></script>
                <script type="text/javascript">
-                       const robothostname="localhost"
+                       const robothostname="wildthumper"
                </script>
 
                <title>Wild Thumper control</title>