MENU

Fun & Interesting

Learn ROS 2: Beginner to Advanced Course (Concepts and Code)

Kevin Wood | Robotics & AI 20,201 2 months ago
Video Not Working? Fix It Now

🎁 Get FREE Robotics & AI Resources (Guide, Textbooks, Courses, Resume Template, Code & Discounts) – Sign up via the pop-up at https://kevinwoodrobotics.com/ 📝 Real-World Robotics Project Course Overview and Waitlist: https://forms.gle/xu4rfk7GWHCaZGBEA 🦾 Learn Robotics and AI: https://kevinwoodrobotics.com/product/all-courses-bundle-deal/ 🤝 Consulting and Mentorship: https://kevinwoodrobotics.com/product-category/consulting/ 👁️ Learn OpenCV: https://kevinwoodrobotics.com/product/opencv-python-tutorials-full-playlist/ 🤖 Learn ROS: https://kevinwoodrobotics.com/product/ros2-tutorials-full-playlist/ 🧠 Learn Computer Vision using AI: https://kevinwoodrobotics.com/product/computer-vision-using-ai/ 🖥️ Learn AI and Machine Learning: https://kevinwoodrobotics.com/product/ai-and-machine-learning-bundle/ 🛒 Amazon Store (My Top Picks for Robot Projects and More!): https://www.amazon.com/shop/kevinwoodroboticsai?ref_=cm_sw_r_cp_ud_aipsfshop_Q3AMRNBSVVB00Y1XR9TN_3 Ready to learn ROS2 and take your robotics skills to the next level? In this ROS course, I will cover beginner to advanced topics. Not only will I cover the important ROS 2 concepts, but also show you how to write all the code step by step. By the end of this ros 2 course, you should have a solid understanding of ros 2 concepts and be ready for real-world robotics problems! 0:00 Introduction 1:16 Setting Up WSL and using in VS Code 3:01 Install Humble for ROS 2 4:29 Sourcing ROS 5:38 ROS Executables from Packages 9:46 ROS Nodes 11:25 ROS Topics 16:56 ROS Services 20:51 ROS Parameters 24:24 ROS Actions 28:02 ROS Workspace 29:47 Build ROS Packages with Colcon 33:49 Create ROS Packages with Colcon 36:18 Create Publisher and Subscriber ROS Package in C++ 44:13 Create Publisher and Subscriber ROS Package in Python 49:44 Launch Files to Run ROS Nodes and ROS Commands 51:56 URDF Files to Describe Any Robot in ROS 1:04:49 URDF Xacro Files 1:11:23 RVIZ Robot Simulation 1:17:44 ROS2 Control Gazebo Robot Simulation 1:30:40 Plotting Data in ROS with PlotJuggler 1:34:07 Camera Gazebo and Rviz Simulation 1:40:50 Lidar Gazebo and Rviz Simulation 1:47:55 Depth Camera Gazebo and Rviz Simulation 1:56:25 Mobile Robot ROS2 Control Gazebo Simulation 2:14:26 SLAM Toolbox ROS Simulation in Gazebo and Rviz 2:30:52 Navigation with NAV2 using ROS Gazebo and Rviz Simulation # ROS2 Humble Installation Installation: https://docs.ros.org/en/humble/Installation.html 1. **Locale Configuration** ```bash locale # Check current locale settings sudo apt update && sudo apt install locales sudo locale-gen en_US en_US.UTF-8 sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 export LANG=en_US.UTF-8 locale # Confirm updated locale settings ``` 2. **Software Properties and Universe Repository** ```bash sudo apt install software-properties-common sudo add-apt-repository universe ``` 3. **Curl Installation and ROS Key** ```bash sudo apt update && sudo apt install curl -y sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg ``` 4. **ROS2 Sources Configuration** ```bash echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list (greater than**) /dev/null ``` Replace (greater than**) with actual symbol (youtube doesn't allow the symbol) 5. **Update and Upgrade** ```bash sudo apt update sudo apt upgrade ``` 6. **ROS Desktop Installation** ```bash sudo apt install ros-humble-desktop ``` 7. **ROS Environment Setup** ```bash source /opt/ros/humble/setup.bash ``` 8. **ROS2 Command Check** ```bash ros2 ``` Thanks for watching! If you found this video helpful, please like, subscribe and share: https://www.youtube.com/@kevinwoodrobotics Sharing my referral link for when you order your Tesla. You’ll get $1,000 off the purchase of a Tesla product! https://ts.la/kevin145437 Social: Website: https://www.kevinwoodrobotics.com LinkedIn: https://www.linkedin.com/in/kevinwoodrobotics Instagram: https://www.instagram.com/kevinwoodrobotics

Comment