Function ros_trace_rmw_take_response

Function Documentation

void ros_trace_rmw_take_response(const void *rmw_client_handle, const void *response, int64_t sequence_number, int64_t source_timestamp, const bool taken)

rmw_take_response

Response taking. Links a rmw_client_t handle to a pointer to a response being taken at the rmw level. Notes the source timestamp of the response. Also notes the sequence number of the request this response is for. It does not note the request’s client GID, since it is assumed that the matching of the response to the original client is performed before this tracepoint.

Parameters:
  • rmw_client_handle[in] pointer to the client’s rmw_client_t handle

  • response[in] pointer to the response being taken

  • sequence_number[in] the sequence number of the request this response is for, or 0 (if no response or no info)

  • source_timestamp[in] the source timestamp of the response, or 0 (if no response or no info)

  • taken[in] whether a response was taken