Skip to content

About

A complete starter guide for setting up PX4, configuring Gazebo and jMAVSim simulations, adding GZ models and worlds, integrating ROS Humble.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PX4-Sim-Starter

A complete starter guide for setting up PX4, configuring Gazebo and jMAVSim simulations, adding GZ models and worlds, integrating ROS Humble.

We recommend using Ubuntu 22.04 LTS.

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!


📦 What’s Inside This Repository

1. PX4 Installation Guide

  • Install PX4 from source

2. Running PX4 Simulations

✔ Gazebo (GZ) Simulation

  • Launching PX4 with the new Gazebo (Gazebo Garden / GZ Sim)
  • Running multirotor simulations
  • Loading custom GZ models and environments

✔ jMAVSim Simulation

  • Lightweight single-vehicle simulation
  • Connecting QGroundControl
  • Ideal for simple debugging or CI workflows

3. Gazebo Models & Worlds

  • How to create your own models and worlds
  • Importing community models
  • Using SDF/URDF with PX4
  • Notes on physics and rendering in GZ

4. ROS Humble Integration

  • Installing ROS Humble
  • Setting up workspaces for PX4 + ROS
  • Sending & receiving ROS topics

5. GZ–ROS Bridge

  • Installing and configuring ros_gz_bridge
  • Subscribing to GZ topics
  • Visualizing data in RViz2
  • Example bridge launch files

🎯 Goal of This Repository

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)

📝 Contributions

Contributions are welcome — whether fixes, improvements, examples, or additional worlds/models.

you make message me at asnb1212@gmail.com

About

A complete starter guide for setting up PX4, configuring Gazebo and jMAVSim simulations, adding GZ models and worlds, integrating ROS Humble.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages