PX4 Autopilot Software
Go to file
Julien Lecoeur 2c0539ae9c Move selected power source to inst 0 only if nb bricks > 1
When trying to move the selected power source to the first publication instance
on systems where there is only one power source, the compiler issued the warning
```
../src/modules/sensors/sensors.cpp:512:54: error: array subscript is outside array bounds [-Werror=array-bounds]
         tmp_h = _battery_pub[_battery_pub_intance0ndx];
```
because it could not verify that _battery_pub_intance0ndx would always be 0.

Wrap the block between `#if BOARD_NUMBER_BRICKS > 1 [...] #endif`
to ensure no out of bound subscript and to remove the warning.

Remove unused _battery_pub_intance0ndx variable when nb bricks = 1
2017-08-01 12:59:40 -10:00
.github WIP: github issue template (#7701) 2017-07-30 19:16:49 +02:00
Debug Performance audit (intentionally duplicates #6829) (#6847) 2017-03-18 04:16:20 -10:00
Documentation Rename mainapp to px4. 2016-07-29 11:05:01 +02:00
Images Add the Gumstix AeroCore2 to the build system. 2017-04-20 12:24:27 -10:00
NuttX@44ad7e224c Upgrade to Nuttx 7.18+ ==upstream 2016-12-21 08:34:20 +01:00
ROMFS delete vtol_quad_x (replaced with quad_x) 2017-08-01 09:59:26 +02:00
Tools Adding src/lib/micro-CDR to files_to_check_code_style.sh 2017-08-01 22:32:43 +02:00
cmake Use dummy bridge stub if fastrtpsgen not found 2017-08-01 22:32:43 +02:00
integrationtests integrationtests: add wait time before arming to allow checks to pass 2017-05-03 08:37:14 +02:00
launch support of multi uav simulation in SITL 2017-05-14 15:46:18 +02:00
mavlink/include/mavlink MAVLink v2: Update version 2017-07-23 00:16:00 +02:00
misc/tones Allow tone_alarm cmd to take filename as parameter 2013-08-31 16:06:15 -04:00
msg Fixes for manual bridge generation 2017-08-01 22:32:43 +02:00
nuttx-configs FMUv5: Ensure there is enough UART buffer space - since the board has plenty of RAM, all UARTs are treated equally 2017-07-29 16:12:41 +02:00
nuttx-patches BACKPORT:stm32_serial consolidate patches. 2017-08-02 00:45:13 +02:00
posix-configs fix the bug for posix_sitl_inav 2017-07-29 11:01:21 +02:00
src Move selected power source to inst 0 only if nb bricks > 1 2017-08-01 12:59:40 -10:00
test_data Add additional DSM test data 2016-10-19 15:31:54 +02:00
.ackrc ack: add .ackrc to ignore the Documentation directory 2016-04-11 11:23:01 +02:00
.clang-tidy clang-tidy ignore clang-analyzer-unix.API 2017-08-01 22:32:43 +02:00
.gitignore Fixing rebase conflicts 2017-08-01 22:32:43 +02:00
.gitmodules Back to eProsima micro CDR repo 2017-08-01 22:32:43 +02:00
.travis.yml travis-ci remove code coverage build and upload (#7357) 2017-06-05 09:17:16 -04:00
.ycm_extra_conf.py Added youcompleteme config. 2014-03-22 13:32:33 -04:00
CMakeLists.txt Fixing rebase conflicts 2017-08-01 22:32:43 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-07-30 19:18:49 +02:00
CONTRIBUTING.md correct link to developer guide 2016-01-11 08:37:43 +01:00
CTestConfig.cmake gather test results 2017-01-02 10:14:41 +01:00
Firmware.sublime-project Sublime: exclude build folders 2017-02-18 08:03:19 +01:00
LICENSE.md LICENSE.md: bring year up-to-date 2015-06-12 08:30:50 +01:00
Makefile Makefile simplify colorecho for CI 2017-08-01 22:32:43 +02:00
README.md Added RTPS/ROS2 maintainer 2017-08-01 22:32:43 +02:00
Vagrantfile Speed up Vagrant 2016-01-01 21:21:49 +01:00
circle.yml circleci follow latest OSX documentation 2017-08-01 22:32:43 +02: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

Slack 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.

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

Weekly Dev Call

The PX4 Dev Team syncs up on a weekly dev call.

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.