Beat Küng 55da07d3c4 mc_att_control: fix computation of yaw weight for attitude control
Previously, the yaw weight was based on the tilt angle of the attitude
setpoint (R_sp(2, 2) == cos(tilt angle)). This makes no sense, it means
the weight is low for high tilt angles even if there is no roll-pitch error
at all.

This patch changes the weight computation to be based on the tilt angle
error: the yaw weight is 1 if there is no roll-pitch error (independent
from current tilt angle), and is reduced for higher tilt angle errors.

The weight was added in 05e9a30573f50dd271f10, without any explanation or
derivation of how and why the weight is chosen that way.

However this patch works much better in practice. The yaw control is
improved, though it can be a bit slow to converge if you do continuous &
fast roll-pitch motions (which is expected).
2017-10-01 15:36:21 +02:00
2017-09-29 10:13:51 -04:00
2017-09-29 10:13:51 -04:00
2016-07-29 11:05:01 +02:00
2017-09-29 10:46:50 -10:00
2016-10-19 15:31:54 +02:00
2017-09-29 10:13:51 -04:00
2017-09-29 10:13:51 -04:00
2017-09-29 10:13:51 -04:00
2017-08-14 17:03:06 -04:00
2017-08-14 17:03:06 -04:00
2017-09-29 10:13:51 -04:00
2017-07-30 19:18:49 +02:00
2017-01-02 10:14:41 +01:00
2017-09-29 10:13:51 -04:00
2017-09-29 10:13:51 -04:00
2015-06-12 08:30:50 +01:00
2015-07-13 14:52:39 -07:00
2017-09-29 10:13:51 -04:00
2016-01-01 21:21:49 +01:00

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.

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%