nh.getPublishedTopics() is not a function
ding511265378 opened this issue · comments
I want to get the topics that is being sent, should I use this function(getPublishedTopics() )?
But it reminds me that is not a function. What is wrong with my usage
const rosnodejs = require('rosnodejs');
rosnode.js.initNode('my_node');
const nh = rosnodejs.nh;
console.log(nh.getPublishedTopics());
I want to get the topics that is being sent, should I use this function(getPublishedTopics() )?
But it reminds me that is not a function. What is wrong with my usage
const rosnodejs = require('rosnodejs');
rosnode.js.initNode('my_node');
const nh = rosnodejs.nh;
console.log(nh.getPublishedTopics());
resolved
I want to get the topics that is being sent, should I use this function(getPublishedTopics() )?
But it reminds me that is not a function. What is wrong with my usage
const rosnodejs = require('rosnodejs');
rosnode.js.initNode('my_node');
const nh = rosnodejs.nh;
console.log(nh.getPublishedTopics());
I want to get the topics that is being sent, should I use this function(getPublishedTopics() )?
But it reminds me that is not a function. What is wrong with my usage
const rosnodejs = require('rosnodejs');
rosnode.js.initNode('my_node');
const nh = rosnodejs.nh;
console.log(nh.getPublishedTopics());