How to use the expandTopicName function from bindings
Find comprehensive JavaScript bindings.expandTopicName code examples handpicked from public code repositorys.
GitHub: RobotWebTools/rclnodejs
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038
* Return the number of publishers on a given topic. * @param {string} topic - The name of the topic. * @returns {number} - Number of publishers on the given topic. */ countPublishers(topic) { let expandedTopic = rclnodejs.expandTopicName( topic, this.name(), this.namespace() );
65
244
27
+ 107 other calls in file
GitHub: RobotWebTools/rclnodejs
379 380 381 382 383 384 385 386 387 388
* @param {string} nodeName - Name of the node that this topic is associated with. * @param {string} nodeNamespace - Namespace that the topic is within. * @return {string} Expanded topic name which is fully qualified. */ expandTopicName(topicName, nodeName, nodeNamespace) { return rclnodejs.expandTopicName(topicName, nodeName, nodeNamespace); }, createMessage(type) { const typeClass = loader.loadInterface(type);
65
244
0
bindings.createKey is the most popular function in bindings (8616 examples)