Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The shake mode is too sensitive to me #27

Open
drogbababa opened this issue Apr 7, 2017 · 3 comments
Open

The shake mode is too sensitive to me #27

drogbababa opened this issue Apr 7, 2017 · 3 comments

Comments

@drogbababa
Copy link

Please fill out the blanks below describing your issue

What are the steps to reproduce this issue?


What happens?
some little movement is on shake.

What were you expecting to happen?
i expect the shakeThreshold can be larger.or users can modify it themselves

Any logs, error output, bugreport etc?

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Any other comments?

What versions of software are you using?

Device Information:

Android Version:

Configuration Information:

[More related information if you have can provide]

@nisrulz
Copy link
Owner

nisrulz commented Apr 7, 2017

You can set the threshold value when starting the shake detector.

Check here under the wiki.

https://github.com/nisrulz/sensey/wiki/Usage#shake

@gauravat16
Copy link

@nisrulz Can you tell me the units and scale for Threshold and time?

@nisrulz
Copy link
Owner

nisrulz commented May 7, 2017

@gauravat16

You can check it from the source code itself

Gist is

threshold here is acceleration i.e m/s*s
timeBeforeDeclaringShakeStopped is the time in milliseconds.

I would update the same in the wiki docs, a new version of Sensey is under development and I would make sure more documentation and other details are available by the time it releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants