Function ros_trace_rcl_publisher_init

Function Documentation

void ros_trace_rcl_publisher_init(const void *publisher_handle, const void *node_handle, const void *rmw_publisher_handle, const char *topic_name, const size_t queue_depth)

rcl_publisher_init

Publisher initialisation. Links a rcl_publisher_t handle to its rcl_node_t handle and its rmw_publisher_t handle, and links it to a topic name.

Parameters:
  • publisher_handle[in] pointer to the publisher’s rcl_publisher_t handle

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

  • rmw_publisher_handle[in] pointer to the publisher’s rmw_publisher_t handle

  • topic_name[in] full topic name

  • queue_depth[in] publisher history depth