Asee peer logo

Board 61: Work in Progress: Introductory Mobile Robotics and Computer Vision Laboratories Using ROS and MATLAB

Download Paper |

Conference

2018 ASEE Annual Conference & Exposition

Location

Salt Lake City, Utah

Publication Date

June 23, 2018

Start Date

June 23, 2018

End Date

July 27, 2018

Conference Session

Computers in Education Division Poster Session

Tagged Division

Computers in Education

Page Count

10

Permanent URL

https://peer.asee.org/30072

Download Count

158

Request a correction

Paper Authors

biography

Robert L. Avanzato Pennsylvania State University, Abington

visit author page

Robert Avanzato is an associate professor of engineering at the Penn State Abington campus where he teaches courses in electrical and computer engineering, computer science, and information sciences and technology. His research interests are mobile robotics, computer vision, intelligent systems, virtual world technology and innovative education.

visit author page

biography

Culllen G. Wilcox Penn State Great Valley

visit author page

Cullen Wilcox is a senior in the B.S. Engineering, Multidisciplinary Engineering Design major at Penn State Abington. His works focuses on robotic autonomy through ROS and MATLAB. Over the course of the past two years Cullen has worked with robots such as the TurtleBot and Parrot Bebop using ROS. Recently his work focused on using multiple robots. He hopes to continue this work in his career.

visit author page

Download Paper |

Abstract

Introductory Mobile Robotics and Computer Vision Laboratories Using ROS and MATLAB

Robot Operating System (ROS) is an open source, Linux-based robotics development and deployment system which supports many commercial and research and development robots, including the Turtlebot, Husky, PR2, Baxter and a variety of industrial robots. ROS provides a distributed, networked, message-passing system that provides a standard development and deployment software architecture across a variety of sensor and hardware platforms, but the learning curve for implementing ROS solutions is steep for undergraduate engineering students who possess diverse backgrounds and skills in software development.

Recently, MATLAB has released the Robotics System Toolbox which provides a ROS interface and associated robotics algorithms. This MATLAB product enables engineering students, especially in an introductory course, to more easily communicate with ROS-enabled robots from standard Windows OS and/or Mac OS workstations running MATLAB. The advantage of this MATLAB solution is to provide students with a more intuitive and interactive programming environment, visualization tools, and integration of other MATLAB toolboxes such as computer vision and control.

This paper describes a multi-year study in which the MATLAB Robotics Toolbox ROS interface was integrated into a senior-level introductory robotics course and a computer vision course. Laboratory exercises were developed and tested using MATLAB Robotics Systems Toolbox and ROS-enabled Turtlebot 2 robots from Clearpath, as well as low-cost autonomous indoor quadcopters. Topics covered in the laboratories were primarily in the areas of robot navigation, feature detection and object tracking. The primary significance of this case study is that, based on our experiences, development and deployment of algorithms for robot navigation and computer vision using ROS were accomplished with a less steep learning curve and less coding using the MATLAB-based approach than in the C++/Python/Linux environment. A matrix comparing algorithm development in C++ versus Python versus MATLAB illustrates the benefits of using the MATLAB/ROS environment. Student reaction to the use of the MATLAB ROS interface was positive overall. A description of the labs, sample code and best practices will be discussed and also the use of the Gazebo 3D simulation to supplement the robotics activities. Laboratories involving the control of autonomous indoor quadcopters will be presented as well. It is anticipated these results will be of interest to educators introducing advanced robotics labs into a diverse range of undergraduate engineering courses. These results also have significance to the introduction of modern robotics concepts in K-12 and STEM activities.

Avanzato, R. L., & Wilcox, C. G. (2018, June), Board 61: Work in Progress: Introductory Mobile Robotics and Computer Vision Laboratories Using ROS and MATLAB Paper presented at 2018 ASEE Annual Conference & Exposition , Salt Lake City, Utah. https://peer.asee.org/30072

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2018 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015