Back to Browse

ROS2 Jazzy Tutorial: Control of 2D Mobile Robot in Python using Turtlesim Simulation

1.0K views
Jun 8, 2025
37:47

#ros2jazzy #ros2 #jazzy #controltheory #robotics #cpp #mechatronics #machinelearning #python Code and manual files are here: We provide robotics and ROS2 training/tutoring and solve the most complex robotics and ROS2 problems (we charge the United States training and engineering hourly rates). Contact: [email protected] In this Robot Operating System 2 (ROS2) tutorial, we explain how to write a Python program and a ROS2 package from scratch that will send velocity control commands to a 2D mobile robot. As a model of a 2D mobile robot we use a ROS2 Turtlesim simulation. The developed ROS2 program will send velocity control messages with a fixed control frequency. In this tutorial, the robot will describe a circular trajectory shown in the figure below. You can easily modify the developed code to program any other trajectory. The main motivation for learning the material presented in this tutorial comes from the fact that all the implementation steps explained in this tutorial are the implementation steps that you will perform on a real robot. That is, to control a mobile robot, you need to send control commands. In this tutorial you will learn how to do that in Python. Later on, you can modify the code files presented in this tutorial and adapt them to a specific robotics application.

Download

1 formats

Video Formats

360pmp451.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

ROS2 Jazzy Tutorial: Control of 2D Mobile Robot in Python using Turtlesim Simulation | NatokHD