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

how can we get and write finger force data by sdk with device tactgolve #11

Open
dbdxnuliba opened this issue May 16, 2024 · 1 comment

Comments

@dbdxnuliba
Copy link

how can we get and write finger force data by sdk with device tactgolve

@eklimshines
Copy link
Collaborator

eklimshines commented May 16, 2024

You can use it like a code example.
Starting from the thumb, index is 0.
The wrist part is index 5.
cc @westside

for i in range(6):
    print(i, "Glove Left")
    player.submit_dot("gloveLFrame", BhapticsPosition.GloveL.value, [{"index": i, "intensity": 100}], durationMillis)
    sleep(interval)

    print(i, "Glove Right")
    player.submit_dot("gloveRFrame", BhapticsPosition.GloveR.value, [{"index": i, "intensity": 100}], durationMillis)
    sleep(interval)

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

No branches or pull requests

3 participants