13 std::ostringstream out;
22 std::ostringstream out;
33 for (
const auto& value : values)
35 RCLCPP_DEBUG_STREAM(rclcpp::get_logger(
ILC_LOGGER), func(value));
45 auto function =
static_cast<std::function<std::string(T)
>>(free_func);
54 for (
const auto& value : values)
56 RCLCPP_DEBUG_STREAM(rclcpp::get_logger(
ILC_LOGGER), prefix << value);
std::string pointSpeedPairToStream(PointSpeedPair point)
Helper function to convert a PointSpeedPair to a string.
std::string basicPointToStream(lanelet::BasicPoint2d point)
Helper function to convert a lanelet::BasicPoint2d to a string.
void printDebugPerLine(const std::vector< T > &values, std::function< std::string(T)> func)
Print a RCLPP_DEBUG_STREAM for each value in values where the printed value is a string returned by f...
void printDoublesPerLineWithPrefix(const std::string &prefix, const std::vector< double > &values)
Print a RCLPP_DEBUG_STREAM for each value in values where the printed value is << prefix << value.
static const std::string ILC_LOGGER