Carlo Wood ebeb187522 Move #pragma once outside #ifdef's.
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.
2016-11-13 19:36:27 +01:00
2016-11-11 09:50:42 +01:00
2016-11-11 09:50:42 +01:00
2016-11-09 19:38:38 -05:00
2016-11-13 19:36:27 +01:00
2016-10-19 15:31:54 +02:00
2016-10-11 21:25:58 -04:00
2016-10-11 21:25:58 -04:00
2016-10-28 08:40:23 +02:00
2016-11-05 11:43:09 +01:00

PX4 Pro Drone Autopilot

Releases DOI Build Status Coverity Scan

Gitter

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.

Users

Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.

Developers

Maintenance Team

Supported Hardware

This repository contains code supporting these boards:

Project Milestones

The PX4 software and Pixhawk hardware (which has been designed for it) has been created in 2011 by Lorenz Meier.

Languages
C++ 50.4%
C 36.8%
CMake 4.6%
Python 3.6%
Linker Script 3%
Other 1.4%