Lune

RTSS2025Top-tier venue

Ros RT { }^{\text {RT }}: Enabling Flexible Scheduling in Ros 2

Sizhe Liu, Rohan Wagle, Shareef Ahmed, Zelin Tong, James H. Anderson

2025Year
2Citations

Abstract

The Robot Operating System 2 (ROS) is heavily used in autonomous systems due to its large ecosystem and modular design. However, ROS remains problematic for real-time applications despite prior efforts to improve its real-time capabilities. Many of these problems are rooted in the implementation of the ROS executor, which does not support preemption or userspecified priorities. These properties are fundamental to real-time scheduling and desirable for general systems to reduce latency. ROS variants in prior work have separately supported the preemption and prioritization of callbacks but place restrictions on the application, preventing their adoption in a real-world workload. This paper addresses these deficiencies with a novel executor framework,ROS⁡RT\operatorname{ROS}^{\text{RT}}, which is compatible with any type of ROS application while supporting preemptive, priority-driven scheduling. Additionally, to support flexible EDF scheduling in ROSRT { }^{\text {RT }}, a custom EDF scheduler implementation is proposed using the new Linux scheduling class SCHED_EXT. ROSRT { }^{\text {RT }}s flexibility and real-time compatibility do not come at the cost of overheads: it achieves a significant decrease in publisher-tosubscriber overhead from the native ROS executor. Finally, this paper concludes with a case study performed on the Autoware Reference System, which simulates the execution of the LiDAR module in an autonomous driving application, demonstrating the ability ofROS⁡RT\operatorname{ROS}^{\text{RT}}at real-time scheduling in real-world scenarios.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get d82935b7-5967-4386-aca0-282d4f60c330

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines