Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Fixed position problem with STD-DEV (lower threshold) / use double fo…
Browse files Browse the repository at this point in the history
…r thresholds
  • Loading branch information
stefan-ka committed Nov 2, 2015
1 parent 10e8b95 commit bff2f6a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -4,9 +4,9 @@ public enum Direction {

LEFT, RIGHT, STRAIGHT;

private static final int GYR_Z_STRAIGHT_STD_DEV_THRESHOLD = 900;
private static final int GYR_Z_LEFT_THRESHOLD = -500;
private static final int GYR_Z_RIGHT_THRESHOLD = 500;
private static final double GYR_Z_STRAIGHT_STD_DEV_THRESHOLD = 600.00;
private static final double GYR_Z_LEFT_THRESHOLD = -500.00;
private static final double GYR_Z_RIGHT_THRESHOLD = 500.00;

@Override
public String toString() {
Expand Down

0 comments on commit bff2f6a

Please sign in to comment.