PX4 Autopilot Software
Go to file
Carlo Wood 6fc30c76a6 Clean up of app.h
app.h, generated from app.h_in, has unnecessary code duplication
and isn't a header file (it defines globals, static functions
and doesn't have a header guard, moreover, it has a 'using namespace
std;'). Because of this, a real headerfile that declares the stuff
defined in apps.h was missing leading to even more code duplication:
scattered forward declarations in .cpp files and an often repeated
type of std::map<std::string, px4_main_t>.

This patch moves cmake/qurt/apps.h_in to src/platforms/apps.cpp.in
(with some changes) and removes cmake/posix/apps.h_in.
Then src/platforms/apps.cpp.in is split into src/platforms/apps.cpp.in
and src/platforms/apps.h.in, splitting declarations from definitions.

A typedef is defined for the map (apps_map_type).

The main difference between cmake/posix/apps.h_in and
cmake/qurt/apps.h_in was that the first defined a global 'apps',
while qurt stores the apps in QShell. I opted to get rid of
the global variable (which are in general evil for various reasons)
and used the API of cmake/qurt/apps.h_in where a provided 'apps'
map is initialized with a call to init_app_map. Thus removing
the existing code duplication.
2016-10-22 08:31:14 +02:00
Debug Profiler: folder fix - more special cases for operator<< and operator>> 2015-01-21 14:54:24 +01:00
Documentation Rename mainapp to px4. 2016-07-29 11:05:01 +02:00
Images CF2: Unique Board ID 2016-09-20 19:21:24 -04:00
NuttX@e40af7e82c Upgrade NuttX submodule 2016-10-17 22:55:31 +02:00
ROMFS tap: add landing gear capability 2016-10-20 23:17:05 +02:00
Tools px_uploader.py: catch exception in except block 2016-10-20 23:18:56 +02:00
cmake Clean up of app.h 2016-10-22 08:31:14 +02:00
integrationtests SITL CI: gracefully fail tests early (#5405) 2016-08-28 21:56:31 +02:00
launch LPE vision estimation fixes. (#5505) 2016-10-01 09:02:12 -04:00
mavlink/include/mavlink update mavlink submodules 2016-10-19 13:13:47 +02:00
misc/tones Allow tone_alarm cmd to take filename as parameter 2013-08-31 16:06:15 -04:00
msg Add switch for landing gear, pass it to actuators 2016-10-20 23:17:05 +02:00
nuttx-configs Removed comments to allow appconfigs to bring in can 2016-10-06 19:02:51 +02:00
posix-configs Adds Auto Mode Scanning 2016-10-06 09:00:09 +02:00
src Clean up of app.h 2016-10-22 08:31:14 +02:00
test_data Add additional DSM test data 2016-10-19 15:31:54 +02:00
unittests uorb unittests stubs: add orb_advertise_queue 2016-08-24 21:24:35 +02:00
.ackrc ack: add .ackrc to ignore the Documentation directory 2016-04-11 11:23:01 +02:00
.gitignore gitignore: don't ignore all .config files 2016-07-22 09:33:43 +02:00
.gitmodules Update MAVLink submodules 2016-06-24 11:45:23 +02:00
.travis.yml travis-ci, circleci update to GCC 4.9 and 5.4 2016-10-20 22:01:53 -04:00
.ycm_extra_conf.py Added youcompleteme config. 2014-03-22 13:32:33 -04:00
CMakeLists.txt cmake: add support for out-of-tree modules via EXTERNAL_MODULES_LOCATION variable 2016-09-27 15:10:23 +02:00
CONTRIBUTING.md correct link to developer guide 2016-01-11 08:37:43 +01:00
Firmware.sublime-project supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
LICENSE.md LICENSE.md: bring year up-to-date 2015-06-12 08:30:50 +01:00
Makefile Makefile error preventing px4fmu-v4_default build 2016-10-10 22:47:28 -04:00
README.md Minoor nitpick in README 2016-10-18 08:07:14 +02:00
Vagrantfile Speed up Vagrant 2016-01-01 21:21:49 +01:00
circle.yml travis-ci, circleci update to GCC 4.9 and 5.4 2016-10-20 22:01:53 -04:00
eclipse.cproject eclipse project file updates 2016-10-11 21:25:58 -04:00
eclipse.project eclipse project file updates 2016-10-11 21:25:58 -04:00
package.xml PX4 package depends on mav_msgs 2015-07-13 14:52:39 -07:00

README.md

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

This repository contains code supporting these boards: