Skip to content

Commit

Permalink
Clarify that rcl_take_response() populates request_header (ros2#205)
Browse files Browse the repository at this point in the history
* Document rcl_take_response() populates the header
  • Loading branch information
sloretz authored Jan 5, 2018
1 parent 1612845 commit 0d6ec77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rcl/include/rcl/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ rcl_send_request(const rcl_client_t * client, const void * ros_request, int64_t
* occur.
* The request_header is an rmw struct for meta-information about the request
* sent (e.g. the sequence number).
* The caller must provide a pointer to an allocated struct.
* This function will populate the struct's fields.
* `ros_response` should point to an already allocated ROS response message
* struct of the correct type, into which the response from the service will be
* copied.
Expand Down

0 comments on commit 0d6ec77

Please sign in to comment.