Back to search

Nanyang Technological University

Model predictive control-based trajectory tracking for Pixhawk 4 quadrotors in complex environments

Abstract

dc:description.abstract

Quadrotors must track time-parameterized trajectories under actuator/safety limits and wind. While Model Predictive Control (MPC) suits this task, PX4-native evaluations that compare MPC with the stock multicopter controller under identical OFFBOARD timing and message paths are scarce, hindering fair and reproducible assessment in ROS/PX4 pipelines. This thesis builds a compact ROS1/PX4 stack with clear topic contracts: planner → pseudo_path (min-snap smoothing & time allocation) → MPC (convex QP via OSQP) → PX4 flight stack (via MAVROS). A minimal discrete model preserves QP sparsity and warm starts; the controller streams setpoints at a fixed rate to satisfy the ≥ 2 Hz OFFBOARD requirement and enforces input/state limits. In PX4–Gazebo SITL, a reproducible benchmark uses a figure-eight trajectory under no/light/medium wind. Reported metrics—planar/vertical RMSE, P95, and Max—are complemented by per-step solve times and end-to-end latency in the MAVROS/PX4 loop. Results show consistently improved tracking while meeting real-time budgets and maintaining stable OFFBOARD streaming, enabling apples-to-apples comparisons within the PX4 stack.

Degree

thesis:*
College dc:contributor.school
School of Mechanical and Aerospace Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Peng, Zhongnan
Advisor dc:contributor.supervisor
  • Lyu Chen

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/204432

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Peng, Zhongnan. Model predictive control-based trajectory tracking for Pixhawk 4 quadrotors in complex environments. Nanyang Technological University, 2025. https://hdl.handle.net/10356/204432