Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Disciplined ROS2 Jazzy C++ Control of Mobile Robot Tutorial - Embed Controller in C++ Class
Play lesson

ROS2 Tutorials - Disciplined ROS2 Jazzy C++ Control of Mobile Robot Tutorial - Embed Controller in C++ Class

5.0 (0)
9 learners

What you'll learn

Content missing – cannot generate learning outcomes
Content missing – cannot generate learning outcomes
Content missing – cannot generate learning outcomes
Content missing – cannot generate learning outcomes

This course includes

  • 47.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

#ros2jazzy #ros2 #robotics #mechatronics #cpp #machinelearning Manual, code, and package files: https://ko-fi.com/s/0e48a691bc In this Robot Operating System 2 (ROS2) Jazzy tutorial, we explain how to write a C++ program and a ROS2 package from scratch that demonstrate how to implement all the components of a system for controlling a mobile robot. In particular, we explain how to implement a C++ class that embeds: 1) A ROS2 subscriber object for receiving sensor information, and a ROS2 publisher object for sending the control commands to the robot. 2) A callback function for reading sensor information. The sensor information consists of the current position, orientation, and velocity of the robot. This callback function is activated every time there is sensor data on a ROS2 sensor topic. This callback functions adds the feedback loop to the system. 3) A timer object for ensuring that a controller function is called at fixed time steps. This function is important for enforcing the desired control frequency. 4) The controller function which implements the control method. In this tutorial, we implement constant control signals, however, everything explained in this tutorial can easily be generalized to the case of implementing feedback control algorithms, such as position, velocity, PID, LQR, and other control algorithms. As a proof of principle and as a model of a 2D mobile robot we use a Turtlesim simulation . The Turtlesim simulation simulates a 2D mobile robot. It enables us to quickly test and prototype control algorithms before proceeding with the next step and testing algorithms in a Gazebo simulation. In this tutorial, we explain how to implement a simple control algorithm that will make robot describe a circular trajectory

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere