Command Palette

Search for a command to run...

Back to skills
skill № 38118

ros2-communication

ROS2 通信机制 — Topic/Service/Action 对比、命名空间、QoS 选择、同步 vs 异步

FreeNo executable scripts
MIUAVby MIUAV★ 30 GitHub stars

Install ros2-communication in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

ros2-communication — ROS2 通信 SKILL

通信对比

机制 模式 适用
Topic 发布/订阅 持续数据流
Service 请求/响应 一次性查询
Action Goal/Feedback/Result 长时间任务

QoS 选择

场景 Reliability Durability
控制命令 RELIABLE VOLATILE
Sensor 数据 BEST_EFFORT VOLATILE
Lifecycle 状态 RELIABLE TRANSIENT_LOCAL

命名空间

// 创建带命名空间的节点
rclcpp::NodeOptions opts;
opts.namespace("robot_1");
auto node = rclcpp::Node::make_shared("controller", opts);
// 话题: /robot_1/controller/cmd_vel

禁止

  • ❌ Topic 用 Service 方式(阻塞)
  • ❌ Service 里做长时间操作(超时)

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • cross-machine-communication/SKILL.md
  • dds-qos-configuration/SKILL.md
  • topic-service-design/SKILL.md

FAQ

What does the ros2-communication skill do?

ROS2 通信机制 — Topic/Service/Action 对比、命名空间、QoS 选择、同步 vs 异步

How do I install the ros2-communication skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the ros2-communication skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare ros2-communication with