mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Fixed wrong deadband range for AH
This commit is contained in:
parent
04326e2386
commit
3c39b049d6
@ -807,7 +807,7 @@ static void updateLandDesired(__attribute__((unused)) ManualControlCommandData *
|
|||||||
*/
|
*/
|
||||||
static void altitudeHoldDesired(ManualControlCommandData *cmd, bool changed)
|
static void altitudeHoldDesired(ManualControlCommandData *cmd, bool changed)
|
||||||
{
|
{
|
||||||
const float DEADBAND = 0.10f;
|
const float DEADBAND = 0.25f;
|
||||||
const float DEADBAND_HIGH = 1.0f / 2 + DEADBAND / 2;
|
const float DEADBAND_HIGH = 1.0f / 2 + DEADBAND / 2;
|
||||||
const float DEADBAND_LOW = 1.0f / 2 - DEADBAND / 2;
|
const float DEADBAND_LOW = 1.0f / 2 - DEADBAND / 2;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user