-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create public Python function for rostopic list in rostopic package #946
Labels
Comments
I don't disagree with you, but FWIW, what you suggest is exactly how rosbridge handles inspecting the system: |
EliteMasterEric
added a commit
to EliteMasterEric/ros_comm
that referenced
this issue
Aug 18, 2017
The existing rostopic_list functions output straight to print() calls, so they are only functional for the CLI. Resolves issue ros#946.
EliteMasterEric
added a commit
to EliteMasterEric/ros_comm
that referenced
this issue
Aug 21, 2017
The existing rostopic_list functions output straight to print() calls, so they are only functional for the CLI. Resolves issue ros#946. Added new public function to tests. Updated functions to use new public function to remove redundancy.
EliteMasterEric
added a commit
to EliteMasterEric/ros_comm
that referenced
this issue
Aug 23, 2017
The existing rostopic_list functions output straight to print() calls, so they are only functional for the CLI. Resolves issue ros#946. Added new public function to tests. Updated functions to use new public function to remove redundancy.
This was referenced Aug 23, 2017
Should this be closed since get_topic_list() has been merged? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the only function
rostopic
has for listing topics is private, and it is only useful for the cli usecase because it callsprint
.rosgraph.Master("/rostopic").getSystemState()
may be used instead of rostopic, but this seems like an abuse of an API which is meant for graph image generation.I would like to propose that a public
rostopic.list
function be added to therostopic
package, listing all topic names (and perhaps types).The text was updated successfully, but these errors were encountered: