Skip to content

Get and Display Topics Module #46

Description

@adamseth2

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);
  });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions