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

Fix topic matching #71

Merged
merged 3 commits into from
Jun 10, 2017
Merged

Fix topic matching #71

merged 3 commits into from
Jun 10, 2017

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Jun 10, 2017

This just removes code that was inplace to adapt ros 1 topics and services that have leading / to ros 2 topics and services which did not, until recently.

This should fix ros2/build_farmer#28.

This should also remove the need to use --bridge-all-topics, @Karsten1987 @Kukanani fyi.


I also fixed an issue where the dynamic bridge would crash if the header info for a service was incomplete. The case was being caught and a message was being printed to stderr, but later the code would crash because there was a partially filled out entry in the map. So I just remove it when this case happens now. That prevents the crash, but I don't know why the service info is incomplete in these cases.

Packaging job:

Build Status

@wjwwood wjwwood self-assigned this Jun 10, 2017
@wjwwood wjwwood added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 10, 2017
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

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

Good catch with the incomplete header. The changes look reasonable to me.

@Kukanani
Copy link

Can confirm that this makes dynamic_bridge work without --bridge-all-2to1-topics, when also rebased on #67.

@wjwwood wjwwood merged commit 0858438 into master Jun 10, 2017
@wjwwood wjwwood deleted the fix_topic_matching branch June 10, 2017 01:53
@wjwwood wjwwood removed the in review Waiting for review (Kanban column) label Jun 10, 2017
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.

Linux packaging job is still unstable
3 participants