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

add rcl_action_server_is_valid_except_context #348

Merged
merged 1 commit into from
Dec 1, 2018

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Dec 1, 2018

This adds a function to check if the action server is valid except for the rcl context and uses it in the wait set apis. This gets rid of an exception thrown by the C++ action server when SIGINT invalidates the context but the wait set tries to check the action server entities and finds that the server has reported itself as invalid.

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

@sloretz sloretz added the in review Waiting for review (Kanban column) label Dec 1, 2018
@sloretz sloretz self-assigned this Dec 1, 2018
@sloretz sloretz added this to the crystal milestone Dec 1, 2018
RCL_SET_ERROR_MSG("status publisher is invalid");
return false;
}
return true;
Copy link
Member

Choose a reason for hiding this comment

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

Could deduplicate with rcl_action_server_is_valid().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll do this on a follow up PR

@sloretz sloretz merged commit c1dfda9 into master Dec 1, 2018
@sloretz sloretz deleted the rcl_action_server_is_valid_except_context branch December 1, 2018 16:55
@sloretz sloretz removed the in review Waiting for review (Kanban column) label Dec 1, 2018
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.

2 participants