Add Load and Play Buttons
This commit is contained in:
@@ -5,6 +5,18 @@
|
||||
// Publishers
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function triggerTopic(topicName)
|
||||
{
|
||||
var topic = new ROSLIB.Topic({
|
||||
ros : ros,
|
||||
name : topicName,
|
||||
messageType : 'std_msgs/Empty'
|
||||
});
|
||||
|
||||
var msg = new ROSLIB.Message({});
|
||||
|
||||
topic.publish(msg);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// Topics
|
||||
@@ -279,4 +291,5 @@ function triggerMessageService(serviceName, textInput)
|
||||
+ ': '
|
||||
+ result.sum);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user