ROS_WARN not able to print std::string
Dear All,
I want to print in a ROS WARNING a string. But I am not able to do that.
Someone of you could help me please?
What I am doing is the following:
std::string topicNameTrajInput ="TopicRos";
ROS_WARN(topicNameTrajInput);
Any ideas why this doesn't work? Thanks a lot.