  Traditional robotic systems require complex implementations that are not
always accessible or easy to use for Human-Robot Interaction (HRI) application
developers. With the aim of simplifying the implementation of HRI applications,
this paper introduces a novel real-time operating system (RTOS) designed for
customizable HRI - RoboSync. By creating multi-level abstraction layers, the
system enables users to define complex emotional and behavioral models without
needing deep technical expertise. The system's modular architecture comprises a
behavior modeling layer, a machine learning plugin configuration layer, a
sensor checks customization layer, a scheduler that fits the need of HRI, and a
communication and synchronization layer. This approach not only promotes ease
of use without highly specialized skills but also ensures real-time
responsiveness and adaptability. The primary functionality of the RTOS has been
implemented for proof of concept and was tested on a CortexM4 microcontroller,
demonstrating its potential for a wide range of lightweight simple-to-implement
social robotics applications.
