Skip to content
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

Fixed action_servers filter to allow more than one namespace #305

Merged
merged 2 commits into from
Dec 8, 2017
Merged

Fixed action_servers filter to allow more than one namespace #305

merged 2 commits into from
Dec 8, 2017

Conversation

milesial
Copy link
Contributor

@milesial milesial commented Dec 7, 2017

Context

The service /rosapi/action_servers uses a filter function on topic names to detect action servers.

Problem

This function worked only with topics of type /namespace/goal, with only one namespace.

Fix

It is now capable of detecting for example /ns1/ns2/server/goal (when all goal, success, cancel, feedback and status topics are alive, of course).
The service returns an array of the full namespaces, /ns1/ns2/server being one of them here for example

Copy link
Member

@Behery Behery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@jihoonl
Copy link
Member

jihoonl commented Dec 8, 2017

Thanks for the help. @Behery

@jihoonl jihoonl merged commit b4d2fda into RobotWebTools:develop Dec 8, 2017
@jihoonl
Copy link
Member

jihoonl commented Dec 8, 2017

And thanks for the patch @milesial :)

Behery pushed a commit to Behery/rosbridge_suite that referenced this pull request Jan 9, 2018
…bTools#305)

* Modified action_servers filter to detect topics with more than one namespace

* Fixed to return the full namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants