Add bag playing label

This commit is contained in:
David Walsh
2019-02-28 21:17:37 -05:00
parent 0ec913ba9e
commit c96dbcd0d8
2 changed files with 20 additions and 4 deletions

View File

@@ -40,6 +40,17 @@ modeStatus.subscribe(function(message) {
}
});
// Playing Bag
var bagPlayingTopic = new ROSLIB.Topic({
ros : ros,
name : '/aescape/bags/playing',
messageType : 'std_msgs/String'
});
bagPlayingTopic.subscribe(function(message) {
document.getElementById("bagPlayingText").innerHTML = message.data
});
////////////////////////////////////////////////////////////////