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

Reset the error when rcl_take_response failed. #141

Closed
wants to merge 1 commit into from

Conversation

minggangw
Copy link

@minggangw minggangw commented Nov 13, 2017

[edit dhood]: connect to #142

@dhood
Copy link
Member

dhood commented Nov 13, 2017

Thank you for the patch @minggangw. Actually rcl_take_response can return RCL_RET_CLIENT_TAKE_FAILED if there was nothing to take, and we don't consider this an error state. Because of that I will close this PR as with ros2/rclcpp#396

Looking at this code, however, it seems that this section is missing an equivalent of https://github.com/ros2/rclcpp/pull/373/files in order to check the correct error message. If you have been seeing an error output when you didn't expect it, it may have been caused by that bug. The fix has been proposed in #143

@dhood dhood closed this Nov 13, 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.

None yet

2 participants