当前位置:   article > 正文

【ROS2指南-18】编写Action服务器和客户端_ros2 action 编程例子

ros2 action 编程例子

目标:用 C++ 实现action服务器和客户端。

教程级别:中级

时间: 15分钟

背景

动作是 ROS 中异步通信的一种形式。动作客户端向动作服务器发送目标请求。动作服务器向动作客户端发送目标反馈和结果。

先决条件

您将需要在上一教程创建操作action_tutorials_interfaces中定义的包和接口。Fibonacci.action

任务

1 创建 action_tutorials_cpp 包

正如我们在创建您的第一个 ROS 2 包教程中看到的那样,我们需要创建一个新包来保存我们的 C++ 和支持代码。

1.1 创建 action_tutorials_cpp 包

进入您在上一教程中创建的操作工作区(记得为工作区提供源),并为 C++ 操作服务器创建一个新包:

cd ~/action_ws/src
ros2 pkg create --dependencies action_tutorials_interfaces rclcpp rclcpp_action rclcpp_components -- action_tutorials_cpp

1.2 添加可见性控制

为了使包在 Windows 上编译和工作,我们需要添加一些“可见性控制”。有关为什么需要这样做的详细信息,请参见此处

打开action_tutorials_cpp/include/action_tutorials_cpp/visibility_control.h,并将以下代码放入:

  1. #ifndef ACTION_TUTORIALS_CPP__VISIBILITY_CONTROL_H_
  2. #define ACTION_TUTORIALS_CPP__VISIBILITY_CONTROL_H_
  3. #ifdef __cplusplus
  4. extern "C"
  5. {
  6. #endif
  7. // This logic was borrowed (then namespaced) from the examples on the gcc wiki:
  8. // https://gcc.gnu.org/wiki/Visibility
  9. #if defined _WIN32 || defined __CYGWIN__
  10. #ifdef __GNUC__
  11. #define ACTION_TUTORIALS_CPP_EXPORT __attribute__ ((dllexport))
  12. #define ACTION_TUTORIALS_CPP_IMPORT __attribute__ ((dllimport))
  13. #else
  14. #define ACTION_TUTORIALS_CPP_EXPORT __declspec(dllexport)
  15. #define ACTION_TUTORIALS_CPP_IMPORT __declspec(dllimport)
  16. #endif
  17. #ifdef ACTION_TUTORIALS_CPP_BUILDING_DLL
  18. #define ACTION_TUTORIALS_CPP_PUBLIC ACTION_TUTORIALS_CPP_EXPORT
  19. #else
  20. #define ACTION_TUTORIALS_CPP_PUBLIC ACTION_TUTORIALS_CPP_IMPORT
  21. #endif
  22. #define ACTION_TUTORIALS_CPP_PUBLIC_TYPE ACTION_TUTORIALS_CPP_PUBLIC
  23. #define ACTION_TUTORIALS_CPP_LOCAL
  24. #else
  25. #define ACTION_TUTORIALS_CPP_EXPORT __attribute__ ((visibility("default")))
  26. #define ACTION_TUTORIALS_CPP_IMPORT
  27. #if __GNUC__ >= 4
  28. #define ACTION_TUTORIALS_CPP_PUBLIC __attribute__ ((visibility("default")))
  29. #define ACTION_TUTORIALS_CPP_LOCAL __attribute__ ((visibility("hidden")))
  30. #else
  31. #define ACTION_TUTORIALS_CPP_PUBLIC
  32. #define ACTION_TUTORIALS_CPP_LOCAL
  33. #endif
  34. #define ACTION_TUTORIALS_CPP_PUBLIC_TYPE
  35. #endif
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif // ACTION_TUTORIALS_CPP__VISIBILITY_CONTROL_H_

2 编写动作服务器

让我们专注于编写一个动作服务器,它使用我们在创建动作教程中创建的动作来计算斐波那契数列。

2.1 编写action服务器代码

打开action_tutorials_cpp/src/fibonacci_action_server.cpp,并将以下代码放入:

  1. #include <functional>
  2. #include <memory>
  3. #include <thread>
  4. #include "action_tutorials_interfaces/action/fibonacci.hpp"
  5. #include "rclcpp/rclcpp.hpp"
  6. #include "rclcpp_action/rclcpp_action.hpp"
  7. #include "rclcpp_components/register_node_macro.hpp"
  8. #include "action_tutorials_cpp/visibility_control.h"
  9. namespace action_tutorials_cpp
  10. {
  11. class FibonacciActionServer : public rclcpp::Node
  12. {
  13. public:
  14. using Fibonacci = action_tutorials_interfaces::action::Fibonacci;
  15. using GoalHandleFibonacci = rclcpp_action::ServerGoalHandle<Fibonacci>;
  16. ACTION_TUTORIALS_CPP_PUBLIC
  17. explicit FibonacciActionServer(const rclcpp::NodeOptions & options = rclcpp::NodeOptions())
  18. : Node("fibonacci_action_server", options)
  19. {
  20. using namespace std::placeholders;
  21. this->action_server_ = rclcpp_action::create_server<Fibonacci>(
  22. this->get_node_base_interface(),
  23. this->get_node_clock_interface(),
  24. this->get_node_logging_interface(),
  25. this->get_node_waitables_interface(),
  26. "fibonacci",
  27. std::bind(&FibonacciActionServer::handle_goal, this, _1, _2),
  28. std::bind(&FibonacciActionServer::handle_cancel, this, _1),
  29. std::bind(&FibonacciActionServer::handle_accepted, this, _1));
  30. }
  31. private:
  32. rclcpp_action::Server<Fibonacci>::SharedPtr action_server_;
  33. rclcpp_action::GoalResponse handle_goal(
  34. const rclcpp_action::GoalUUID & uuid,
  35. std::shared_ptr<const Fibonacci::Goal> goal)
  36. {
  37. RCLCPP_INFO(this->get_logger(), "Received goal request with order %d", goal->order);
  38. (void)uuid;
  39. return rclcpp_action::GoalResponse::ACCEPT_AND_EXECUTE;
  40. }
  41. rclcpp_action::CancelResponse handle_cancel(
  42. const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  43. {
  44. RCLCPP_INFO(this->get_logger(), "Received request to cancel goal");
  45. (void)goal_handle;
  46. return rclcpp_action::CancelResponse::ACCEPT;
  47. }
  48. void handle_accepted(const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  49. {
  50. using namespace std::placeholders;
  51. // this needs to return quickly to avoid blocking the executor, so spin up a new thread
  52. std::thread{std::bind(&FibonacciActionServer::execute, this, _1), goal_handle}.detach();
  53. }
  54. void execute(const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  55. {
  56. RCLCPP_INFO(this->get_logger(), "Executing goal");
  57. rclcpp::Rate loop_rate(1);
  58. const auto goal = goal_handle->get_goal();
  59. auto feedback = std::make_shared<Fibonacci::Feedback>();
  60. auto & sequence = feedback->partial_sequence;
  61. sequence.push_back(0);
  62. sequence.push_back(1);
  63. auto result = std::make_shared<Fibonacci::Result>();
  64. for (int i = 1; (i < goal->order) && rclcpp::ok(); ++i) {
  65. // Check if there is a cancel request
  66. if (goal_handle->is_canceling()) {
  67. result->sequence = sequence;
  68. goal_handle->canceled(result);
  69. RCLCPP_INFO(this->get_logger(), "Goal canceled");
  70. return;
  71. }
  72. // Update sequence
  73. sequence.push_back(sequence[i] + sequence[i - 1]);
  74. // Publish feedback
  75. goal_handle->publish_feedback(feedback);
  76. RCLCPP_INFO(this->get_logger(), "Publish feedback");
  77. loop_rate.sleep();
  78. }
  79. // Check if goal is done
  80. if (rclcpp::ok()) {
  81. result->sequence = sequence;
  82. goal_handle->succeed(result);
  83. RCLCPP_INFO(this->get_logger(), "Goal succeeded");
  84. }
  85. }
  86. }; // class FibonacciActionServer
  87. } // namespace action_tutorials_cpp
  88. RCLCPP_COMPONENTS_REGISTER_NODE(action_tutorials_cpp::FibonacciActionServer)

 

前几行包含我们需要编译的所有头文件。

接下来我们创建一个类,它是 的派生类rclcpp::Node

class FibonacciActionServer : public rclcpp::Node

该类的构造函数FibonacciActionServer将节点名称初始化为fibonacci_action_server

  explicit FibonacciActionServer(const rclcpp::NodeOptions & options = rclcpp::NodeOptions())
  : Node("fibonacci_action_server", options)

构造函数还实例化了一个新的动作服务器:

    this->action_server_ = rclcpp_action::create_server<Fibonacci>(
      this->get_node_base_interface(),
      this->get_node_clock_interface(),
      this->get_node_logging_interface(),
      this->get_node_waitables_interface(),
      "fibonacci",
      std::bind(&FibonacciActionServer::handle_goal, this, _1, _2),
      std::bind(&FibonacciActionServer::handle_cancel, this, _1),
      std::bind(&FibonacciActionServer::handle_accepted, this, _1));

动作服务器需要 6 个东西:

  1. 模板化操作类型名称:Fibonacci

  2. 将操作添加到的 ROS 2 节点:this

  3. 动作名称:'fibonacci'

  4. 用于处理目标的回调函数:handle_goal

  5. 处理取消的回调函数:handle_cancel.

  6. 用于处理目标 accept: 的回调函数handle_accept

文件中接下来是各种回调的实现。请注意,所有回调都需要快速返回,否则我们可能会阻塞执行者。

我们从处理新目标的回调开始:

  rclcpp_action::GoalResponse handle_goal(
    const rclcpp_action::GoalUUID & uuid,
    std::shared_ptr<const Fibonacci::Goal> goal)
  {
    RCLCPP_INFO(this->get_logger(), "Received goal request with order %d", goal->order);
    (void)uuid;
    return rclcpp_action::GoalResponse::ACCEPT_AND_EXECUTE;
  }

此实现仅接受所有目标。

接下来是处理取消的回调:

  rclcpp_action::CancelResponse handle_cancel(
    const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  {
    RCLCPP_INFO(this->get_logger(), "Received request to cancel goal");
    (void)goal_handle;
    return rclcpp_action::CancelResponse::ACCEPT;
  }

这个实现只是告诉客户它接受了取消。

最后一个回调接受一个新目标并开始处理它:

  void handle_accepted(const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  {
    using namespace std::placeholders;
    // this needs to return quickly to avoid blocking the executor, so spin up a new thread
    std::thread{std::bind(&FibonacciActionServer::execute, this, _1), goal_handle}.detach();
  }

由于执行是一个长时间运行的操作,我们产生一个线程来完成实际工作并handle_accepted快速返回。

execute所有进一步的处理和更新都在新线程的方法中完成:

  void execute(const std::shared_ptr<GoalHandleFibonacci> goal_handle)
  {
    RCLCPP_INFO(this->get_logger(), "Executing goal");
    rclcpp::Rate loop_rate(1);
    const auto goal = goal_handle->get_goal();
    auto feedback = std::make_shared<Fibonacci::Feedback>();
    auto & sequence = feedback->partial_sequence;
    sequence.push_back(0);
    sequence.push_back(1);
    auto result = std::make_shared<Fibonacci::Result>();

    for (int i = 1; (i < goal->order) && rclcpp::ok(); ++i) {
      // Check if there is a cancel request
      if (goal_handle->is_canceling()) {
        result->sequence = sequence;
        goal_handle->canceled(result);
        RCLCPP_INFO(this->get_logger(), "Goal canceled");
        return;
      }
      // Update sequence
      sequence.push_back(sequence[i] + sequence[i - 1]);
      // Publish feedback
      goal_handle->publish_feedback(feedback);
      RCLCPP_INFO(this->get_logger(), "Publish feedback");

      loop_rate.sleep();
    }

    // Check if goal is done
    if (rclcpp::ok()) {
      result->sequence = sequence;
      goal_handle->succeed(result);
      RCLCPP_INFO(this->get_logger(), "Goal succeeded");
    }
  }

这个工作线程每秒处理一个斐波那契数列的序号,为每一步发布一个反馈更新。当它完成处理时,它将标记goal_handle为成功,然后退出。

我们现在有一个功能齐全的动作服务器。让我们构建并运行它。

2.2 编译动作服务器

在上一节中,我们将动作服务器代码放置到位。为了让它编译和运行,我们需要做一些额外的事情。

首先我们需要设置 CMakeLists.txt 以便编译动作服务器。打开action_tutorials_cpp/CMakeLists.txt,并在 calls 之后添加以下内容find_package

add_library(action_server SHARED
  src/fibonacci_action_server.cpp)
target_include_directories(action_server PRIVATE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  $<INSTALL_INTERFACE:include>)
target_compile_definitions(action_server
  PRIVATE "ACTION_TUTORIALS_CPP_BUILDING_DLL")
ament_target_dependencies(action_server
  "action_tutorials_interfaces"
  "rclcpp"
  "rclcpp_action"
  "rclcpp_components")
rclcpp_components_register_node(action_server PLUGIN "action_tutorials_cpp::FibonacciActionServer" EXECUTABLE fibonacci_action_server)
install(TARGETS
  action_server
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION bin)

现在我们可以编译这个包了。转到 的顶层action_ws,然后运行:

colcon build

这应该编译整个工作区,包括包fibonacci_action_server中的action_tutorials_cpp

2.3 运行动作服务器

现在我们已经构建了动作服务器,我们可以运行它了。获取我们刚刚构建的工作区 ( action_ws),并尝试运行操作服务器:

ros2 run action_tutorials_cpp fibonacci_action_server

3 编写动作客户端

3.1 编写动作客户端代码

打开action_tutorials_cpp/src/fibonacci_action_client.cpp,并将以下代码放入:

  1. #include <functional>
  2. #include <future>
  3. #include <memory>
  4. #include <string>
  5. #include <sstream>
  6. #include "action_tutorials_interfaces/action/fibonacci.hpp"
  7. #include "rclcpp/rclcpp.hpp"
  8. #include "rclcpp_action/rclcpp_action.hpp"
  9. #include "rclcpp_components/register_node_macro.hpp"
  10. namespace action_tutorials_cpp
  11. {
  12. class FibonacciActionClient : public rclcpp::Node
  13. {
  14. public:
  15. using Fibonacci = action_tutorials_interfaces::action::Fibonacci;
  16. using GoalHandleFibonacci = rclcpp_action::ClientGoalHandle<Fibonacci>;
  17. explicit FibonacciActionClient(const rclcpp::NodeOptions & options)
  18. : Node("fibonacci_action_client", options)
  19. {
  20. this->client_ptr_ = rclcpp_action::create_client<Fibonacci>(
  21. this->get_node_base_interface(),
  22. this->get_node_graph_interface(),
  23. this->get_node_logging_interface(),
  24. this->get_node_waitables_interface(),
  25. "fibonacci");
  26. this->timer_ = this->create_wall_timer(
  27. std::chrono::milliseconds(500),
  28. std::bind(&FibonacciActionClient::send_goal, this));
  29. }
  30. void send_goal()
  31. {
  32. using namespace std::placeholders;
  33. this->timer_->cancel();
  34. if (!this->client_ptr_->wait_for_action_server()) {
  35. RCLCPP_ERROR(this->get_logger(), "Action server not available after waiting");
  36. rclcpp::shutdown();
  37. }
  38. auto goal_msg = Fibonacci::Goal();
  39. goal_msg.order = 10;
  40. RCLCPP_INFO(this->get_logger(), "Sending goal");
  41. auto send_goal_options = rclcpp_action::Client<Fibonacci>::SendGoalOptions();
  42. send_goal_options.goal_response_callback =
  43. std::bind(&FibonacciActionClient::goal_response_callback, this, _1);
  44. send_goal_options.feedback_callback =
  45. std::bind(&FibonacciActionClient::feedback_callback, this, _1, _2);
  46. send_goal_options.result_callback =
  47. std::bind(&FibonacciActionClient::result_callback, this, _1);
  48. this->client_ptr_->async_send_goal(goal_msg, send_goal_options);
  49. }
  50. private:
  51. rclcpp_action::Client<Fibonacci>::SharedPtr client_ptr_;
  52. rclcpp::TimerBase::SharedPtr timer_;
  53. void goal_response_callback(std::shared_future<GoalHandleFibonacci::SharedPtr> future)
  54. {
  55. auto goal_handle = future.get();
  56. if (!goal_handle) {
  57. RCLCPP_ERROR(this->get_logger(), "Goal was rejected by server");
  58. } else {
  59. RCLCPP_INFO(this->get_logger(), "Goal accepted by server, waiting for result");
  60. }
  61. }
  62. void feedback_callback(
  63. GoalHandleFibonacci::SharedPtr,
  64. const std::shared_ptr<const Fibonacci::Feedback> feedback)
  65. {
  66. std::stringstream ss;
  67. ss << "Next number in sequence received: ";
  68. for (auto number : feedback->partial_sequence) {
  69. ss << number << " ";
  70. }
  71. RCLCPP_INFO(this->get_logger(), ss.str().c_str());
  72. }
  73. void result_callback(const GoalHandleFibonacci::WrappedResult & result)
  74. {
  75. switch (result.code) {
  76. case rclcpp_action::ResultCode::SUCCEEDED:
  77. break;
  78. case rclcpp_action::ResultCode::ABORTED:
  79. RCLCPP_ERROR(this->get_logger(), "Goal was aborted");
  80. return;
  81. case rclcpp_action::ResultCode::CANCELED:
  82. RCLCPP_ERROR(this->get_logger(), "Goal was canceled");
  83. return;
  84. default:
  85. RCLCPP_ERROR(this->get_logger(), "Unknown result code");
  86. return;
  87. }
  88. std::stringstream ss;
  89. ss << "Result received: ";
  90. for (auto number : result.result->sequence) {
  91. ss << number << " ";
  92. }
  93. RCLCPP_INFO(this->get_logger(), ss.str().c_str());
  94. rclcpp::shutdown();
  95. }
  96. }; // class FibonacciActionClient
  97. } // namespace action_tutorials_cpp
  98. RCLCPP_COMPONENTS_REGISTER_NODE(action_tutorials_cpp::FibonacciActionClient)

前几行包含我们需要编译的所有头文件。

接下来我们创建一个类,它是 的派生类rclcpp::Node

class FibonacciActionClient : public rclcpp::Node

该类的构造函数FibonacciActionClient将节点名称初始化为fibonacci_action_client

  explicit FibonacciActionClient(const rclcpp::NodeOptions & options)
  : Node("fibonacci_action_client", options)

构造函数还实例化了一个新的动作客户端:

    this->client_ptr_ = rclcpp_action::create_client<Fibonacci>(
      this->get_node_base_interface(),
      this->get_node_graph_interface(),
      this->get_node_logging_interface(),
      this->get_node_waitables_interface(),
      "fibonacci");

一个动作客户端需要三样东西:

  1. 模板化操作类型名称:Fibonacci

  2. 将动作客户端添加到的 ROS 2 节点:this

  3. 动作名称:'fibonacci'

我们还实例化了一个 ROS 计时器,它将启动一个且唯一的调用send_goal

    this->timer_ = this->create_wall_timer(
      std::chrono::milliseconds(500),
      std::bind(&FibonacciActionClient::send_goal, this));

当计时器到期时,它将调用send_goal

  void send_goal()
  {
    using namespace std::placeholders;

    this->timer_->cancel();

    if (!this->client_ptr_->wait_for_action_server()) {
      RCLCPP_ERROR(this->get_logger(), "Action server not available after waiting");
      rclcpp::shutdown();
    }

    auto goal_msg = Fibonacci::Goal();
    goal_msg.order = 10;

    RCLCPP_INFO(this->get_logger(), "Sending goal");

    auto send_goal_options = rclcpp_action::Client<Fibonacci>::SendGoalOptions();
    send_goal_options.goal_response_callback =
      std::bind(&FibonacciActionClient::goal_response_callback, this, _1);
    send_goal_options.feedback_callback =
      std::bind(&FibonacciActionClient::feedback_callback, this, _1, _2);
    send_goal_options.result_callback =
      std::bind(&FibonacciActionClient::result_callback, this, _1);
    this->client_ptr_->async_send_goal(goal_msg, send_goal_options);
  }

此函数执行以下操作:

  1. 取消计时器(因此它只被调用一次)。

  2. 等待动作服务器出现。

  3. 实例化一个新的Fibonacci::Goal.

  4. 设置响应、反馈和结果回调。

  5. 将目标发送到服务器。

当服务器接收并接受目标时,它会向客户端发送响应。该响应由以下人员处理goal_response_callback

  void goal_response_callback(std::shared_future<GoalHandleFibonacci::SharedPtr> future)
  {
    auto goal_handle = future.get();
    if (!goal_handle) {
      RCLCPP_ERROR(this->get_logger(), "Goal was rejected by server");
    } else {
      RCLCPP_INFO(this->get_logger(), "Goal accepted by server, waiting for result");
    }
  }

假设目标已被服务器接受,它将开始处理。对客户的任何反馈将由以下人员处理feedback_callback

  void feedback_callback(
    GoalHandleFibonacci::SharedPtr,
    const std::shared_ptr<const Fibonacci::Feedback> feedback)
  {
    std::stringstream ss;
    ss << "Next number in sequence received: ";
    for (auto number : feedback->partial_sequence) {
      ss << number << " ";
    }
    RCLCPP_INFO(this->get_logger(), ss.str().c_str());
  }

服务器处理完成后,会返回一个结果给客户端。结果由以下人员处理result_callback

  void result_callback(const GoalHandleFibonacci::WrappedResult & result)
  {
    switch (result.code) {
      case rclcpp_action::ResultCode::SUCCEEDED:
        break;
      case rclcpp_action::ResultCode::ABORTED:
        RCLCPP_ERROR(this->get_logger(), "Goal was aborted");
        return;
      case rclcpp_action::ResultCode::CANCELED:
        RCLCPP_ERROR(this->get_logger(), "Goal was canceled");
        return;
      default:
        RCLCPP_ERROR(this->get_logger(), "Unknown result code");
        return;
    }
    std::stringstream ss;
    ss << "Result received: ";
    for (auto number : result.result->sequence) {
      ss << number << " ";
    }
    RCLCPP_INFO(this->get_logger(), ss.str().c_str());
    rclcpp::shutdown();
  }

我们现在有一个功能齐全的动作客户端。让我们构建并运行它。

3.2 编译动作客户端

在上一节中,我们将动作客户端代码放置到位。为了让它编译和运行,我们需要做一些额外的事情。

首先我们需要设置 CMakeLists.txt 以便编译动作客户端。打开action_tutorials_cpp/CMakeLists.txt,并在 calls 之后添加以下内容find_package

add_library(action_client SHARED
  src/fibonacci_action_client.cpp)
target_include_directories(action_client PRIVATE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  $<INSTALL_INTERFACE:include>)
target_compile_definitions(action_client
  PRIVATE "ACTION_TUTORIALS_CPP_BUILDING_DLL")
ament_target_dependencies(action_client
  "action_tutorials_interfaces"
  "rclcpp"
  "rclcpp_action"
  "rclcpp_components")
rclcpp_components_register_node(action_client PLUGIN "action_tutorials_cpp::FibonacciActionClient" EXECUTABLE fibonacci_action_client)
install(TARGETS
  action_client
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION bin)

现在我们可以编译这个包了。转到 的顶层action_ws,然后运行:

colcon build

这应该编译整个工作区,包括包fibonacci_action_client中的action_tutorials_cpp

3.3 运行动作客户端

现在我们已经构建了动作客户端,我们可以运行它了。首先确保动作服务器在单独的终端中运行。现在获取我们刚刚构建的工作区 ( action_ws),并尝试运行操作客户端:

ros2 run action_tutorials_cpp fibonacci_action_client

您应该会看到已接受目标、正在打印的反馈以及最终结果的记录消息。

概括

在本教程中,您逐行将 C++ 动作服务器和动作客户端放在一起,并配置它们以交换目标、反馈和结果。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/喵喵爱编程/article/detail/982434
推荐阅读
相关标签
  

闽ICP备14008679号