There is a warning when I run catkin_make:
in expansion of macro ‘ROS_INFO’
The mistake is:
ROS_INFO(robot_ns.append(" finish!!!!!!!").c_str());
Correct code:
ROS_INFO("%s", robot_ns.append(" finish!!!!!!!").c_str());
There is a warning when I run catkin_make:
in expansion of macro ‘ROS_INFO’
The mistake is:
ROS_INFO(robot_ns.append(" finish!!!!!!!").c_str());
Correct code:
ROS_INFO("%s", robot_ns.append(" finish!!!!!!!").c_str());