Towards realtime robot reactions – patterns for modular device driver interfaces
Year: 2013
Type: article
Abstract: Getting new robot hardware to work requires the implementation device drivers.When this is seen as tedious work, initial versions of drivers often tend to lack clean software architecture or component design.This leads to drivers that work acceptably in the given context, but exhibit little modularity or reusability for other contexts.Especially for use cases that contain real-time robot reactions (reflexes) to sensor events, these implementations are often not usable.This paper describes different device driver implementation patterns found in existing robot software, and analyses them towards advantages and disadvantages, aiming to provide advice which pattern to use in which context. II. PATTERNSThe main point about device drivers is to implement the communication with specific hardware devices and to provide the functionality through a higher-level interface.Usually, communication to the real hardware is performed through a vendor-specific interface, often over bus systems such as USB, EtherCAT or other field bus systems.The corresponding driver implementation is required to understand the communication protocol, and to respect the timing requirements imposed by the device (e.g. the Fast Research Interface for the KUKA Lightweight Robot [1] [2], or cyclic data transfer for CANopen devices [3] [4]).This can implicitly lead to real-time requirements within the device driver implementation.When using such device drivers in (non-realtime) component frameworks, they are expected to provide an interface that can be used without real-time guarantees.To achieve this goal, different implementation patterns can be found, which are explained below. A. Drivers with included non-realtime interfaces
Source: OPUS (Augsburg University)
Language: English
Subfield: Control and Systems Engineering
Field: Engineering
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2994833366
