1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00
This commit is contained in:
julian_lilov 2020-12-14 10:12:06 +02:00
parent a17a153a1b
commit 559907a3e4

View File

@ -495,7 +495,7 @@ void plan_run_VelocityRoam()
cmd.Pitch = applyExpo(cmd.Pitch, stabSettings.StickExpo.Pitch);
cmd.Yaw = applyExpo(cmd.Yaw, stabSettings.StickExpo.Yaw);
bool flagRollPitchHasInput = (fabsf(cmd.Roll) > 0.0f || fabsf(cmd.Pitch) > 0.0f);
bool flagRollPitchHasInput = (fabsf(cmd.Roll) > 0.05f || fabsf(cmd.Pitch) > 0.05f);
if (!flagRollPitchHasInput) {
// no movement desired, re-enter positionHold at current start-position