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

deprecate package key for service parameters, use full type instead #263

Merged
merged 2 commits into from May 26, 2020

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented May 20, 2020

Replaces #249.

CI packaging build: Build Status

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas
Copy link
Member Author

@mikaelarguedas Can you please give this patch a try. Thanks.

@mikaelarguedas
Copy link
Member

I won't be behind a computer for the long weekend so I'll be able to test this patch on Monday at the earliest.

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM

src/parameter_bridge.cpp Outdated Show resolved Hide resolved
src/parameter_bridge.cpp Outdated Show resolved Hide resolved
@mikaelarguedas
Copy link
Member

Tested his on top of the nightly image and it works fine in both directions 👍

Parameter file used for testing:

---
# service requests going from 2 to 1
# server on ROS1 side, client on ROS2 side
services_2_to_1:
  -
    service: /add_two_ints
    # package: roscpp_tutorials
    type: roscpp_tutorials/TwoInts
# service requests going from 1 to 2
# server on ROS2 side, client on ROS1 side
services_1_to_2:
  -
    service: /add_two_ints
    type: example_interfaces/srv/AddTwoInts

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas merged commit 06839a0 into master May 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/parameter-bridge-full-type branch May 26, 2020 23:55
hsd-dev pushed a commit to hsd-dev/ros1_bridge that referenced this pull request Nov 17, 2020
…os2#263)

* deprecate package key for service parameters, use full type instead

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* added const to local variables

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Harsh Deshpande <harshavardhan.deshpande@ipa.fraunhofer.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants