Skip to main content

Teaching ROS1/2 and Reinforcement Learning using a Mobile Robot and its Simulation

  • Conference paper
  • First Online:
ROBOT2022: Fifth Iberian Robotics Conference (ROBOT 2022)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 589))

Included in the following conference series:

Abstract

Robotics is an ever-growing field, used in countless applications, from domestic to industrial, and taught in advanced courses of multiple higher education institutions. Robot Operating System (ROS), the most prominent robotics architecture, integrates several of these, and has recently moved to a new iteration in the form of ROS2. This project aims to design a complete educational package meant for teaching intelligent robotics in ROS1 and ROS2. A foundation for the package was constructed, using a small differential drive robot equipped with camera-based virtual sensors, a representation in the Flatland simulator, and introductory lessons to both ROS versions and Reinforcement Learning (RL) in robotics. To evaluate the package’s pertinence, expected learning outcomes were set and the lessons were tested with users from varying backgrounds and levels of robotics experience. Encouraging results were obtained, especially in the ROS1 and ROS2 lessons, while the feedback from the RL lesson provided clear indications for future improvements. Therefore, this work provides solid groundwork for a more comprehensive educational package on robotics and ROS.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://docs.ros.org/en/rolling/Governance.html.

  2. 2.

    https://wiki.ros.org/ROS/Tutorials.

  3. 3.

    https://cyberbotics.com/.

  4. 4.

    https://www.waveshare.com/wiki/AlphaBot2.

  5. 5.

    https://www.lego.com/en-us/themes/mindstorms/about.

  6. 6.

    https://wiki.ros.org/ROS/Tutorials.

  7. 7.

    http://wiki.ros.org/Distributions.

  8. 8.

    http://docs.ros.org/en/galactic/index.html.

  9. 9.

    https://github.com/avidbots/flatland.

  10. 10.

    https://github.com/jorgef1299/SERP.

  11. 11.

    https://github.com/jorgef1299/SERP.

  12. 12.

    https://github.com/BerserkingIdiot/flatland_quick_start_ros1.

  13. 13.

    https://github.com/BerserkingIdiot/flatland_quick_start_ros2.

  14. 14.

    https://github.com/BerserkingIdiot/drl_local_planner_ros_stable_baselines.

