Carreira Rúben, Costa Nuno, Ramos João, Frazão Luís, Pereira António
Computer Science and Communications Research Centre, School of Technology and Management, Polytechnic of Leiria, 2411-901 Leiria, Portugal.
INOV INESC Inovação, Institute of New Technologies, Leiria Office, 2411-901 Leiria, Portugal.
Sensors (Basel). 2024 Sep 30;24(19):6341. doi: 10.3390/s24196341.
The rise of robotics and the Internet of Things (IoT) could potentially represent a significant shift towards a more integrated and automated future, where the physical and digital domains may merge. However, the integration of these technologies presents certain challenges, including compatibility issues with existing systems and the need for greater interoperability between different devices. It would seem that the rigidity of traditional robotic designs may inadvertently make these difficulties worse, which in turn highlights the potential benefits of modular solutions. Furthermore, the mastery of new technologies may introduce additional complexity due to the varying approaches taken by robot manufacturers. In order to address these issues, this research proposes a Robot Operating System (ROS2)-based middleware, called the "ROS2-based gateway", which aims to simplify the integration of robots in different environments. By focusing on the payload layer and enabling external communication, this middleware has the potential to enhance modularity and interoperability, thus accelerating the integration process. It offers users the option of selecting payloads and communication methods via a shell interface, which the middleware then configures, ensuring adaptability. The solution proposed in this article, based on the gateway concept, offers users and programmers the flexibility to specify which payloads they want to activate depending on the task at hand and the high-level protocols they wish to use to interact with the activated payloads. This approach allows for the optimisation of hardware resources (only the necessary payloads are activated), as well as enabling the programmer/user to utilise high-level communication protocols (such as RESTful, Kafka, etc.) to interact with the activated payloads, rather than low-level programming.
机器人技术和物联网(IoT)的兴起可能标志着向一个更加集成和自动化的未来的重大转变,在这个未来中,物理领域和数字领域可能会融合。然而,这些技术的集成带来了一些挑战,包括与现有系统的兼容性问题以及不同设备之间对更高互操作性的需求。传统机器人设计的刚性可能会无意中使这些困难变得更糟,这反过来又凸显了模块化解决方案的潜在好处。此外,由于机器人制造商采用的方法各不相同,掌握新技术可能会带来额外的复杂性。为了解决这些问题,本研究提出了一种基于机器人操作系统(ROS2)的中间件,称为“基于ROS2的网关”,其目的是简化机器人在不同环境中的集成。通过关注有效载荷层并实现外部通信,这种中间件有可能提高模块化和互操作性,从而加速集成过程。它为用户提供了通过 shell 接口选择有效载荷和通信方法的选项,然后中间件会进行配置,确保适应性。本文提出的基于网关概念的解决方案为用户和程序员提供了灵活性,使他们能够根据手头的任务和希望用于与激活的有效载荷进行交互的高级协议来指定要激活哪些有效载荷。这种方法允许优化硬件资源(仅激活必要的有效载荷),同时使程序员/用户能够使用高级通信协议(如 RESTful、Kafka 等)与激活的有效载荷进行交互,而不是进行底层编程。