1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

OP-938 Reduce deadband to +/-10% around 0

This commit is contained in:
Alessio Morale 2013-05-03 22:28:34 +02:00
parent 1c3fb70ab1
commit c88c0e03a8

View File

@ -791,7 +791,7 @@ static void updateLandDesired(ManualControlCommandData *cmd, bool changed)
*/
static void altitudeHoldDesired(ManualControlCommandData *cmd, bool changed)
{
const float DEADBAND = .20f;
const float DEADBAND = .10f;
const float DEADBAND_HIGH = 1.0f / 2 + DEADBAND / 2;
const float DEADBAND_LOW = 1.0f / 2 - DEADBAND / 2;