1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

Fix altitude hold dead band range

This commit is contained in:
James Cotton 2011-09-13 10:34:56 -05:00
parent 3b399ad44c
commit 06190d1d95

View File

@ -600,8 +600,8 @@ static void updateStabilizationDesired(ManualControlCommandData * cmd, ManualCon
// TODO: Need compile flag to exclude this from copter control
static void altitudeHoldDesired(ManualControlCommandData * cmd)
{
const float DEADBAND_HIGH = 0.45;
const float DEADBAND_LOW = 0.55;
const float DEADBAND_HIGH = 0.55;
const float DEADBAND_LOW = 0.45;
static portTickType lastSysTime;
static bool zeroed = false;