Skip to content

Commit

Permalink
Fly-away Follow-Me fix
Browse files Browse the repository at this point in the history
Filter out spurious location updates using average speed
(vs. arbitrary speed limit).

Fixes DroidPlanner#1128
  • Loading branch information
kellyschrock committed Oct 7, 2014
2 parents 93b342d + d0282d0 commit f631806
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/src/org/droidplanner/core/gcs/follow/Follow.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
import com.MAVLink.Messages.ApmModes;

public class Follow implements OnDroneListener, LocationReceiver {

private static final double JUMP_FACTOR = 4.0;

/** Set of return value for the 'toggleFollowMeState' method.*/
public enum FollowStates {
FOLLOW_INVALID_STATE, FOLLOW_DRONE_NOT_ARMED, FOLLOW_DRONE_DISCONNECTED, FOLLOW_START, FOLLOW_RUNNING, FOLLOW_END
Expand Down

0 comments on commit f631806

Please sign in to comment.