
Learn the core concepts of the robot operating system (ROS) for beginners, including nodes, topics, messages, services, motion, perception, and OpenCV.
Abstract. Robot Operating System (ROS) becomes nowadays the de-facto standard for developing robotics applications. The pre-birth initiatives were emerging from STanford AI Robot (STAIR) project and Personal Robots (PR) program, which aimed at creating dynamic software systems for robotics applications, until 2007 when Willow Garage, a major robotics investor, boosted the development of this initiative and contributed to the release of the first ROS software packages in 2009. The first version of ROS was released in 2010 and nowadays ROS becomes the largest ecosystem and platform for robotics software development. In just a few years of its release, ROS has witnessed a huge community with an increasing number of users and developers from academia and industry, as well as hobbyists. How did ROS revolutionize robotics software development in just a few years? In this presentation, I will give an overview of ROS and its evolution in the past years after its release. I will unveil the secrets of ROS that makes it a revolutionary solution for developing robotics applications. I will share my experience, as a computer scientist working on robotics, developing robotics applications in the pre-ROS and post-ROS times, and how ROS made a complete shift in the software engineering and development approaches for mobile robots. The presentation will also give a small overview of the main concepts of ROS and the most important libraries and packages that comes with it. Video demonstrations and real illustrations will be presented.
Discover why ROS revolutionizes robotic software by enabling high-level development, simplifying control without low-level drivers, and enabling multi-robot coordination, path planning, and obstacle avoidance for drones and robots.
Explore the ros architecture: nodes are processes that register with the ros master to communicate, but ros 1's single point of failure, with python and c++ client libraries using tcp/udp.
Launch the ros core and start nodes to enable communication via the ros master, then monitor topics, velocity messages, turtle sim, teleoperation, and Python or C++ APIs.
Explore diverse contributions to ROS across education and research, from turtlebot-based applications and radar emulation to drone control, OpenCV-enabled learning, cloud-based ROS link, and multi-robot coordination.
In this video, I present the different ROS distributions and discuss how to choose among them. Then, I give some practical hints and guidelines for the installation of ROS and how to choose the appropriate operating system.
In this lecture, I demonstrate how to install a Ubuntu virtual machine on Mac-OS to install and work with ROS on it.
In this video, I show how to install ROS Melodic on Ubuntu Bionic using the virtual machine installed in the previous video.
The process is the same to install any other ROS version
This video provides you some pointers on how to select a good IDE to develop projects with ROS.
This is rather an information that is not clear for new ROS users.
In this lecture, I will explain the difference between a workspace and package in ROS and how to create them, and how to organize your ROS project.
In this lecture, I present you can download ROS package (project) that contains the code I will be explaining during this course. It is recommended to download the code before starting the next lecture.
Learn the Ros computation graph life cycle by launching the turtle sim robot, registering with the Ros master, and linking a publisher and subscriber on the cmd topic.
Publish a message on the topic Turtle one slash CMD with ros topic pub, sending geometry msgs twist to drive the robot along x at velocity 0.1 for ten repeats.
Launch a roscore session, start the turtle simulation node with rosrun turtle_sim turtle, and explore active nodes and topics to control turtle motion.
Demonstrate how to inspect the ros computation graph with rqt_graph, showing the teleop turtle, turtle sim node, and the topic /turtle1/cmd1 in a graphical interface.
In this video, I present ROS ecosystem and packages, and explain how to start roscore, the main node in ROS.
In this tutorial, I explain the concepts of ROS nodes, ROS topics and ROS messages which are the key subjects that any ROS user has to understand very well to proceed further. I provide a clear illustrations of these concepts through demonstrations.
Explore ROS topics by detailing publisher and subscriber relationships, one-to-one and one-to-many patterns, and how the ROS master coordinates node communication and TCP handshakes to stream data.
Develop a talker and listener publisher/subscriber node in c++, comparing it with python, detailing node initialization, advertise and subscribe calls, and essential build configurations in cmakelists.txt and package.xml.
Explore a demo ROS talker/listener in C++, creating a publisher and subscriber on the chatter topic, using node handles, messages, string streams, and catkin build steps.
In this video, you will learn how to write a publisher node and a subscriber node in Python using ROS. You will understand to which extent using Python makes coding in ROS much simpler.
Create a custom ROS message named iot sensor with id, name, temperature, and humidity, and enable communication by updating the CMakeLists.txt and package.xml, then catkin_make.
Learn to build a ROS publisher–subscriber app using a iot sensor message, publishing random temperature and humidity values on the iot sensor topic and validating with ROS tools.
Learn to write a ROS service in Python by building a server and client, using rospy, and defining request and response messages with fields A and B.
This lecture demonstrates how to write a ROS service in Python.
This lecture is made using Ubuntu 20.04 and ROS Noetic.
Begin by importing the ROS libraries and messages for both Python and C++ implementations. Import rospy and the twist and post messages from geometry_msgs and the turtle theme MSG package.
Apply the divide and conquer approach to build a clinic application by implementing straight motion, rotation in place, go to goal, and spiral trajectories, then integrate them into a system.
Learn to rotate a robot in place using Python and C++, converting degrees to radians and publishing angular velocity to rotate clockwise or counterclockwise, stopping at the target angle.
Set the robot's desired orientation by computing the relative angle between the current yaw and the target angle, convert degrees to radians, and rotate clockwise or counterclockwise accordingly.
Explore the set orientation method in ROS by commanding the robot to rotate to an absolute angle, such as 90, 45, or 180 degrees, at 30 degrees per second.
Demonstrates spiral trajectory behavior for a grid cleaner application, showing how k, r, increment, and w_k shape the path, with a turtle simulator to observe trajectory changes.
News and Updates.
This is the best-seller course in ROS on Udemy.
My course has been upgraded to the latest version of ROS, ROS Noetic, with several new videos explaining the fundamental concepts of ROS with hands-on illustrations. It will also give you the required skills to later learn ROS2 and navigation stack, as presented in my two other courses.
Why am I teaching this course?
Typically, new ROS users encounter many difficulties when they start programming with ROS. Although there are so many tutorials, there are a lot of tips and practical issues that could not be easily found in tutorials and are not discussed and are left to the developer's luck. Although there is much documentation for ROS, several are very broad, and it takes too long to grasp the concepts well. This is where this course plays a role and provides an added value by providing a focused introduction to the BASICS of ROS. The course not only presents the basic concepts of ROS but also addresses two essential fields in robotics: (1) motion and (2) perception. We will apply the general concepts of ROS in the context of robotic motion and perception. The course will provide you with an opportunity to learn about OpenCV, the most powerful computer vision library that promotes robotic perception.
My approach is to take you STEP BY STEP through the roadmap of learning ROS so that you learn the concepts in the proper order and help you build an experience from one lecture to the other.
This is a course that provides the fundamental concepts and basics of the Robot Operating System (ROS). This course intends to give beginner ROS users a quick and focused introduction to ROS basics and practical tips that help them better manage their first projects with ROS in C++ and Python. In particular, developing with C++ in ROS requires special care compared to Python to configure the compilation and runtime environment well. This is presented clearly in this course.
There are mainly three majors steps in the course:
ROS Basics and Foundation: This deals with the general ROS concepts everyone has to know, like ROS topics, Services, Messages, and Nodes, ...
Motion in ROS: We apply the concepts learned in Step 1 to make a robot move. We will develop a different trajectory in the context of an excellent example simulating a cleaning robot. In particular, we illustrate how to represent the pose (position and orientation) of a robot in ROS and how to send a motion control message to make the robot move. We clearly demonstrate how to implement linear, rotational, and spiral motions and how all of these can be integrated to simulate a cleaning application. This part will give you the background you need to understand robot kinematics and how motion is represented in ROS.
Perception in ROS: I will introduce how a robot sees the environment using a camera, how the images are collected in ROS, and how they are processed in OpenCV.
Arduino: you will also learn how to use Arduino boards and sensors with ROS using the ROSSERIAL Arduino interface. This will allow you to integrate any Arduino sensor and board into your robot and robotics applications.
Based on my experience, these are the most important things any new ROS user must know to go further with their own robotics project.
I also provide some hands-on activities that allow the learner to assess his understanding and push him to practice the concepts he learned.
My experience with ROS
I have been programming with ROS for many years both in academic and industrial projects. I am very passionate about developing a program with ROS. I have also been teaching ROS at the University and providing training programs. I am the leader of the Robotics and Internet-of-Things Lab at Prince Sultan University and also a consultant for Gaitech Robotics. I have developed many ROS packages for robots and drones. I have been leading international scientific activities around ROS, and in particular, I am the editor of three volumes of books with Springer entitled Robot Operating System, The Complete Reference. I gained a lot of experience in what difficulties new users encounter in learning ROS, which contributed to pinning right to the point addressing these problems through the different lectures of the course.
Welcome to the World of ROS.