In recent years, engineering degree programs have become fundamental to the teaching of robotics and incorporate many fundamental STEM concepts. Some authors have proposed different platforms for teaching different topics related to robotics, but most of these platforms are not practical for classroom use. In the case of teaching autonomous navigation algorithms, the absence of platforms in classrooms limits learning because students are unable to perform practice activities or cannot evaluate and compare different navigation algorithms. The main contribution of this study is the implementation of a free platform for teaching autonomous-driving algorithms based on the Robot Operating System without the use of a physical robot. The authors present a case study using this platform as a teaching tool for instruction in two undergraduate robotic courses. Students evaluated the platform quantitatively and qualitatively. Our study demonstrates that professors and students can carry out different tests and compare different navigation algorithms to analyze their performance under the same conditions in class. In addition, the proposed platform provides realistic representations of environments and data visualizations. The results claim that the use of simulations helps students better understand the theoretical concepts, motivates them to pay attention, and increases their confidence.