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.1.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file pyTactor-0.1.1.tar.gz
.
File metadata
- Download URL: pyTactor-0.1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c545340d8dab223b9f0c01878503a341a6f5b2ea04e6c7a81dbc1fb99cee9b98 |
|
MD5 | af592e5c7137e3dbeaf4ab9a806a3292 |
|
BLAKE2b-256 | 7b1733056338cb34ad835f4318c9d5aaa5daf9cd5032fd4eb0d639100f9cd182 |
File details
Details for the file pyTactor-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyTactor-0.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2911c2e39ee60207e8a20453e89b0b9243f83d18a4a67fbc94f4612de20fef |
|
MD5 | 9f650845b52ed412c23e4f62094ee256 |
|
BLAKE2b-256 | bca31b591e1f3bd7445eb3f2f5dbf3eff7fcae34369a48036ea5f1cb303c4f6c |