Function ros_trace_rcl_subscription_init

Function Documentation

void ros_trace_rcl_subscription_init(const void *subscription_handle, const void *node_handle, const void *rmw_subscription_handle, const char *topic_name, const size_t queue_depth)

rcl_subscription_init

Subscription initialisation. Links a rcl_subscription_t handle to its rcl_node_t handle and its rmw_subscription_t handle, and links it to a topic name.

Parameters:
  • subscription_handle[in] pointer to the subscription’s rcl_subscription_t handle

  • node_handle[in] pointer to the rcl_node_t handle of the node the subscription belongs to

  • rmw_subscription_handle[in] pointer to the subscription’s rmw_subscription_t handle

  • topic_name[in] full topic name

  • queue_depth[in] subscription history depth