ROS2的create_publisher参数详解

       在使用python进行开发ros2时,我们会使用self.create_publisher创建发布者

        self.create_publisher(String, “sexy_girl”, 10)

        第一个参数为消息类型,第二个参数为话题的名称,第三个参数为队列长度,

猜你喜欢

转载自blog.csdn.net/qq_42264030/article/details/127258488