A novel inter-process communication solution based on using a temporary file system is presented. The fast read and write capabilities of random access memory and file system features are leveraged to implement a simple communication protocol between processes running on the same machine. Shareable data is saved in the tmpfs with descriptive names using the well-defined Concise Binary Object Representation (CBOR) format, making it easy to discover and decode available information. Atomic writes can be ensured using Portable Operating System Interface (POSIX) compliant rename. Using operating system features makes the system easy to implement. Example hardware and use-cases are presented, demonstrating the system’s viability. The presented use-cases show that the system can be used for interfacing sensors to be used in data collection system. Future work will include improving performance and expanding use to a robotics middleware.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A tmpfs-Based Middleware for Robotics Applications

  • Timo Mäenpää,
  • Antti Tikanmäki,
  • Juha Röning

摘要

A novel inter-process communication solution based on using a temporary file system is presented. The fast read and write capabilities of random access memory and file system features are leveraged to implement a simple communication protocol between processes running on the same machine. Shareable data is saved in the tmpfs with descriptive names using the well-defined Concise Binary Object Representation (CBOR) format, making it easy to discover and decode available information. Atomic writes can be ensured using Portable Operating System Interface (POSIX) compliant rename. Using operating system features makes the system easy to implement. Example hardware and use-cases are presented, demonstrating the system’s viability. The presented use-cases show that the system can be used for interfacing sensors to be used in data collection system. Future work will include improving performance and expanding use to a robotics middleware.