This paper describes the implementation of a dual-kernel software architecture, based on standard Linux and real-time embedded
Linux, for real-time control of service robots in ubiquitous sensor network environments. Mobile robots are used in active
service for the assisted living of elderly people, monitoring their mental and physiological data with wireless sensor nodes.
The data collected from sensor nodes are routed back to a sink node through multi-hop communication. The moving sink node
installed on the main controller of the robot collects data and transmits it to the main controller. To be able to handle
emergency situations, the robot needs to satisfy real-time requirements when processing the data collected, and invoking tasks
to execute. This paper realizes a multi-hop sensor network and proposes real-time software architecture based on Xenomai.
The real-time tasks were implemented, with priority, to rapidly respond to urgent sensor data. In order to validate the deterministic
response of the proposed system, the performance measurements for the delay in handling the sensed data transmission and the
trajectory control with a feedback loop were evaluated on the non real-time standard Linux.
Keywords Service robot - Real-time embedded Linux - Wireless sensor and actor network - Assisted living