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).
小
@3323633192 https://fishros.org.cn/forum/topic/151/提问前必看-不符合要求的问题拒绝回答
尚无回复
@2593721619 https://fishros.org.cn/forum/topic/151/提问前必看-不符合要求的问题拒绝回答
9
65e677d3-3500-415b-bcc6-8b54bb8312fe-image.png
CMakeList.txt文件截图
3
@小鱼 抱歉,我这一节都是直接复制黏贴,没注意看源码,其实原文"2.话题之RCLCPP实现"那里用API设计发布者时展示的源码只是面向对象设计的类TopicPublisher01,没有main函数,导致编译时报错了
@1010780098 <代1064598375> 可以先使用sudo apt-cache search diagnostics updater 在apt源里寻找同样名字的包 然后根据对应版本的包下载即可,我的是humble,可以用sudo apt install ros-humble-diagnostic-updater