https://github.com/sidharthmohannair/px4-ros2-beginner-tutorials
Step-by-step tutorials for learning drone development with PX4, ROS 2, and Gazebo simulation. From basic setup to camera integration and autonomous flight.
https://github.com/sidharthmohannair/px4-ros2-beginner-tutorials
autonomous beginner camera computer-vision drone gazebo humble mavros px4 px4-sitl robotics ros2 simulation tutorial uav
Last synced: 6 months ago
JSON representation
Step-by-step tutorials for learning drone development with PX4, ROS 2, and Gazebo simulation. From basic setup to camera integration and autonomous flight.
- Host: GitHub
- URL: https://github.com/sidharthmohannair/px4-ros2-beginner-tutorials
- Owner: sidharthmohannair
- License: mit
- Created: 2025-03-26T12:49:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T13:27:23.000Z (6 months ago)
- Last Synced: 2025-03-26T14:40:39.494Z (6 months ago)
- Topics: autonomous, beginner, camera, computer-vision, drone, gazebo, humble, mavros, px4, px4-sitl, robotics, ros2, simulation, tutorial, uav
- Homepage:
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PX4 ROS 2 Beginner Tutorials
A step-by-step guide to getting started with PX4, ROS 2, and Gazebo for drone development.

> π§ **Work in Progress**: This tutorial series is under active development. Currently, only the Camera Bridge tutorial is available. More tutorials will be added soon!
## π What You'll Learn
This repository contains beginner-friendly tutorials for working with PX4, ROS 2, and Gazebo. Whether you're a student, hobbyist, or professional, these guides will help you build a strong foundation for drone development.
## πΊοΈ Tutorial Roadmap
Here's what we're planning to cover in this series:
### Available Now
- β [**Camera Feed Bridge**](camera-bridge/) - Learn how to bridge camera feeds from Gazebo to ROS 2 in PX4 simulations### Coming Soon
- β³ Environment Setup - Ubuntu, ROS 2, PX4, and Gazebo installation
- β³ First Steps with ROS 2 - Workspaces, packages, and basic concepts
- β³ PX4 Simulation Basics - Running your first drone simulation
- β³ ROS 2 & PX4 Communication - Connecting ROS 2 to your simulated drone
- β³ Basic Drone Control - Simple commands for flight control
- β³ First Autonomous Functions - Creating basic autonomous behaviors## π Who Is This For?
These tutorials are designed for:
- Beginners to PX4 and ROS 2
- Students working on drone projects
- Hobbyists exploring autonomous systems
- Professionals transitioning to drone development
- Anyone interested in learning drone programming step-by-stepNo prior experience with drones is required, but basic knowledge of Linux commands and programming concepts will be helpful.
## π Getting Started
### Prerequisites
To follow these tutorials, you'll need:
- Ubuntu 22.04 LTS
- ROS 2 Humble
- PX4-Autopilot (latest version)
- Gazebo Garden/Harmonic
- Basic knowledge of Linux terminal commands
- Basic understanding of Python programming### How to use this Repository
1. Clone this repository:
```bash
git clone https://github.com/sidharthmohannair/px4-ros2-beginner-tutorials.git
cd px4-ros2-beginner-tutorials
```2. Navigate to a specific tutorial folder:
```bash
cd camera-bridge
```3. Follow the instructions in the tutorial's README.md file
## πΈ Featured Tutorial: Camera Feed Bridge
Learn how to bridge camera feeds from a PX4 simulation in Gazebo to ROS 2, enabling you to process camera data using ROS tools and libraries.

This tutorial covers:
- Setting up a camera-equipped drone in simulation
- Identifying camera topics in Gazebo
- Bridging the camera feed to ROS 2
- Visualizing and processing the camera data[Go to Camera Bridge Tutorial β](/tutorials/camera-bridge/README.md)
## π Feedback & Contributions
Your feedback helps improve these tutorials for everyone!
- Found a typo or error? Please open an issue.
- Have a suggestion for improvement? Submit a pull request.
- Want to request a specific tutorial? Let us know in the discussions.## π Stay Updated
Star and watch this repository to be notified when new tutorials are added!
## π License
This project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.
---
Happy coding and happy flying! πβ¨