1 Commits

Author SHA1 Message Date
Chuck
823ce596d5 Initial changes to run UI on Atlas network. 2019-04-01 09:40:58 -04:00
3 changed files with 9 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ ros.connected = false;
// ros.connectionName = 'ws://192.168.1.105:9090';
// ros.connectionName = 'ws://localhost:9090';
ros.connectionName = 'ws://titan.aescape.co:9090';
// ros.connectionName = 'ws://titan.aescape.co:9090';
ros.connectionName = 'ws://atlas.local:9090';
// If there is an error on the backend, an 'error' emit will be emitted.
ros.on('error', function(error) {

View File

@@ -136,6 +136,12 @@ Tutorials can be found here: http://www.w3schools.com/bootstrap/default.asp
document.getElementById("ConnectionIPInput").value = ros.connectionName;
</script>
</button> -->
<button id="AtlasButton" type="button" onclick="ros.attemptConnection('ws://atlas.local:9090')" class="btn btn-primary">
atlas.local
<script type="text/javascript">
document.getElementById("ConnectionIPInput").value = ros.connectionName;
</script>
</button>
<button id="TitanButton" type="button" onclick="ros.attemptConnection('ws://titan.aescape.co:9090')" class="btn btn-primary">
titan.aescape.co
<script type="text/javascript">

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
cd $(rospack find aescape_lab_ui)
python3 -m http.server 8000 --bind titan.aescape.co
python3 -m http.server 8000 --bind atlas.local