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.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyTactor-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4e13b1bcdf7e25778a0c83246ab56104a940a5181f6db6e927eb454146e2ebb3
MD5 9fee7334034b24c8e317f7d32dfd5fa1
BLAKE2b-256 def0418c78ad070e4e0dedaf899126c7c3e57920d598f82f6d09dee72271ffac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyTactor-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 42b98e40f0787be892d16be0a8d1c85f0757b5f33507198ac1cd8f65aabc95c8
MD5 19add398192792f0dedce842ab470e29
BLAKE2b-256 cc700221814333211636430c91a2e05752a7eaf24060bb0bef58aca26e4d55b9

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