In roslibManager.ts, create a method named getTopics. Return it at the bottom, and then create a .vue component in components folder named, TopicList.vue. Replace one of the h1 tags in devtab to the component you just made.
What it should do
The component should have a button that Fetches the topics and topic types from ros. Then the result of it should be displayed in a scroller window.
Use this as references as the getTopics method would essentially return topics and types
ros.ros.getTopics(({ topics, types }) => {
console.log(topics);
console.log(types);
});
In roslibManager.ts, create a method named
getTopics. Return it at the bottom, and then create a .vue component in components folder named, TopicList.vue. Replace one of the h1 tags in devtab to the component you just made.What it should do
The component should have a button that Fetches the topics and topic types from ros. Then the result of it should be displayed in a scroller window.
Use this as references as the getTopics method would essentially return topics and types