Skip to main content

Control a vibrotactor array over BLE using Python code.

Project description

pyTactor

Parties Involved

Institution: Munroe Meyer Institute in the University of Nebraska Medical Center
Laboratory: Virtual Reality Laboratory
Advisor: Dr. James Gehringer
Developer: Walker Arce

Motivation

This Python library was written to facilitate closed-loop experimental protocol for biomechanics and motor-control related research.

Installation

Clone this repository, cd into the directory using either your virtual environment or your local environment, and run: python setup.py install

Usage

import time
from pytactor import VibrotactorArray

ble = VibrotactorArray.get_ble_instance()
vta_1 = VibrotactorArray(ble)
vta_2 = VibrotactorArray(ble)

vta_1.set_all_motors(200)
vta_1.trigger_vib()
vta_1.start_imu()

vta_2.set_all_motors(200)
vta_2.trigger_vib()
vta_2.start_imu()

time.sleep(10)

Citation

@misc{Arce_pyTactor_2022,
      author = {Arce, Walker and Gehringer, James},
      month = {6},
      title = {{pyTactor}},
      url = {https://github.com/Munroe-Meyer-Institute-VR-Laboratory/pyTactor},
      year = {2022}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyTactor-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

pyTactor-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pyTactor-0.1.2.tar.gz.

File metadata

  • Download URL: pyTactor-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyTactor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9352523e85dc863c9be3a5d48db723094fc84a283d7d35427c7c30eddc945d57
MD5 591661b2be085d7bbebc15bbfc126f59
BLAKE2b-256 7c9176f8b4399d4a5ce3551ace3cf95b88a028d0f4a9a5b4344294e7989c22a2

See more details on using hashes here.

File details

Details for the file pyTactor-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyTactor-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyTactor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac2542f23c83087e51b735aeabf76bd0a5ef7b7927f2215290a70f656964225
MD5 3c434d4dfeb064410c4dfe74baf236d3
BLAKE2b-256 45981ad60ef720f942705954cc4f39004a9e1aed91acd979a5b5a449c029af89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page