ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

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

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

damonkohler gravatar image

That isn't currently implemented in rosjava. See:

If you'd like to be notified when support is added, please file an issue:

edit flag offensive delete link more

Question Tools


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

Seen: 408 times

Last updated: Dec 04 '11