We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to print the entire message as String as ROS does with stringstream? Example:
std_msgs::msg::String msg; std::stringstream ss; ss << msg; RCLCPP_INFO(node->get_logger(), "%s\n",ss.str().c_str());
The text was updated successfully, but these errors were encountered:
Atm there are no streaming operator defined for message. There is a ticket to add various to-string functions though: ros2/rosidl#259
Therefore I will close this ticket as a duplicate.
Sorry, something went wrong.
No branches or pull requests
Is there any way to print the entire message as String as ROS does with stringstream?
Example:
The text was updated successfully, but these errors were encountered: