Fix default rosbridge connection
This commit is contained in:
@@ -7,8 +7,8 @@ ros.recording = false;
|
|||||||
ros.connected = false;
|
ros.connected = false;
|
||||||
|
|
||||||
// ros.connectionName = 'ws://192.168.1.105:9090';
|
// ros.connectionName = 'ws://192.168.1.105:9090';
|
||||||
// ros.connectionName = 'ws://localhost:9090';
|
ros.connectionName = 'ws://localhost:9090';
|
||||||
ros.connectionName = 'ws://titan.aescape.co:9090';
|
// ros.connectionName = 'ws://titan.aescape.co:9090';
|
||||||
|
|
||||||
// If there is an error on the backend, an 'error' emit will be emitted.
|
// If there is an error on the backend, an 'error' emit will be emitted.
|
||||||
ros.on('error', function(error) {
|
ros.on('error', function(error) {
|
||||||
|
|||||||
22
index.html
22
index.html
@@ -133,31 +133,25 @@ Tutorials can be found here: http://www.w3schools.com/bootstrap/default.asp
|
|||||||
Predefined ROSBridge Connections
|
Predefined ROSBridge Connections
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<!-- <button id="localhostButton" type="button" onclick="ros.attemptConnection('ws://localhost:9090')" class="btn btn-primary">
|
<button id="localhostButton" type="button" onclick="ros.attemptConnection('ws://localhost:9090')" class="btn btn-primary">
|
||||||
localhost
|
localhost
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
||||||
</script>
|
</script>
|
||||||
</button>
|
</button>
|
||||||
|
<button id="TitanButton" type="button" onclick="ros.attemptConnection('ws://titan.local:9090')" class="btn btn-primary">
|
||||||
|
Titan
|
||||||
|
<script type="text/javascript">
|
||||||
|
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
||||||
|
</script>
|
||||||
|
</button>
|
||||||
<button id="PhoebeButton" type="button" onclick="ros.attemptConnection('ws://phoebe.local:9090')" class="btn btn-primary">
|
<button id="PhoebeButton" type="button" onclick="ros.attemptConnection('ws://phoebe.local:9090')" class="btn btn-primary">
|
||||||
Phoebe
|
Phoebe
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
||||||
</script>
|
</script>
|
||||||
</button>
|
</button>
|
||||||
<button id="TitanButton" type="button" onclick="ros.attemptConnection('ws://titan.local:9090')" class="btn btn-primary">
|
<button id="RheaButton" type="button" onclick="ros.attemptConnection('ws://rhea.local:9090')" class="btn btn-primary">
|
||||||
Titan
|
|
||||||
<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">
|
|
||||||
Phoebe
|
|
||||||
<script type="text/javascript">
|
|
||||||
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
|
||||||
</script>
|
|
||||||
</button>
|
|
||||||
<button id="RheaButton" type="button" onclick="ros.attemptConnection('ws://titan.aescape.co:9091')" class="btn btn-primary">
|
|
||||||
Rhea
|
Rhea
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
document.getElementById("ConnectionIPInput").value = ros.connectionName;
|
||||||
|
|||||||
Reference in New Issue
Block a user