Skip to content

rtt_roscomm: add rtt_roscomm namespace for rosservice plugins and helper classes #134

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

Merged
merged 2 commits into from
Nov 28, 2019

Conversation

meyerj
Copy link
Member

@meyerj meyerj commented Jun 26, 2019

Some classes related to service plugins were not declared in a namespace in package rtt_roscomm and derived rtt_std_srvs. The risk of name collisions was low because of the very specific class names, but nevertheless it is a good and recommended practice in ROS to use the package name as a C++ namespace.

Users who already applied the new service-operation caller signature wrapper feature (#123) to custom services have to add the rtt_roscomm namespace when specializing ROSServiceServerOperationCallerWrapper<T, variant> for the specific ROS service.

This patch breaks ABI-compatibility and should not be part of a ROS kinetic release. No problem for source builds.

@meyerj meyerj added this to the 2.10 milestone Jun 26, 2019
@meyerj meyerj changed the base branch from toolchain-2.9 to toolchain-2.10 November 28, 2019 09:22
@meyerj meyerj merged commit 75eaee6 into toolchain-2.10 Nov 28, 2019
@meyerj meyerj deleted the fix-rtt_roscomm-rosservice-namespace branch November 28, 2019 09:22
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