mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
ebeb1875220999eedf80820c818534c7c8d6e1f5
In this particular case it does no harm, but since in other cases it can lead to problems I didn't want to add an exception for this case to fix_headers.sh, that currently chokes on this because it doesn't know better than that it's a bad thing. Note on how #pragma once works: when encountered (aka the #ifdef that it is inside has to be true), the compiler marks the whole file as "seen" (this is implementation defined, but most implementations store the inode of the file). Subsequent #include's of that file/inode are then completely skipped. Hence it doesn't matter if the #pragma is at the beginning, at the end or in the middle, but it should be encountered every #include, usually, and thus not be inside an #if... #endif construct.
…
…
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++
50.4%
C
36.8%
CMake
4.6%
Python
3.6%
Linker Script
3%
Other
1.4%