Show/Hide Menu
Hide/Show Apps
Logout
Türkçe
Türkçe
Search
Search
Login
Login
OpenMETU
OpenMETU
About
About
Open Science Policy
Open Science Policy
Open Access Guideline
Open Access Guideline
Postgraduate Thesis Guideline
Postgraduate Thesis Guideline
Communities & Collections
Communities & Collections
Help
Help
Frequently Asked Questions
Frequently Asked Questions
Guides
Guides
Thesis submission
Thesis submission
MS without thesis term project submission
MS without thesis term project submission
Publication submission with DOI
Publication submission with DOI
Publication submission
Publication submission
Supporting Information
Supporting Information
General Information
General Information
Copyright, Embargo and License
Copyright, Embargo and License
Contact us
Contact us
Implementing Quaternion-Based Nonlinear Control for Quadrotors in the PX4 Autopilot Framework
Download
Yucel_Utku_Thesis_Implementing_Custom_Controllers_PX4.pdf
Date
2025-1-9
Author
Yücel, Utku
Metadata
Show full item record
This work is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
.
Item Usage Stats
74
views
464
downloads
Cite This
Designing custom controllers for UAVs requires fast, reliable, and repeatable testing methods. This study addresses this need with a way to implement custom controllers directly within PX4, retaining community-powered safe and reliable features. PX4, an open-source autopilot platform, provides a modular architecture that allows implementation of custom control algorithms. In this study, integration of novel control algorithms into the PX4 autopilot system by two different methods is demonstrated: by using the UAV Toolbox Support Package for PX4 Autopilots, and by modifying the open-source code directly. The process is exemplified by implementing a previously developed Quaternion-Based Nonlinear Controller and an LQT (Linear Quadratic Tracking) Velocity Controller. By taking advantage of the open-source nature and modular design of PX4, the manuscript will present an effective method to implement novel controller approaches on platforms for real-world testing.The workflow involving Simulink Toolbox begins by implementing the custom controller in Simulink environment and using the toolbox to embed the design into PX4 software. The workflow continues with Software-In-The-Loop (SITL) testing. The second workflow begins with setting up the PX4 development environment, followed by creating a custom flight mode that activates the desired controller that is implemented as a module inside the software. The custom controller is then tested and verified using SITL simulations. The latter of the two workflows is selected for the real-world application which involves building a quadrotor that uses PX4 autopilot and has the modified software that includes the custom controller. Finally, the quadrotor is tested to validate simulation findings. The flight tests validate the findings of the SITL in terms of viability of the selected workflow.
Subject Keywords
Control system implementation
,
Linear quadratic tracking
,
Nonlinear controller
,
Open-source UAV development
,
PX4 autopilot
,
Control system validation
,
Custom controller implementation
,
Flight mode development
URI
https://hdl.handle.net/11511/113462
Collections
Graduate School of Natural and Applied Sciences, Thesis
Citation Formats
IEEE
ACM
APA
CHICAGO
MLA
BibTeX
U. Yücel, “Implementing Quaternion-Based Nonlinear Control for Quadrotors in the PX4 Autopilot Framework,” M.S. - Master of Science, Middle East Technical University, 2025.