Ask Your Question
0

Return list of available topics in rosjava?

asked 2011-11-28 07:56:45 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello, I am trying to make a Swing GUI where I can subscribe to different available topics at run-time. The idea would be that you could right click somewhere on the GUI, and a list of available topics would pop up. You could then select a topic and it would automatically create a widget that would subscribe to the said topic and display relevant information.

Is there a way to list all of the topics running on a core from within a rosjava program? Ideally, it would act in a manner similar to calling rostopic list, but allow the program running to read in the names of the topics. Any help would be greatly appreciated.

Thank you,

-Joe Amato

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-12-04 04:47:30 -0500

damonkohler gravatar image

That isn't currently implemented in rosjava. See: http://code.google.com/p/rosjava/source/browse/rosjava/src/main/java/org/ros/internal/node/client/MasterClient.java

If you'd like to be notified when support is added, please file an issue: http://code.google.com/p/rosjava/issues/list

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-11-28 07:56:45 -0500

Seen: 332 times

Last updated: Dec 04 '11