Skip to content

About

Reproducible PX4 and ROS 2 toolkit for SITL, hardware experiments, Offboard control, trajectory execution, mocap integration, and analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

PX4 Development Toolkit

A PX4 development toolkit for simulation, ROS 2 integration, Offboard control experiments, flight-data recording, and controller-pipeline analysis.

The repository keeps the runtime environments, controller examples, experiment workflows, and analysis tools together while pinning external PX4/ROS sources separately.

Start here

Choose the path that matches what you want to do:

Goal Start here
Use a ready-made container Docker installation
Install directly on Ubuntu Native installation
Run PX4 + Gazebo simulation SITL environment
Run on a physical PX4 platform Hardware environment
Run or understand controller examples Controllers
Record or automate experiment runs Experiment workflows
Analyze one run or compare controllers Analysis
Understand the repository and data flow Architecture reference

The complete documentation map is in docs/index.md.

Quick start: Docker SITL

The lowest-setup path is the published SITL image:

docker pull ghcr.io/ancl/px4-dev-toolkit-sitl:latest

docker run --rm -it --network host \
  ghcr.io/ancl/px4-dev-toolkit-sitl:latest bash

Inside the container:

./tools/sitl start headless

Use another shell in the same container, or attach from your editor, for ROS 2/controller commands. See Docker installation for persistent data, source builds, and the hardware image.

What is included

  • PX4 SITL with Gazebo
  • ROS 2 Jazzy integration through uXRCE-DDS
  • reusable SITL and physical-hardware launchers
  • MAVProxy and QGroundControl integration
  • native PX4 Position-mode and Offboard controller examples
  • geometric SE(3) control with multiple PX4 handoff boundaries
  • configurable trajectories and repeatable experiment sequences
  • rosbag recording with explicit experiment metadata
  • single-run analysis and multi-run SE(3) comparison
  • Vicon-to-PX4 motion-capture bridge for the hardware stack
  • pinned external sources and documented host/tool versions
  • SITL and hardware Docker images

System overview

flowchart LR
    U[User / researcher] --> E{Environment}
    E -->|Simulation| S[PX4 SITL + Gazebo]
    E -->|Physical platform| H[PX4 hardware]
    R[ROS 2 toolkit] <--> S
    R <--> H
    V[Vicon / mocap] --> R
    R --> C[Controllers]
    C --> S
    C --> H
    R --> B[rosbag / studies]
    B --> A[Analysis and comparison]
Loading

Docker and native installation are two ways to obtain the same toolkit workflows; SITL and hardware are the two runtime environments. The detailed architecture and ownership boundaries are documented in Architecture and Configuration.

Repository layout

px4-dev-toolkit/
├── analysis/        analysis implementation and experiment profiles
├── config/          runtime, vehicle, topic, sequence, source, and version config
├── docker/          SITL/hardware container build and Compose definitions
├── docs/            user and technical documentation
├── px4/             PX4 build helpers and fetched PX4 source location
├── ros2/            ROS 2 workspace, packages, build/test/runtime helpers
├── setup/           native installation and pinned-source setup
└── tools/           user-facing runtime, sequence, and analysis commands

External projects are fetched at pinned revisions instead of being vendored into this repository. Source and configuration ownership are described in Architecture and Configuration.

Documentation

Use the task-oriented documentation landing page: docs/index.md.

The main entry points are Docker, Native installation, SITL, Hardware, Controllers, Recording, Sequences, Analysis, Comparison, and Extending the toolkit.

License

Toolkit code is released under the BSD 3-Clause License. Fetched third-party projects retain their upstream licenses.

About

Reproducible PX4 and ROS 2 toolkit for SITL, hardware experiments, Offboard control, trajectory execution, mocap integration, and analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages