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

new api to support wait_for_service #65

Merged
merged 3 commits into from
May 28, 2016
Merged

new api to support wait_for_service #65

merged 3 commits into from
May 28, 2016

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Apr 27, 2016

This is my proposed API additions needed to support the wait_for_service functionality at the client library level. A similar set of functions would be in rcl (or else aliased to these functions), and the client libraries can implement wait_for_service using these two functions.

Looking for feedback before/while fixing up changes to each rmw implementation to implement these additions.

Connects to ros2/ros2#215

@wjwwood wjwwood added the in progress Actively being worked on (Kanban column) label Apr 27, 2016
@wjwwood wjwwood added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels May 26, 2016
@wjwwood
Copy link
Member Author

wjwwood commented May 26, 2016

I'm putting this up for review.

@tfoote
Copy link

tfoote commented May 28, 2016

+1

* The given client and node must match, i.e. the client must have been created
* using the given node.
*
* The is_available parameter must not be NULL, and must point a bool variable.
Copy link
Member

Choose a reason for hiding this comment

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

point a bool -> point to a bool

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks: f758ef6

@wjwwood wjwwood merged commit cc2fbc4 into master May 28, 2016
@wjwwood wjwwood deleted the wait_for_service branch May 28, 2016 22:14
@wjwwood wjwwood removed the in review Waiting for review (Kanban column) label May 28, 2016
ahcorde pushed a commit to erlerobot/rmw that referenced this pull request Jun 2, 2016
* new api to support wait_for_service

* is_ready -> is_available

* doc fixups
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.

3 participants