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

Use relative names for rosapi services #836

Merged

Conversation

bjsowa
Copy link
Contributor

@bjsowa bjsowa commented Jan 20, 2025

Public API Changes
None

Description
When rosbridge server is running in a namespace, we can expect rosapi services to be in the same namespace (after RobotWebTools/rosbridge_suite#992 was merged). To contact services that are in the same namespace as the rosbridge server, we can just use relative topic names (without leading slash) instead of global ones.

This will help running rosbridge in multi-robot scenarios, where each robot has its own rosbridge server and rosapi nodes running under the robot's namespace.

@bjsowa bjsowa force-pushed the fix/rosapi-relative-names branch from c14275c to 9b74262 Compare January 23, 2025 16:45
Copy link
Contributor

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

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

LGTM

@EzraBrooks EzraBrooks merged commit ff13df6 into RobotWebTools:develop Jan 24, 2025
2 checks passed
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.

2 participants