Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2024-07-19 15:29:02 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca9984559da7b9765b72c136e992d661fb572c3d
ca998455
1 parent
f8914658
steps fixes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/services/WarplyHealthService.java
warply_android_sdk/src/main/java/ly/warp/sdk/services/WarplyHealthService.java
View file @
ca99845
...
...
@@ -48,7 +48,7 @@ public class WarplyHealthService extends Service implements SensorEventListener
private
final
int
ACCEL_RING_SIZE
=
50
;
private
final
int
VEL_RING_SIZE
=
10
;
// change this threshold according to your sensitivity preferences
private
final
float
STEP_THRESHOLD
=
20
f
;
// default 40, cosmote default 20
private
final
float
STEP_THRESHOLD
=
8
f
;
// default 40, cosmote default 20
private
final
int
STEP_DELAY_NS
=
250000000
;
private
int
accelRingCounter
=
0
;
private
float
[]
accelRingX
=
new
float
[
ACCEL_RING_SIZE
];
...
...
Please
register
or
login
to post a comment