Skip to main content

Yet Another MotionSenSE Service Utility

Project description


title: YAMS emoji: 🍠 colorFrom: purple colorTo: purple sdk: gradio sdk_version: 5.15.0 app_file: yams/main.py pinned: false license: mit

YAMS

Yet Another Motionsense Service utility

Code | PyPI | 🤗 Demo (UI only)

Quickstart

Windows

Python 3.12 or newer is needed

  1. Download setup scripts
  2. Run the installation script
    • Run the script by double-click the install.bat file
    • The script will perform any necessary setup
  3. Start the app
    • by double-click the start_yams.bat file
    • Once the initialization is completed, you will see a messge similar to: * Running on local URL: http://127.0.0.1:7860
  4. Access the application

MacOS / Linux

  1. Download scripts/unix to a desired location
  2. Run run.sh to install and start the app

General usage

Download onboard data

Refer to Extract onboard data

Extract raw data

Refer to Data Extraction Feature

Emergency stop

Terminating data collection is also available in YAMS web app under bluetooth scanner - collection control - stop

To halt all on-going collection on the MotionSenSE wristbands,

  • On windows, go to your folder where the setup scripts are located as in Quickstart-Windows part
  • Locate and double-click emergency_stop.bat
  • Wait until all operations are completed

Installation

  • pip install -U yams-util
  • python -m yams

Development guide

  • Clone the repository
    • git clone https://github.com/SenSE-Lab-OSU/YAMS.git
  • Install dependencies
    • pip install -r requirements.txt
  • Launch the application
    • python -m yams
  • Visit http://127.0.0.1:7860 (by default, check on-screen prompt)

Build guide

  • Install pyinstaller via pip install pyinstaller
  • Create .spec by pyi-makespec --collect-data=gradio_client --collect-data=gradio --collect-data=safehttpx --collect-data=groovy --onefile app.py
  • Manually add the following in a = analysis ...
    module_collection_mode={
        'gradio': 'py',  # Collect gradio package as source .py files
    },
  • Build the app: pyinstaller app.spec

Roadmap

  • Device data transfer
  • Device data post processing
    • format conversion
    • visualization
  • simple data collection utilities
  • LSL support
  • Auto reconnect

Acknowledgement

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

yams_util-0.3.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yams_util-0.3.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file yams_util-0.3.0.tar.gz.

File metadata

  • Download URL: yams_util-0.3.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yams_util-0.3.0.tar.gz
Algorithm Hash digest
SHA256 68177196fa7124f3e399ee180da3629f02e71421a372a297a4b9653bce5252ba
MD5 fe5bf7b308c3db3bf9cff90a7408c143
BLAKE2b-256 538a5ffca68b98202bfbd7ef28d9b57e05303f297bd931a78385d27184bd7daf

See more details on using hashes here.

Provenance

The following attestation bundles were made for yams_util-0.3.0.tar.gz:

Publisher: python-publish.yml on SenSE-Lab-OSU/YAMS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yams_util-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: yams_util-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yams_util-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a877fd04e2208669ab19062e54e808419201aac1ecccc97654b6cfa495dae74
MD5 4444e9e0acb02512a79aa8f202455294
BLAKE2b-256 fa213c304593c7e30b91027133f349da7a052604fde4b1b7eaf60391a061587e

See more details on using hashes here.

Provenance

The following attestation bundles were made for yams_util-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on SenSE-Lab-OSU/YAMS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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