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

[foxy] fix inverted error code check for action client take #949

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

joncppl
Copy link

@joncppl joncppl commented Jun 3, 2022

Based on the comment following the patched line, it appears that the error condition is inverted.

This avoids the thrown exception as explained in #801, and similar scenarios where action servers leave/disappear/restart while rmw_cyclonedds_cpp is the rmw implementation

Signed-off-by: Jonathan Chapple <joncpl@gmail.com>
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

mainline has been addressed as following.

if (RCL_RET_ACTION_CLIENT_TAKE_FAILED == ret) { \

@fujitatomoya fujitatomoya added the bug Something isn't working label Jun 3, 2022
@fujitatomoya
Copy link
Collaborator

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Nice catch.

@clalancette
Copy link
Contributor

CI is green, and two approvals, so merging.

@clalancette clalancette merged commit e76f2ee into ros2:foxy Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants