# URBI

URBI（Universal Robotic Body Interface，通用机器人身体接口）是一个客户端/服务器机器人中间件和脚本平台，用于控制机器人，最初围绕一种并行、事件驱动的脚本语言和一种称为 UObject 的对象架构构建。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[2](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)</sup> URBI 服务器运行在机器人本身上，客户端通过网络连接到它来发送命令和接收数据。<sup>[3](https://aikernel.org/files/urbi/URBI-Tutorial-1.0.1.pdf)</sup> 这个名字也被一家与此无关、总部位于[阿拉伯联合酋长国](https://www.edgepedia.org/zh/united-arab-emirates)（United Arab Emirates）的地理服务公司采用，本文末尾将予以介绍。

| 关键事实 | 详情 |
|---|---|
| 全名 | Universal Robotic Body Interface（通用机器人身体接口）<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup> |
| 架构 | 客户端/服务器框架；URBI 服务器运行在机器人上，客户端通过 TCP/IP 连接<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[3](https://aikernel.org/files/urbi/URBI-Tutorial-1.0.1.pdf)</sup> |
| 脚本 | 一种底层、类 C 的脚本语言，并行且事件驱动，旨在开发高层算法<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[2](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)</sup> |
| 对象模型 | UObject 架构处理平台内软件组件的集成<sup>[2](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)</sup> |
| 互操作性 | 也可以使用 ROS 的通信基础设施，并与 Player 集成<sup>[4](https://tuprints.ulb.tu-darmstadt.de/2343/1/ulb2343-dissertation-dirk-thomas.pdf)</sup> |
| 机器人支持 | 通过服务器实现支持若干种机器人，并提供可扩展对象库；服务器代码用 C++ 和 liburbi 库编写<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[3](https://aikernel.org/files/urbi/URBI-Tutorial-1.0.1.pdf)</sup> |

## 架构与脚本

URBI 组织为一个客户端/服务器系统。服务器运行在机器人上，公开其设备和功能，而客户端用 C++ 和 liburbi 库编写，通过网络连接到服务器。<sup>[3](https://aikernel.org/files/urbi/URBI-Tutorial-1.0.1.pdf)</sup> 命令以 TCP/IP 消息传输，这使开发者可以从外部计算机控制人形或动物形机器人，而无需将控制代码嵌入机器人本身。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup>

脚本语言是该平台的显著特征。它被描述为一种底层、类 C 的语言，旨在控制人形和动物形机器人，而 Urbi 平台论文将该语言描述为并行且事件驱动，设计用于在机器人的底层接口之上开发高层算法。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[2](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)</sup> UObject 架构是该平台对组件集成的回答：它定义软件对象如何接入平台并共享数据。<sup>[2](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)</sup>

**可扩展性。** 若干机器人通过服务器实现获得支持，平台附带一个可扩展对象库。其设计者强调简洁性，该框架得到活跃用户的支持。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup> Urbi 也对其自身语言之外的编程环境开放，包括 Java。<sup>[5](https://www.researchgate.net/publication/335901944_Middleware_for_Multi-robot_Systems)</sup>

## 在机器人中间件中的位置

Urbi 经常与 ROS、Player、YARP、Orca、MRDS、OpenRDK、RoboComp 和 OPRoS 一道出现在机器人中间件的综述与比较中。<sup>[6](https://www4.comp.polyu.edu.hk/~shanjiang/papers/sahni2019middleware.pdf)</sup> MIRA 项目对六种中间件——ROS、Yarp、Urbi、Player、LCM 和 MOOS——的通信性能进行了基准测试，使用为每种中间件以完全优化方式编译的相同 C++ 场景，并测量延迟、时延和内存占用。<sup>[7](https://www.mira-project.org/joomla-mira/index.php/benchmarks)</sup>

**与 ROS 和 Player 的互操作性。** 一篇关于机器人中间件的学位论文综述指出，为其他框架所做的同一种集成步骤也已为 Urbi 完成，因此 Urbi 可以改用 ROS 的通信基础设施，也能与 Player 集成。<sup>[4](https://tuprints.ulb.tu-darmstadt.de/2343/1/ulb2343-dissertation-dirk-thomas.pdf)</sup> ROS 维基的常见问题解答 将 URBI 列入曾与 ROS、Player、YARP、Orocos、OpenRAVE 和 IPC 一起使用的框架，并指出，组合系统主要涉及转换共享数据类型，而且相对于所交换的消息量，这些中间件的开销很小。<sup>[8](https://mirror.umd.edu/roswiki/FAQ.html)</sup>

## 模拟器与机器人平台

URBI 可以使用 Webots 模拟器，而 Webots 将 Urbi 列为其支持的编程语言之一，与 C、C++、Java、Python 和 Matlab 并列。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup><sup> • </sup><sup>[9](https://files01.core.ac.uk/download/pdf/277530881.pdf)</sup> 一项针对模拟机器人视觉的中间件评估基于实际考虑将 URBI 排除在外：Webots 模拟器相对昂贵，且该框架被认为面向人形和动物形机器人，而非该项目的需求。<sup>[1](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)</sup>

该中间件也进入了商用硬件。阿尔德巴兰机器人公司（Aldebaran Robotics）的 Nao 机器人文档描述了将一台计算机连接到机器人上运行的 Urbi 中间件，并通过机器人的应用管理器安装一个 urbi4qimessaging 包，该包将 Urbi 桥接到机器人自有的 qimessaging 系统。<sup>[10](https://manualzilla.com/doc/5795914/documented-open)</sup>

## 同名地理平台

一家名为 Urbi 的独立公司总部位于阿拉伯联合酋长国，运营一个用于地图、路线规划和定位服务的地理平台。它表示，其为超过 200 万名实时定位开发者提供地理服务支持，每月有超过 7 亿人接触其技术。<sup>[11](https://www.urbi.ae/cases)</sup> 其已发布的案例研究包括与 Property Finder 的独家地理服务合同、为网约车服务 CityMobil 提供地图、为配送服务 Glovo 部署 Directions API、为迪拜阿尔哈布图尔城希尔顿酒店（Hilton Dubai Al Habtoor City）提供室内平面图、为 Yalla Market 配送员提供地址解析，以及为 PTV 提供一种交通数据机制，其中存储在 PTV 服务器上的 GPS 数据被用于评估交通状况、预测出行时间和构建路线。<sup>[11](https://www.urbi.ae/cases)</sup> 这家公司与上文描述的机器人中间件没有任何关系。

## References

1. [altURI – a Thin Middleware for Simulated Robot Vision Applications (ResearchGate)](https://www.researchgate.net/publication/249993022_altURI_-_a_Thin_Middleware_for_Simulated_Robot_Vision_Applications)
2. [The Urbi Universal Platform for Robotics (ResearchGate)](https://www.researchgate.net/publication/251859688_The_Urbi_Universal_Platform_for_Robotics)
3. [The URBI Tutorial 1.0.1](https://aikernel.org/files/urbi/URBI-Tutorial-1.0.1.pdf)
4. [Dirk Thomas, dissertation on robot middleware, TU Darmstadt](https://tuprints.ulb.tu-darmstadt.de/2343/1/ulb2343-dissertation-dirk-thomas.pdf)
5. [Middleware for Multi-robot Systems (ResearchGate)](https://www.researchgate.net/publication/335901944_Middleware_for_Multi-robot_Systems)
6. [Middleware for Multi-robot Systems (Sahni et al., PolyU)](https://www4.comp.polyu.edu.hk/~shanjiang/papers/sahni2019middleware.pdf)
7. [MIRA – Benchmarks](https://www.mira-project.org/joomla-mira/index.php/benchmarks)
8. [ROS wiki FAQ](https://mirror.umd.edu/roswiki/FAQ.html)
9. [Middleware Comparison Table from Robotic Frameworks, Architectures, and Middleware Comparison](https://files01.core.ac.uk/download/pdf/277530881.pdf)
10. [Documented open manual for Urbi on Aldebaran Nao](https://manualzilla.com/doc/5795914/documented-open)
11. [Urbi – Case Studies](https://www.urbi.ae/cases)

---
*Initially written Oct 15, 2026 · Edited: Oct 25, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Robot software, AI, and methods › Robot middleware, frameworks, and behavior architectures

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/urbi

English original: https://www.edgepedia.org/urbi
