Julian Oes e416a8cb83 mc_pos_control: fix takeoff bug
This resolves a bug where a takeoff would go sideways instead of
straight up. What happened was that the position setpoint got shifted
around even though there was actually no real setpoint set but only a
setpoint of type IDLE. This then lead to a position setpoint far away
from the takeoff point and therefore scary takeoffs.

This fix prevents the part of the position controller which
moves/integrates the position setpoint from running in the case of an
idle setpoint.

This bug could be reproduced by switching the vehicle to mission mode
without a valid mission, then switch to hold mode, and then send the arm
and takeoff command.
2016-12-02 17:34:00 +01:00
2016-11-29 08:03:23 +01:00
2016-07-29 11:05:01 +02:00
2016-11-28 09:21:12 +01:00
2016-12-02 17:34:00 +01:00
2016-10-19 15:31:54 +02:00
2016-11-28 09:21:12 +01:00
2016-06-24 11:45:23 +02:00
2014-03-22 13:32:33 -04:00
2016-10-11 21:25:58 -04:00
2016-10-11 21:25:58 -04:00
2015-06-12 08:30:50 +01:00
2016-11-28 09:21:12 +01:00
2015-07-13 14:52:39 -07:00
2016-11-21 08:33:42 +01:00
2016-01-01 21:21:49 +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.

S
Description
a mirror of official PX4-Autopilot
Readme BSD-3-Clause
587 MiB
Languages
C++ 51.2%
C 38.5%
CMake 4.7%
Python 3.9%
Shell 1.3%
Other 0.1%