added sorting to list of nodes and topics
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user