From cfc5bfa6ba79cfcbbf656d8fa36e746308046b55 Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 8 Jul 2019 16:50:54 -0400 Subject: [PATCH] activating ready mode when the bag gets loaded --- client/app/components/coordinator/js/ros_scripts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/app/components/coordinator/js/ros_scripts.js b/client/app/components/coordinator/js/ros_scripts.js index d590b22..c0061da 100644 --- a/client/app/components/coordinator/js/ros_scripts.js +++ b/client/app/components/coordinator/js/ros_scripts.js @@ -383,6 +383,8 @@ playbackStatus.subscribe(function(message) { triggerService('/right/aescape/mode/activateReadyController'); displayTaggingOptions('play'); } else if (status === "loaded") { + triggerService('/left/aescape/mode/activateReadyController'); + triggerService('/right/aescape/mode/activateReadyController'); displayMessage(true, "Loaded the selected bag file!") } lastPlaybackStatus = status;