From c6fac6e4701c2f230bbe654d93009848c4a860e7 Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 8 Jul 2019 16:23:56 -0400 Subject: [PATCH] removed console logs and fixed loading bug --- client/app/components/coordinator/js/ros_scripts.js | 7 +------ client/app/components/coordinator/js/update_guis.js | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/client/app/components/coordinator/js/ros_scripts.js b/client/app/components/coordinator/js/ros_scripts.js index 3f504c7..d590b22 100644 --- a/client/app/components/coordinator/js/ros_scripts.js +++ b/client/app/components/coordinator/js/ros_scripts.js @@ -208,7 +208,6 @@ class ArmControls } if (forceTypeCode == 'observed') { var forceType = "Observed"; - console.log(message) } if (forceTypeCode == 'commanded') { var forceType = "Commanded"; @@ -375,8 +374,6 @@ playbackStatus.subscribe(function(message) { message = JSON.parse(message.data); status = message.status; bagName = message.bag_file; - console.log("status"); - console.log(status); if (status != lastPlaybackStatus) { if (status === "playing") { @@ -385,9 +382,7 @@ playbackStatus.subscribe(function(message) { triggerService('/left/aescape/mode/activateReadyController'); triggerService('/right/aescape/mode/activateReadyController'); displayTaggingOptions('play'); - } else if (status === "loaded" && lastPlaybackStatus !== "playing") { - console.log("lastPlaybackStatus"); - console.log(lastPlaybackStatus); + } else if (status === "loaded") { displayMessage(true, "Loaded the selected bag file!") } lastPlaybackStatus = status; diff --git a/client/app/components/coordinator/js/update_guis.js b/client/app/components/coordinator/js/update_guis.js index f471fc7..48afeb4 100644 --- a/client/app/components/coordinator/js/update_guis.js +++ b/client/app/components/coordinator/js/update_guis.js @@ -327,9 +327,6 @@ function loadSelectedBagFile(selectedBagName, singleArmMode, callback) { var toSendString = JSON.stringify(toSend); - console.log("toSend string") - console.log(toSendString) - var topic = new ROSLIB.Topic({ ros : ros, name : "/left/playback/control",