Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Added read_condition for services and clients #66

Merged
merged 1 commit into from
Oct 15, 2015
Merged

Conversation

esteve
Copy link
Member

@esteve esteve commented Aug 3, 2015

This should fix ros2/rclcpp#52 for services

Connects to ros2/rclcpp#52

@esteve esteve added the in progress Actively being worked on (Kanban column) label Aug 3, 2015
@esteve
Copy link
Member Author

esteve commented Aug 3, 2015

@dirk-thomas I applied the same fix as for subscriptions, but can't seem to make the client fire when the service sends back the response. I ran rtiddsspy and messages are sent between the service and the client, though. Would appreciate any feedback from you. Thanks.

@esteve
Copy link
Member Author

esteve commented Aug 3, 2015

@dirk-thomas I think I found where the problem is, the client's read condition was not being attached to the waitset.

@esteve
Copy link
Member Author

esteve commented Aug 3, 2015

Linux buildfarm:

http://ci.ros2.org/job/ros2_batch_ci_linux/137/

@@ -1242,6 +1221,13 @@ rmw_create_client(
goto fail;
}

read_condition = response_datareader->create_readcondition(
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be cleaned up in the fail section.

Same below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

@dirk-thomas
Copy link
Member

+1

Has it been tested that this fixes ros2/system_tests#14

@esteve
Copy link
Member Author

esteve commented Aug 4, 2015

@dirk-thomas
Copy link
Member

This CI job does not cover the new parameter test yet.

@wjwwood
Copy link
Member

wjwwood commented Aug 4, 2015

Code changes look good, waiting on the test.

@tfoote
Copy link
Contributor

tfoote commented Aug 18, 2015

+1, unfortunately this needs to be rebased now

@esteve
Copy link
Member Author

esteve commented Aug 18, 2015

Rebased.

@jacquelinekay
Copy link
Contributor

I had to rebase this on master to get it to build on my machine (currently test ros2/system_tests#57)

@dirk-thomas dirk-thomas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Oct 15, 2015
@jacquelinekay
Copy link
Contributor

+1

esteve added a commit that referenced this pull request Oct 15, 2015
Added read_condition for services and clients
@esteve esteve merged commit 7528ffe into master Oct 15, 2015
@esteve esteve removed the in review Waiting for review (Kanban column) label Oct 15, 2015
@esteve esteve deleted the fix_service_samples branch October 15, 2015 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subscriptions are not triggered sometimes
5 participants