# ros2_course_packages **Repository Path**: verwing/ros2_course_packages ## Basic Information - **Project Name**: ros2_course_packages - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-04 - **Last Updated**: 2024-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://img.shields.io/badge/Udemy-Course-blue)](https://www.udemy.com/course/ros2-how-to/) [![Discount](https://img.shields.io/badge/Discount-Coupons-green)](https://www.riotu-lab.org/udemy.php) ## 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](https://index.ros.org/doc/ros2/Installation/) 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: ```bash cd ~/ros2_ws/src ``` 2. Clone this Git repository into the `src` directory: ```bash 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: ```bash cd ~/ros2_ws/ mv src/ros2_course_packages/* src/ ``` 2. Remove the now empty `ros2_course_packages` folder: ```bash 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: ```bash 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: ```bash cd ~/ros2_ws colcon build ``` 2. Source the installed packages to make them available for use: ```bash 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: ```bash 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](mailto:email@example.com). ## Contributing Contributions are welcome! If you find any issues with the packages or would like to contribute, please create a new [issue](https://github.com/riotu-lab/ros2_course_packages/issues) or [pull request](https://github.com/riotu-lab/ros2_course_packages/pulls) on the GitHub repository. ## License This project is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/). ## Enroll in the Course To enroll in the Udemy course, visit [ROS2 For Beginners](https://www.udemy.com/ros2-how-to/). For discount coupons, check [https://www.riotu-lab.org/udemy.php](https://www.riotu-lab.org/udemy.php).