ROS多线程发布订阅话题信息

下面讲述几种ros订阅多个话题的例子: 一、实现接收两个topic,并发布一个topic,采用的是ros多线程的方法解决。web #include <ros/ros.h> #include "std_msgs/String.h" #include <boost/thread.hpp> #include <sstream> class SubscribeAndPublish { pub
相关文章
相关标签/搜索