added sorting to list of nodes and topics

This commit is contained in:
Glen Turner
2015-06-10 18:27:56 -04:00
parent a8a272919b
commit 93d9eb5bb9
5 changed files with 18 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ ros.nodes = [];
ros.recording = false;
ros.connectionName = 'ws://192.168.0.100:9090';
ros.connectionName = 'ws://192.168.1.105:9090';
// If there is an error on the backend, an 'error' emit will be emitted.
ros.on('error', function(error) {
@@ -28,11 +28,11 @@ ros.on('connection', function() {
document.getElementById("ConnectionIPLabel").innerHTML = 'Connection made at:';
document.getElementById("rosbridgeconnection_badge").innerHTML = 'Connected';
document.getElementById("ConnectionButton").className = "btn btn-success"
ros.nodes = [];
ros.topics = [];
});
ros.on('close', function() {
@@ -178,4 +178,4 @@ function toggleRecording()
ros.recording = false
publishBagMessage("STOP")
}
}
}