mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Revert "LP_620"
This reverts commit 559907a3e4e779dc981967ee71f9ffc395096c9d.
This commit is contained in:
parent
559907a3e4
commit
b2fb571999
@ -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.05f || fabsf(cmd.Pitch) > 0.05f);
|
||||
bool flagRollPitchHasInput = (fabsf(cmd.Roll) > 0.0f || fabsf(cmd.Pitch) > 0.0f);
|
||||
|
||||
if (!flagRollPitchHasInput) {
|
||||
// no movement desired, re-enter positionHold at current start-position
|
||||
|
Loading…
x
Reference in New Issue
Block a user