Added Rhea lab_ui config.

This commit is contained in:
David Walsh
2019-04-16 19:30:41 -04:00
parent e0fe291366
commit 5a822a5927
3 changed files with 18 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ bagNotifier.subscribe(function(message) {
// attept to connect to the ros master from the IP given orgrab it from the form
ros.attemptConnection = function(ipAddress)
{
ros.close();
if( typeof ipAddress !== "undefined")
{
ros.connectionName = ipAddress;
@@ -129,6 +130,7 @@ ros.attemptConnection = function(ipAddress)
}
console.log('Connection = ' + ros.connectionName);
ros.connect(ros.connectionName);
getMasterName();
}
function toggleRecording()