Преглед на файлове

[fix]:修复错误内容

鱼香ROS преди 3 години
родител
ревизия
712da8bb47
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/humble/chapt3/get_started/2.话题之RCLCPP实现.md

+ 1 - 1
docs/humble/chapt3/get_started/2.话题之RCLCPP实现.md

@@ -380,7 +380,7 @@ public:
     {
         RCLCPP_INFO(this->get_logger(), "大家好,我是%s.", name.c_str());
           // 创建一个订阅者订阅话题
-        command_subscribe_ = this->create_subscription<std_msgs::msg::String>("sexy_girl", 10, std::bind(&TopicSubscribe01::command_callback, this, std::placeholders::_1));
+        command_subscribe_ = this->create_subscription<std_msgs::msg::String>("command", 10, std::bind(&TopicSubscribe01::command_callback, this, std::placeholders::_1));
     }
 
 private: