Explore chapters and articles related to this topic
A human factors-aware assistance system in manufacturing based on gamification and hardware modularisation
Published in International Journal of Production Research, 2023
Jessica Ulmer, Sebastian Braun, Chi-Tsun Cheng, Steve Dowey, Jörg Wollert
The MWS hardware control distributes instructions from the evaluation system and user actions detected by sensor systems (Figure 2). For each component, a communication protocol is established, and subscription topics are defined. For instance, the pick-by-light system communicates via the serial interface and listens to grab instructions. Coroutines using the asyncio library in Python are selected to run the different applications simultaneously (Figure 8). The coroutines encapsulate asynchronous tasks, which are allowed to pause while waiting for their result and let other routines run in the meantime. This way, concurrent execution is facilitated (Solomon 2020). The sensor coroutines, such as the PickDetectionCoroutine, evaluate sensor data and inform the publisher of user interactions. Instructions from the evaluation system are transmitted to the EvaluationCoroutine via a TCP socket and transferred to the publisher. The publisher matches the information to the appropriate topic and publishes it to the specified subscribers. In case of hardware changes, coroutines can be enabled or disabled without influencing the system's functionality.