References

  1. Newman, W.S.: A Systematic Approach to Learning Robot Programming with ROS. Chapman and Hall/CRC, New York (2017)

    Book  Google Scholar 

  2. López-Belmonte, J., Segura-Robles, A., Moreno-Guerrero, A.J., Parra-González, M.E.: Robotics in education: a scientific mapping of the literature in web of science. Electronics 10, 291 (2021)

    Article  Google Scholar 

  3. Amo, D., Fox, P., Fonseca, D., Poyatos, C.: Systematic review on which analytics and learning methodologies are applied in primary and secondary education in the learning of robotics sensors. Sensors 21, 153 (2020)

    Article  Google Scholar 

  4. Tselegkaridis, S., Sapounidis, T.: Simulators in educational robotics: a review. Educ. Sci. 11, 11 (2021)

    Article  Google Scholar 

  5. Tellez, R.: A thousand robots for each student: using cloud robot simulations to teach robotics. In: Merdan, M., Lepuschitz, W., Koppensteiner, G., Balogh, R. (eds.) Robotics in Education. AISC, vol. 457, pp. 143–155. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-42975-5_14

    Chapter  Google Scholar 

  6. O’Kane, J.M.: A gentle introduction to ROS. University of South Carolina, version 2.1.3 edn. (2016)

    Google Scholar 

  7. Alves, M., Sousa, A., Cardoso, Â.: Web based robotic simulator for Tactode tangible block programming system. In: Silva, M.F., Luís Lima, J., Reis, L.P., Sanfeliu, A., Tardioli, D. (eds.) ROBOT 2019. AISC, vol. 1092, pp. 490–501. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-35990-4_40

    Chapter  Google Scholar 

  8. Chevalier-Boisvert, M., Golemo, F., Cao, Y., Mehta, B., Censi, A., Paull, L.: Duckietown environments for OpenAI Gym (2018). https://github.com/duckietown/gym-duckietown

  9. Rafael, A., Santos, C., Duque, D., Fernandes, S., Sousa, A., Reis, L.P.: Development of an AlphaBot2 simulator for RPi camera and infrared sensors. In: Silva, M.F., Luís Lima, J., Reis, L.P., Sanfeliu, A., Tardioli, D. (eds.) ROBOT 2019. AISC, vol. 1092, pp. 502–514. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-35990-4_41

    Chapter  Google Scholar 

  10. Haak, V., Abke, J., Borgeest, K.: Work-in-progress: development of a LEGO mindstorms EV3 simulation for programming in C. In: Auer, M.E., Tsiatsos, T. (eds.) ICL 2018. AISC, vol. 917, pp. 667–674. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-11935-5_63

    Chapter  Google Scholar 

  11. Bellas, F., et al.: STEAM approach to autonomous robotics curriculum for high school using the Robobo robot. In: Merdan, M., Lepuschitz, W., Koppensteiner, G., Balogh, R., Obdržálek, D. (eds.) RiE 2019. AISC, vol. 1023, pp. 77–89. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-26945-6_8

    Chapter  Google Scholar 

  12. Akin, H.L., Meriçli, Ç., Meriçli, T.: Introduction to autonomous mobile robotics using Lego Mindstorms NXT. Comput. Sci. Educ. 23(4), 368–386 (2013)

    Article  Google Scholar 

  13. Vega, J., Cañas, J.M.: PyBoKids: an innovative Python-based educational framework using real and simulated Arduino robots. Electronics 8(8), 899 (2019)

    Article  Google Scholar 

  14. Braun, J., et al.: Robot@Factory lite: an educational approach for the competition with simulated and real environment. In: Silva, M.F., Luís Lima, J., Reis, L.P., Sanfeliu, A., Tardioli, D. (eds.) ROBOT 2019. AISC, vol. 1092, pp. 478–489. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-35990-4_39

    Chapter  Google Scholar 

  15. Karalekas, G., Vologiannidis, S., Kalomiros, J.: EUROPA: a case study for teaching sensors, data acquisition and robotics via a ROS-based educational robot. Sensors 20(9), 2469 (2020)

    Article  Google Scholar 

  16. Tani, J., et al.: Duckietown: an innovative way to teach autonomy. In: Alimisis, D., Moro, M., Menegatti, E. (eds.) Edurobotics 2016 2016. AISC, vol. 560, pp. 104–121. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-55553-9_8

    Chapter  Google Scholar 

  17. Bellas, F., et al.: The Robobo project: bringing educational robotics closer to real-world applications. In: Lepuschitz, W., Merdan, M., Koppensteiner, G., Balogh, R., Obdržálek, D. (eds.) RiE 2017. AISC, vol. 630, pp. 226–237. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-62875-2_20

    Chapter  Google Scholar 

  18. Tosello, E., Castaman, N., Michieletto, S., Menegatti, E.: Teaching robot programming for Industry 4.0. In: Moro, M., Alimisis, D., Iocchi, L. (eds.) Edurobotics 2018. AISC, vol. 946, pp. 107–119. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-18141-3_9

    Chapter  Google Scholar 

  19. Goebel, P.: ROS by example, vol. 1. Lulu (2013)

    Google Scholar 

  20. Stavrinos, G.: ROS2 for ROS1 users. In: Koubaa, A. (ed.) Robot Operating System (ROS). SCI, vol. 895, pp. 31–42. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-45956-7_2

    Chapter  Google Scholar 

  21. Bloom, B.S., Engelhart, M.D., Furst, E.J., Hill, W.H., Krathwohl, D.R.: Taxonomy of Educational Objectives: Handbook 1, the Cognitive Domain. Green & Co., Longmans (1956)

    Google Scholar 

  22. Güldenring, R.: Applying deep reinforcement learning in the navigation of mobile robots in static and dynamic environments. Master’s thesis, Hamburg University (2019)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vítor Ventuzelos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ventuzelos, V., Leão, G., Sousa, A. (2023). Teaching ROS1/2 and Reinforcement Learning using a Mobile Robot and its Simulation. In: Tardioli, D., Matellán, V., Heredia, G., Silva, M.F., Marques, L. (eds) ROBOT2022: Fifth Iberian Robotics Conference. ROBOT 2022. Lecture Notes in Networks and Systems, vol 589. Springer, Cham. https://doi.org/10.1007/978-3-031-21065-5_48

Download citation

Publish with us

Policies and ethics