Function ouster_ros::topic_for_return

Function Documentation

std::string ouster_ros::topic_for_return(const std::string &topic_base, int return_idx)

Adds a suffix to the topic base name based on the return index

Parameters:
  • topic_base[in] topic base name

  • return_idx[in] return index {0, 1, … n_returns }

Returns:

number of returns