A complete starter guide for setting up PX4, configuring Gazebo and jMAVSim simulations, adding GZ models and worlds, integrating ROS Humble.
If you are currently on Windows, we strongly suggest setting up a dual-boot system for the best development experience. Here is a helpful YouTube guide on how to dual-boot Windows and Ubuntu.
How to Dual Boot Windows 11 & Ubuntu Easily!
If you're using a Mac, it's perfectly fine to run Ubuntu in a virtual machine. We recommend using UTM. Here is a helpful YouTube guide on how to set up an Ubuntu 22.04 VM:
How to Install Ubuntu Linux VM on a Mac (M1 / M2 / M3 / M4 / M5) with UTM!
- Install PX4 from source
- Launching PX4 with the new Gazebo (Gazebo Garden / GZ Sim)
- Running multirotor simulations
- Loading custom GZ models and environments
- Lightweight single-vehicle simulation
- Connecting QGroundControl
- Ideal for simple debugging or CI workflows
- How to create your own models and worlds
- Importing community models
- Using SDF/URDF with PX4
- Notes on physics and rendering in GZ
- Installing ROS Humble
- Setting up workspaces for PX4 + ROS
- Sending & receiving ROS topics
- Installing and configuring
ros_gz_bridge - Subscribing to GZ topics
- Visualizing data in RViz2
- Example bridge launch files
This repository aims to serve as:
- A practical guide for PX4 beginners
- A reference for PX4 + ROS + Gazebo workflows
- A template to build your own simulation environment
- A centralized and modern setup (no outdated scattered docs)
you make message me at asnb1212@gmail.com