Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
1
@小鱼 好的收到,同时以后我注意发图的问题
小
@847718956 因为你引入了std_msgs这个包了,所以指令里也要包含这个,不过用gcc非常的不方便,还是推荐你用ROS2的工程或者CmakeLists.txt文件来生成可执行文件
@847718956 在 makefile编译ros_humble 中说:
#include "std_msgs/msg/string.hpp"