arXiv:2611.08142cs.RONov 2026

Manuscript Offprint

arXiv:2611.08142

Educational robotics beyond ROS: a custom library for direct transfer of Webots controllers in the Turtlebot3

Jaime P. Pérez-Moro, Alejandro Romero, Hector Quintian, Francisco Bellas

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jaime P. Pérez-Moro¹[0009-0002-3143-2386], Alejandro Romero¹[0000-0002-0507-8320], Hector Quintian²[0000-0002-0268-7999], and Francisco Bellas¹[0000-0001-6043-1468]

¹ Integrated Group for Engineering Research (GII), CITIC research center, Universidade da Coruña, A Coruña, Spain {j.p.perez,alejandro.romero.montero, francisco.bellas}@udc.es ² Grupo de investigación Ciencia y Técnica Cibernética (CTC), CITIC research center, Universidade da Coruña, A Coruña, Spain hector.quintian@udc.es

Abstract. Robot Operating System (ROS) is becoming a standard in robotics courses at higher education, but its installation, configuration and distributed programming model can introduce a significant entry barrier in the new landscape of AI-based master and degree studies, where many students do not have a strong informatics background. This paper presents an educational experience that enables students to program a TurtleBot3 Burger directly in Python, while preserving a direct transfer path from simulation to the physical robot. The approach is based on a custom library that mirrors the Webots API, allowing the same controller code to be executed in the simulator and on the real TurtleBot3 with minimal modification. The library provides access to the robot motors, wheel encoders, inertial sensors and LiDAR, and is complemented by scripts that automate deployment and execution on the physical platform. It was used in a master-level course on introductory autonomous vehicles, and initial student feedback suggests that the approach reduces the perceived complexity of ROS-related infrastructure and helps learners focus on algorithmic logic and real-world behaviour.

Keywords: Educational robotics · Simulation-to-reality transfer · ROS

1 Introduction

The use of ROS [1] in technical subjects and courses related with autonomous robotics at higher education is becoming a standard [2][3]. Its open-access nature, hardware abstraction and huge community of contributors make ROS as the optimal choice for teachers that aim to provide students with the most solid and long-term training in robotics. In addition, the current offer of affordable and versatile real platforms for educational/research purposes is mainly ROS-compatible and even ROS-exclusive, like those from Unitree, Universal Robots, PAL or Clearpath Robotics.

Since the “explosion” of generative AI in 2022, the interest of students in titles related with Artificial Intelligence (AI) has notably increased and, consequently, the offer of new titles related with this area has raised [4]. Many of these new students and titles do not have or require the high technical background associated with ROS, although they need learning about autonomous robotics in a solid and sound way. There are notably relevant initiatives that aim to “smooth” the ROS learning curve, such as the web-based Unibotics framework [5][6], but the real situation in many of these new courses is that installing Linux or relying on virtual machines is complicated, mainly due to time constraints in the subjects, and the lack of support from the institutions.

With this background, the current paper describes a custom library developed at the University of Coruña (UDC), in Spain, together with the educational experience in which it was applied. The library was created for a technical master program named “Industrial Informatics and Robotics” [7]. This subject is a clear example of the situation presented above, as it is mainly technical, but the number of students attending it with limited programming and computer science background increases every year. In particular, the experience described here was carried out in the realm of a subject named “Introductory Autonomous Vehicles”, where students learn the fundamentals of this field, including topics like perception, mapping, localization and control.

The practical part of the subject implies programming the response of an autonomous robot, in simulation and in the real-world, requiring a minimum proficiency level as a computer scientist. The specific platform existing in the UDC for this subject is the TurtleBot3 Burger, a ROS-exclusive platform that is shared with other subjects in the same master. To provide this heterogeneous group of students with a sound and simple educational environment that allow them to practice the subject fundamentals without relying on ROS, we decided to develop a custom library so they can program it in a simpler way using the Webots simulation environment [8].

This work describes the implementation details of this library, how it was validated in the simulator and the real robot, and its application during academic year 2025/26 within the aforementioned subject.