Skip to content

riotu-lab/ros2_course_packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

ROS2 for Beginners: Udemy Course Packages

Welcome to the ROS2 for Beginners Udemy course Git repository. This repository contains the packages and materials designed to help you learn essential ROS2 concepts and gain hands-on experience in both C++ and Python languages.

Course Discount

Course Packages

The repository contains the following packages:

  • ros2_essential_cpp: Covers essential ROS2 concepts and examples using the C++ language.
  • ros2_essential_python: Explores essential ROS2 concepts and examples using the Python language.
  • ros2_interfaces_cpp: Provides tutorials on defining and using custom ROS2 interfaces with the C++ language.
  • ros2_motion_cpp: Offers tutorials on robot motion control using ROS2 and the C++ language.
  • ros2_motion_python: Presents tutorials on robot motion control using ROS2 and the Python language.
  • ros2_laser_python: Includes tutorials on working with laser scanners in ROS2 using Python.

Getting Started

Before using the packages provided in this repository, ensure that ROS2 is installed on your system. The ROS2 installation guide offers detailed instructions on how to install ROS2.

Cloning the Repository

Follow these steps to clone the repository and set up the course packages on your local machine:

  1. Open a terminal and navigate to the src directory of your ROS2 workspace:

    cd ~/ros2_ws/src
  2. Clone this Git repository into the src directory:

    git clone https://github.com/riotu-lab/ros2_course_packages.git

Configuring the Workspace

After cloning the repository, you need to configure your workspace:

  1. Move the content of the ros2_course_packages folder to the src directory:

    cd ~/ros2_ws/
    mv src/ros2_course_packages/* src/
  2. Remove the now empty ros2_course_packages folder:

    rm -r src/ros2_course_packages

Your ROS2 workspace is now configured with the course packages.

Building and Running the Packages

With the packages set up in your ROS2 workspace, you can now build and run them. Refer to the specific package documentation for instructions on how to build and execute the provided examples.

Remember to source your ROS2 workspace before running any examples:

source ~/ros2_ws/install/setup.bash

Running Examples

To run the examples provided in each package, follow the steps below:

  1. Build the packages by navigating to the root of your ROS2 workspace and running the colcon build command:

    cd ~/ros2_ws
    colcon build
  2. Source the installed packages to make them available for use:

    source install/setup.bash
  3. Execute any example provided in the packages using the ros2 run command. For instance, to run the talker node from the ros2_essential_cpp package, use the following command:

    ros2 run ros2_essential_cpp talker

Refer to each package's documentation for specific instructions on how to run its examples.

Maintainers

This repository is maintained by Prof. Anis Koubaa. If you have any questions or suggestions, please feel free to contact us.

Contributing

Contributions are welcome! If you find any issues with the packages or would like to contribute, please create a new issue or pull request on the GitHub repository.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Enroll in the Course

To enroll in the Udemy course, visit ROS2 For Beginners. For discount coupons, check https://www.riotu-lab.org/udemy.php.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published