skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: Programming and Control of Physical Autonomous Robots via ROS 2
This paper describes two exemplary projects on physical ROS-compatible robots (i.e., Turtlebot3 Burger and Waffle PI) for an undergraduate robotics course, aiming to foster students’ problem-solving skills through project-based learning. The context of the study is a senior-level technical elective course in the Department of Computer Engineering Technology at a primarily undergraduate teaching institution. Earlier courses in the CET curriculum have prepared students with programming skills in several commonly used languages, including Python, C/C++, Java, and MATLAB. Students’ proficiency in programming and hands-on skills makes it possible to implement advanced robotic control algorithms in this robotics course, which has a 3-hour companion lab session each week. The Robot Operating System (ROS) is an open-source framework that helps developers build and reuse code between robotic applications. Though mainly used as a research platform, instructors in higher education take action in bringing ROS and its recent release of ROS 2 into their classrooms. Our earlier work controlled a simulated robot via ROS in a virtual environment on the MATLAB-ROS-Gazebo platform. This paper describes its counterparts by utilizing physical ROS-compatible autonomous ground robots on the MATLAB-ROS2-Turtlebot3 platform. The two exemplary projects presented in this paper cover sensing, perception, and control which are essential to any robotic application. Sensing is via the robot’s onboard 2D laser sensor. Perception involves pattern classification and recognition. Control is shown via path planning. We believe the physical MATLAB-ROS2-Turtlebot3 platform will help to enhance robotics education by exposing students to realistic situations. It will also provide opportunities for educators and students to explore AI-facilitated solutions when tackling everyday problems.  more » « less
Award ID(s):
2240516
PAR ID:
10639706
Author(s) / Creator(s):
; ; ; ; ;
Publisher / Repository:
Journal of Computing Sciences in Colleges
Date Published:
Journal Name:
Journal of computing sciences in colleges
Volume:
40
Issue:
3
ISSN:
1937-4771
Page Range / eLocation ID:
294-308
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. Robotics education is often constrained by the high cost and limited accessibility of physical robots, which can hinder the learning experience for many students. To address this challenge, the Fundamentals of Robotics Education (FORE) project, part of a larger NSF-funded collaborative work, was developed to create an accessible and comprehensive online learning platform. FORE provides a student-centered approach to robotics education, featuring a robust code editor, real-time simulation, and interactive lessons. This paper presents the architecture and implementation of the FORE platform, highlighting its key components, including the backend simulation using Gazebo and ROS2, a frontend visualizer built with Three.js, and the integration of a Python-based coding environment. We discuss the development process, the contributions of the student team, and the challenges encountered during the project. The results demonstrate the platform’s effectiveness in making robotics education more easily available. These findings originate from software testing and utilization by senior computer science students, as well as feedback from participants at the University of Nevada, Reno College of Engineering’s annual Capstone Course Innovation Day. The platform allows students to gain hands-on experience without the need for physical hardware. Its adaptability enables it to serve a broad audience of undergraduate students, offering an encompassing and accessible solution for modern robotics education. 
    more » « less
  2. In social robotics, a pivotal focus is enabling robots to engage with humans in a more natural and seamless manner. The emergence of advanced large language models (LLMs) has driven significant advancements in integrating natural language understanding capabilities into social robots. This paper presents a system for speech-guided sequential planning in pick and place tasks, which are found across a range of application areas. The proposed system uses Large Language Model Meta AI (Llama3) to interpret voice commands by extracting essential details through parsing and decoding the commands into sequential actions. These actions are sent to DRL-VO, a learning-based control policy built on the Robot Operating System (ROS) that allows a robot to autonomously navigate through social spaces with static infrastructure and crowds of people. We demonstrate the effectiveness of the system in simulation experiment using Turtlebot 2 in ROS1 and Turtlebot 3 in ROS2. We conduct hardware trials using a Clearpath Robotics Jackal UGV, highlighting its potential for real-world deployment in scenarios requiring flexible and interactive robotic behaviors. 
    more » « less
  3. Engineering is becoming increasingly cross-disciplinary, requiring students to develop skills in multiple engineering disciplines (e.g., mechanical engineering students having to learn the basics of electronics, instrumentation, and coding) and interprofessional skills to integrate perspectives from people outside their field. In the workplace, engineering teams are frequently multidisciplinary, and often, people from outside of engineering are part of the team that brings a product to market. Additionally, teams are often diverse in age, race, gender, and in other areas. Teams that creatively utilize the contrasting perspectives and ideas arising from these differences can positively affect team performance and generate solutions effective for a broader range of users. These trends suggest that engineering education can benefit from having engineering students work on team projects that involve a blend of cross-disciplinary and mixed-aged collaborations. An NSF-funded project set out to explore this idea by partnering undergraduate engineering students enrolled in a 300-level electromechanical systems course with preservice teachers enrolled in a 400-level educational technology course to plan and deliver robotics lessons to fifth graders at a local school. Working in small teams, students designed, built, and coded bio-inspired robots. The collaborative activities included: (1) training with Hummingbird Bit hardware (Birdbrain Technologies, Pittsburgh, PA) (e.g. sensors, servo motors) and coding platform, (2) preparing robotics lessons for fifth graders that explained the engineering design process, and (3) guiding the fifth graders in the design of their robots. Additionally, each engineering student designed a robot following the theme developed with their education student and fifth-grade partners. 
    more » « less
  4. Recent advancements in Digital Twin (DT) technology have opened new avenues for smart manufacturing. These systems increasingly depend on adaptive control mechanisms to optimize complex processes and reduce production wastage. This research presents an innovative approach that integrates Soft Actor-Critic (SAC) Reinforcement Learning (RL) algorithm with DT technology with Robot Operating System 2 (ROS2) to enable real-time adaptive control in robotic manufacturing. Our experimental setup consists of a ViperX 300 S robot arm, in which two distinct Tasks: (1) static target reaching and (2) dynamic target following were implemented for simulating adaptive control of manufacturing process. The innovative system architecture combines Unity game engine’s simulation environment with ROS2 for seamless and robust DT synchronization. We implemented a hierarchical reward structure to address common RL challenges, including local minima avoidance, convergence acceleration, and training stability, while leveraging transfer learning to efficiently adapt trained behavior models across tasks. Experimental results demonstrate rapid policy convergence and robust task execution, with performance metrics including cumulative reward, value loss, policy loss, and entropy validating the effectiveness of the approach. To the best of our knowledge, this is the first study to integrate Unity with ROS2-based DT for real-time synchronization and adaptive physical robot control using RL. Unlike prior works limited to offline or low-frequency simulations, our framework achieves stable 20 ms joint-level synchronization, enabling deployment of learned behaviors directly to physical robotic systems through virtual platform. This work advances the integration of RL with realistic DT framework for industrial and manufacturing robotics applications, providing a framework for enhanced adaptive real-time control in smart additive manufacturing (AM) processes. 
    more » « less
  5. Abstract. Engineering is becoming increasingly cross-disciplinary, requiring students to develop skills in multiple engineering disciplines (e.g., mechanical engineering students having to learn the basics of electronics, instrumentation, and coding) and interprofessional skills to integrate perspectives from people outside their field. In the workplace, engineering teams are frequently multidisciplinary, and often, people from outside of engineering are part of the team that brings a product to market. Additionally, teams are often diverse in age, race, gender, and in other areas. Teams that creatively utilize the contrasting perspectives and ideas arising from these differences can positively affect team performance and generate solutions effective for a broader range of users. These trends suggest that engineering education can benefit from having engineering students work on team projects that involve a blend of cross-disciplinary and mixed-aged collaborations. An NSF-funded project set out to explore this idea by partnering undergraduate engineering students enrolled in a 300-level electromechanical systems course with preservice teachers enrolled in a 400-level educational technology course to plan and deliver robotics lessons to fifth graders at a local school. Working in small teams, students designed, built, and coded bio-inspired robots. The collaborative activities included: (1) training with Hummingbird Bit hardware (Birdbrain Technologies, Pittsburgh, PA) (e.g. sensors, servo motors) and coding platform, (2) preparing robotics lessons for fifth graders that explained the engineering design process, and (3) guiding the fifth graders in the design of their robots. Additionally, each engineering student designed a robot following the theme developed with their education student and fifth-grade partners. This paper reports on the reflections of the engineering students after completing a cross-disciplinary robotics project with preservice teachers and fifth graders with the goals of (1) assessing the suitability of the project to the specific course, (2) analyzing the nature of the balance between course and project workload/objectives, (3) benefits and challenges of participating in the project, and (4) evaluating the overall effectiveness of the intervention. Student reflections collected at the conclusion of the semester from implementations in Spring 2022 and Spring 2023 were analyzed for this study. Findings from a thematic qualitative analysis of the reflections revealed benefits such as students’ perceived gains in coding skills, reinforcement of engineering concepts learned in class, acquisition of interprofessional skills (e.g., communication with technical and non-technical audiences, cross-disciplinary collaboration), and engineering-pedagogical skills such as lesson planning and classroom management. Students also reflected on opportunities to incorporate creative design insights when brainstorming with non-engineers. Students’ perceived challenges were mainly related to workload, time management, course organization, and teaching/interacting with the fifth graders. These findings provide insightful suggestions for future interventions in undergraduate engineering courses. 
    more » « less