-
Notifications
You must be signed in to change notification settings - Fork 35
Added read_condition for services and clients #66
Conversation
@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 |
@dirk-thomas I think I found where the problem is, the client's read condition was not being attached to the waitset. |
Linux buildfarm: |
@@ -1242,6 +1221,13 @@ rmw_create_client( | |||
goto fail; | |||
} | |||
|
|||
read_condition = response_datareader->create_readcondition( |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
6186f82
to
08c0b0c
Compare
+1 Has it been tested that this fixes ros2/system_tests#14 |
c371f39
to
b9878ab
Compare
Buildfarm job: |
This CI job does not cover the new parameter test yet. |
Code changes look good, waiting on the test. |
+1, unfortunately this needs to be rebased now |
b9878ab
to
6943f23
Compare
Rebased. |
6943f23
to
51f7514
Compare
8eb34b2
to
650068f
Compare
650068f
to
8e8f40c
Compare
I had to rebase this on master to get it to build on my machine (currently test ros2/system_tests#57) |
+1 |
Added read_condition for services and clients
This should fix ros2/rclcpp#52 for services
Connects to ros2/rclcpp#52