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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyTactor-0.1.4.tar.gz.
File metadata
- Download URL: pyTactor-0.1.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cef945b8f56f95d9e05c349b7e2b941e120f0179bb915cb9635d09eba853e295
|
|
| MD5 |
c2f56f60c17496a0cdfdd80832162286
|
|
| BLAKE2b-256 |
8a2cb796a9b2e70288b168692c6c3d4e11ae208078c3dbb88517a7a014b1304b
|
File details
Details for the file pyTactor-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pyTactor-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14ea999cc0e43276b7f0bd50a84850fef356529080cfebc90973961f2f59b279
|
|
| MD5 |
bdbffd69adf316293b15be256d644545
|
|
| BLAKE2b-256 |
c80a1a39504f3d562b12c12422912b0372e737efab8532983530f972b2d75e96
|