Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2016 11:56
Show Gist options
  • Save anonymous/d8563c4c8fc8ba874ba6 to your computer and use it in GitHub Desktop.
Save anonymous/d8563c4c8fc8ba874ba6 to your computer and use it in GitHub Desktop.
public double ACCEL_DETECTION_LIMIT = 0.31;
private const double ACCEL_REDUCE_SPEED = 0.9;
=> I get like 11 steps on first load (should be 0 but starts with 11 steps), second load then its ok (counts the steps correct).
public double ACCEL_DETECTION_LIMIT = 0.9;
private const double ACCEL_REDUCE_SPEED = 0.9;
=> this is better a bit but accuracy is off. 40m comes out to 15 steps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment