PX4 & ROS2 Integration: Drone Teleoperation in Gazebo (Joystick Control) #drone #ros2 #px4

Follow me on LinkedIn:   / kumar-utkarsh-124aab227   Welcome to our PX4 + ROS2 Integration Masterclass! In this in-depth workshop, we break down the complex barrier between flight controllers and high-level robotics. We guide you through the complete pipeline of setting up a drone simulation, bridging it with ROS 2, and achieving full offboard control. Learn how to teleoperate a drone in Gazebo using a joystick by mastering the Micro XRCE DDS bridge—the essential translator between the PX4 Autopilot and ROS 2 Humble. This session is perfect for students, ROS developers, and drone enthusiasts who want to move beyond manual RC control and understand the rigorous requirements of autonomous navigation, including Quality of Service (QoS) and trajectory setpoints. Visit Website: mechamindlabs.com 🤖 PROJECT CODE: Access all the source code, launch files, and resources from this workshop on our GitHub repository: https://github.com/MechaMind-Labs/ROS... 🔥 Ready to Go Pro? Join Our 45-Day Training Program! 🔥 We are launching our exclusive "Career Accelerator" Certification Program. This is an intensive, hands-on Training Program designed to help you build "Mechabot"—a full-stack autonomous mobile robot—in just 45 days, right from design and simulation to a physical bot using actual hardware. If you're serious about a career in robotics, embedded systems, and full-stack integration, this is the next step. 🚀 Join the pre-registration waitlist to get early access and updates: https://forms.gle/4sotZMAs2Ybtm8vb9 🔗 STAY CONNECTED: 💬 Join our WhatsApp Community: Connect with fellow robotics enthusiasts, ask questions, and get support from the MechaMind Labs community - https://chat.whatsapp.com/FFD5Yt2i9eM... 📺 Subscribe for more workshops and tutorials! Timestamps 0:00 - Introduction & Agenda 1:26 - Announcement: Meccabot AMR Workshop 3:19 - Motivation: Why integrate PX4 with ROS 2? 4:23 - Target Audience & Roadmap 6:56 - What is a Drone (UAV, UGV, UUV)? 8:39 - Technology Stack (PX4, ROS 2, Micro XRCE DDS) 9:44 - What is an Autopilot? 13:57 - PX4 Autopilot Features 17:52 - PX4 vs Pixhawk vs ArduPilot 21:13 - GCS, QGroundControl, MAVLink 27:00 - SITL vs HITL 29:25 - ROS 2 Overview 37:12 - PX4 → ROS 2 Communication (Micro XRCE DDS Bridge) 38:38 - What is a Companion Computer? 42:06 - DDS & Micro-ROS 47:34 - GitHub Repo & Environment Setup 50:14 - Building Workspace & PX4 SITL 53:40 - Launching Gazebo 55:14 - Terminal Drone Control (Commander) 59:55 - QGroundControl Setup 1:09:33 - Micro XRCE DDS Agent Setup 1:13:26 - Viewing ROS 2 Topics 1:16:42 - Fixing px4_msgs 1:22:31 - Offboard Mode Explained 1:24:31 - Offboard Pillars Overview 1:25:21 - Pillar 1: QoS 1:30:42 - Pillar 2: Heartbeat 1:33:34 - Pillar 3: Continuous Setpoints 1:36:09 - Coordinate Frames (NED, FLU, ENU) 1:43:00 - Position Control Code Walkthrough 1:51:25 - Offboard Control Logic 2:02:34 - Autonomous Position Control Demo 2:07:10 - Joystick Setup (JStest) 2:08:46 - Joystick Low-Level Logic 2:19:35 - Velocity Control Node 2:26:25 - Frame Transformation Logic 2:28:45 - Launch File 2:29:35 - Final Joystick Teleoperation Demo 2:31:29 - Keyboard Teleoperation 2:33:43 - Conclusion & Q&A #dronesimulation #robotics #gazebosim #microxrcedds #ubuntu #px4autopilot #roboticsengineering #autonomousdrones #mechamindlabs #opensource