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).
A
@小鱼 哈哈哈哈还是找ros2版本的驱动吧,太难修改啦!
Y
@小鱼 在 colcon build编译问题 中说:
ldd /home/user2/auv533_ws/install/auv_localize/lib/auv_localize/ctd_sensor_pub
成功了,我在创建新的节点时忘记首先对通讯库进行编译了,人麻了,多谢大佬的指点,万分感激
2
@小鱼 我懂了,是路径里有中文,所以${rosidl_generate_interfaces_ABS_IDL_FILES}这个变量中中文字段缺少,文件路径就错了 之前看到论坛里有个类似的问题,报错和我一样,估计也是这个原因
小
@847718956 因为你引入了std_msgs这个包了,所以指令里也要包含这个,不过用gcc非常的不方便,还是推荐你用ROS2的工程或者CmakeLists.txt文件来生成可执行文件
@847718956 在 makefile编译ros_humble 中说:
#include "std_msgs/msg/string.hpp"