1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

bugfix in fixed wing path follower

This commit is contained in:
Corvus Corax 2012-11-23 11:49:17 +01:00
parent 7059d4f032
commit 55f0d41016

View File

@ -293,7 +293,7 @@ static void updatePathVelocity()
break;
}
// make sure groundspeed is not zero
if (groundspeed<1e-6) groundspeed=1e-6;
if (groundspeed<1e-2) groundspeed=1e-2;
// calculate velocity - can be zero if waypoints are too close
VelocityDesiredData velocityDesired;