1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-21 13:28:58 +01:00
Stefan Karlsson f7b8a57e42 LP-107 Replace the scaling function in scaleMotors
The previous scaling function used in scaleMotor could end up with
output values below the neutral point.

This patch adds a new scaling mode that will try to scale the output
proportionally while still keep all outputs within neutral and max.

The user can select three different modes:
1) NoScaling - Only cap the output values between neutral and max.
2) AddAndSubtract - The previous output scaling method, which moves the
   output values directly proportionally to the amount the max/min motor
    is out of the limits.
3) ElevateAndCompress - The new mode, which elevates all motor values by
   the percentage needed to bring the min motor to neutral, and then
   compress all motor values by the percentage needed to bring the max
   motor down to max.

The motor scaling mode can be selected by setting the
FlightModeSettings.MotorScalingMode UAVO field.
2015-08-31 21:29:48 +02:00
2015-02-25 12:58:12 +13:00
2015-04-26 05:47:40 +10:00
2015-08-04 16:55:12 +02:00
2015-05-19 20:37:31 +02:00
2015-05-18 21:30:05 +02:00
2015-06-20 16:10:38 +10:00

About the LibrePilot Project

Open - Collaborative - Free

The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics. One of the projects primary goals is to provide an open and collaborative environment making it the ideal home for development of innovative ideas.

LibrePilot welcomes and encourages exchange and collaboration with other projects, like adding support for existing hardware or software in collaboration under the spirit of open source.

LibrePilot finds its roots in the OpenPilot project and the founding members are all long-standing contributors in that project.

The LibrePilot Project will be governed by a board of members using consensual methods to make important decisions and to set the overall direction of the project.

The LibrePilot source code is released under the OSI approved GPLv3 license. Integral text of the license can be found at www.gnu.org

Description
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Readme 266 MiB
Languages
C 60.6%
C++ 30.8%
Fortran 2.6%
Rich Text Format 1.3%
Assembly 1.2%
Other 3.1%