docs: make Chinese README the default
Integration Tests / melodic (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 10:25:55 +00:00
parent e4c6f5968c
commit b6cbadfd6d
+41 -35
View File
@@ -1,3 +1,9 @@
<!-- WEHUB_ZH_README -->
> [!NOTE]
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
> [English](./README.en.md) · [原始项目](https://github.com/robotmcp/ros-mcp-server) · [上游 README](https://github.com/robotmcp/ros-mcp-server/blob/HEAD/README.md)
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
# ROS MCP Server 🧠⇄🤖
![Static Badge](https://img.shields.io/badge/ROS-Available-green)
@@ -15,66 +21,66 @@
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/framework.png"/>
</p>
ROS-MCP-Server connects large language models (such as Claude, GPT, and Gemini) to robots, enabling bidirectional communication with no changes to existing robot source code.
ROS-MCP-Server 将大语言模型(Large Language ModelLLM,如 ClaudeGPT Gemini)连接到机器人,实现双向通信,且无需修改现有机器人源代码。
### Why ROS-MCP?
### 为什么选择 ROS-MCP
- **No robot source code changes** → just add the `rosbridge` node to your existing ROS setup.
- **True two-way communication** → LLMs can both *control* robots and *observe* everything happening on the Robot.
- **Full context** → publish & subscribe to topics, call services & actions, set parameters, read sensor data, and monitor robot state in real time.
- **Deep ROS understanding** → guides the LLM to discover available topics, services, actions, and their types (including custom ones) — enabling it to use them with the right syntax without manual configuration.
- **Works with any MCP client** → built on the open [MCP standard](https://modelcontextprotocol.io/), supporting Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, and more.
- **Works across ROS versions** → compatible across ROS 2 (Jazzy, Humble, and others) and ROS 1 distros.
- **无需修改机器人源代码** → 只需在现有 ROS 配置中添加 `rosbridge` 节点。
- **真正的双向通信** → LLM 既能*控制*机器人,也能*观察*机器人上发生的一切。
- **完整上下文** → 发布与订阅话题(topic)、调用服务(service)与动作(action)、设置参数、读取传感器数据,并实时监控机器人状态。
- **深度 ROS 理解** → 引导 LLM 自动发现可用的话题、服务、动作及其类型(包括自定义类型)——使其能以正确语法使用它们,无需手动配置。
- **兼容任意 MCP 客户端** → 基于开放的 [MCP 标准](https://modelcontextprotocol.io/),),支持 Claude CodeCodex CLIGemini CLIClaude DesktopChatGPTCursor 等。
- **跨 ROS 版本可用** → 兼容 ROS 2JazzyHumble 等)和 ROS 1 各发行版。
---
## 🎥 Examples in Action
## 🎥 实战示例
<p align="center">
<a href="https://youtu.be/Yy1loJAn9sA">
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/MCP%20Demos%20Slide%20-%207to12s.gif" alt="ROS MCP demos" />
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/MCP%20Demos%20Slide%20-%207to12s.gif" alt="ROS MCP 演示" />
</a>
</p>
---
🏭 **Example - AI Agent diagnosis of Industrial Robot End Effector** ([Video](https://youtu.be/EhZNFULz9P4))
- The MCP server connects Claude to a production industrial robot, with only the technician manuals as reference.
- Claude discovers the robot's custom topic and service types and their syntax on its own.
- From a single prompt to test the gripper, it reads the manuals, runs its own tests, finds an anomaly, and reports the root cause.
🏭 **示例 - AI Agent 诊断工业机器人末端执行器** ([视频](https://youtu.be/EhZNFULz9P4))
- MCP 服务器将 Claude 连接到产线工业机器人,仅以技师手册作为参考。
- Claude 自行发现机器人的自定义话题与服务类型及其语法。
- 仅凭一条测试夹爪的提示,它阅读手册、运行自测、发现异常并报告根本原因。
<p align="center">
<a href="https://youtu.be/EhZNFULz9P4">
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/ROS%20MCP%20Gripper%20vacuum%20test.jpg" width="400" alt="Testing and debugging an industrial robot" />
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/ROS%20MCP%20Gripper%20vacuum%20test.jpg" width="400" alt="测试与调试工业机器人" />
</a>
</p>
---
🤖 **Example - Controlling "Wilson" with natural language** ([video](https://www.traceglarue.com/wilson))
From a single prompt — *"Grab a Coke from the fridge & go to the living room."* — Google Gemini uses the MCP server to navigate and manipulate autonomously. Built on ROS 2 with Nav2 (SLAM) for mapping and navigation, and MoveIt to command the manipulator.
🤖 **示例 - 用自然语言控制 "Wilson"** ([视频](https://www.traceglarue.com/wilson))
仅凭一条提示——*"从冰箱里拿一罐可乐,然后去客厅。"*——Google Gemini 通过 MCP 服务器自主导航与操作。基于 ROS 2,使用 Nav2SLAM)进行建图与导航,MoveIt 控制机械臂。
<p align="center">
<a href="https://www.traceglarue.com/wilson">
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/Wilson%20thumbnail.jpg" width="400" alt="Wilson robot controlled with natural language" />
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/Wilson%20thumbnail.jpg" width="400" alt="用自然语言控制 Wilson 机器人" />
</a>
</p>
---
🐕 **Example - Controlling Unitree Go2 in NVIDIA Isaac Sim** ([video](https://www.youtube.com/watch?v=9StFx4lnvmc))
The MCP server connects Claude to a simulated Unitree Go2 quadruped in NVIDIA Isaac Sim, interpreting natural language commands to navigate and control the robot.
🐕 **示例 - 在 NVIDIA Isaac Sim 中控制 Unitree Go2** ([视频](https://www.youtube.com/watch?v=9StFx4lnvmc))
MCP 服务器将 Claude 连接到 NVIDIA Isaac Sim 中仿真的 Unitree Go2 四足机器人,解析自然语言指令以导航并控制机器人。
<p align="center">
<a href="https://www.youtube.com/watch?v=9StFx4lnvmc">
<img src="https://img.youtube.com/vi/9StFx4lnvmc/maxresdefault.jpg" width="400" alt="Controlling Unitree Go2 in NVIDIA Isaac Sim" />
<img src="https://img.youtube.com/vi/9StFx4lnvmc/maxresdefault.jpg" width="400" alt=" NVIDIA Isaac Sim 中控制 Unitree Go2" />
</a>
</p>
---
## 🛠 Getting Started
## 🛠 快速开始
Follow the [installation guide](docs/install/installation.md) to get started.
请参阅[安装指南](docs/install/installation.md)开始使用。
ROS-MCP works with Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT, Cursor, or any MCP-compatible client.
ROS-MCP 可与 Claude CodeCodex CLIGemini CLIClaude DesktopChatGPTCursor 或任意兼容 MCP 的客户端配合使用。
<p align="center">
<img src="https://github.com/robotmcp/ros-mcp-server/blob/main/docs/images/MCP_topology.png"/>
@@ -82,24 +88,24 @@ ROS-MCP works with Claude Code, Codex CLI, Gemini CLI, Claude Desktop, ChatGPT,
---
## 📚 More Examples & Tutorials
## 📚 更多示例与教程
Browse our [examples](examples) to see the server in action.
We welcome community PRs with new examples and integrations!
浏览我们的[示例](examples),查看服务器实际运行效果。
欢迎社区提交包含新示例与集成的 PR!
---
## 🤝 Contributing
## 🤝 参与贡献
We love contributions of all kinds:
- Bug fixes and documentation updates
- New features (e.g., Action support, permissions)
- Additional examples and tutorials
我们欢迎各类贡献:
- 缺陷修复与文档更新
- 新功能(例如 Action 支持、权限管理)
- 更多示例与教程
Check out the [contributing guidelines](docs/contributing.md) and see issues tagged **good first issue** to get started.
请参阅[贡献指南](docs/contributing.md),并查看标记为 **good first issue** 的 issue 以入门。
---
## 📜 License
## 📜 许可证
This project is licensed under the [Apache License 2.0](LICENSE).
本项目采用 [Apache License 2.0](LICENSE) 许可证。