mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 14:44:07 +08:00
Running this script will parse the top of all source files that are not submodules, examples or test cases, to find all #include's and then do basically two things: 1) Reorder and group the headers so that px4_* headers are included first, then local headers (headers of the project that aren't submodules) then C++ headers if any, then C headers if any, then system headers (which includes submodules) and finally any #includes that are inside #if*...#endif constructs. 2) Fix the use of "" or <> in a consistent manner. Afterwards few fixes might be necessary for compile errors that pop up. Most of those are already fixed in my previous commits. However, I was not able to test a compilation for ros (with __PX4_ROS defined) -- so some more fixes might be necessary because of the header reordering. The script comes with a progress counter and an error summary (if any) at the end (so no scrolling back is necessary). It is highly recommended to only run this script in a clean project with no outstanding changes that need to be committed. In fact, the script enforces this (unless you pass --force). Reverting a run of the script is then easy with 'git checkout .'. It is also possible to run the script on a single file by passing that on the command line. In that case it might make sense to pass --debug too, though that was really meant for just me, while developing the script. This will write debug output into the file that is passed, so you don't want to commit that! ;)
PX4 Pro Drone Autopilot
This repository holds the PX4 Pro flight control solution for drones, with the main applications located in the src/modules directory. It also contains the PX4 Drone Middleware Platform, which provides drivers and middleware to run drones.
- Official Website: http://px4.io (License: BSD 3-clause, LICENSE.md)
- Supported airframes (more experimental types than listed here are supported):
- Multicopters
- Fixed wing
- VTOL
- Releases: Downloads
Users
Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.
Developers
Maintenance Team
- Project / Founder - Lorenz Meier
- Dev Call - Mark Whitehorn, Ramon Roche
- Communication Architecture - Beat Kueng, Julian Oes
- UI / UX - Gus Grubba
- Multicopter Flight Control - Dennis Mannhart, Matthias Grob
- VTOL Flight Control - Roman Bapst, Andreas Antener, Sander Smeets
- Fixed Wing Flight Control - Daniel Agar, Paul Riseborough
- Racers - Mark Whitehorn
- OS / drivers - David Sidrane
- UAVCAN / Industrial - Pavel Kirienko
- State Estimation - James Goppert, Paul Riseborough
- VIO - Christoph Tobler
- Obstacle Avoidance - Vilhjalmur Vilhjalmsson
- Snapdragon - Mark Charlebois
- Intel Aero - Lucas de Marchi, Simone Guscetti
- Raspberry Pi / Navio - Beat Kueng
- Parrot Bebop - Michael Schaeuble
Supported Hardware
This repository contains code supporting these boards:
- Snapdragon Flight
- Intel Aero
- Raspberry PI with Navio 2
- Parrot Bebop
- FMUv1.x
- FMUv2.x (Pixhawk and Pixfalcon)
- FMUv3.x (Pixhawk 2)
- FMUv4.x (Pixhawk 3 Pro and Pixracer)
- FMUv5.x (ARM Cortex M7, future Pixhawk)
- AeroCore (v1 and v2)
- STM32F4Discovery (basic support) Tutorial
Project Milestones
The PX4 software and Pixhawk hardware (which has been designed for it) has been created in 2011 by Lorenz Meier.
Description
Languages
C++
51.2%
C
38.5%
CMake
4.7%
Python
3.9%
Shell
1.3%
Other
0.1%