title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license |
---|---|---|---|---|---|---|---|---|
YAMS |
🍠 |
purple |
purple |
gradio |
5.15.0 |
yams/__main__.py |
false |
mit |
Yet Another Motionsense Service utility
Code | PyPI | 🤗 Demo (UI only)
- Download the latest release from here
- (optional) create a dedicated conda environment
conda create -n yams python=3.12
conda activate yams
- Clone this repository
git clone https://github.com/SenSE-Lab-OSU/YAMS.git
cd yams
- Install dependencies
pip install -r requirements.txt
- Config
liblsl
conda install -c conda-forge liblsl
- Lauch YAMS
python -m yams
Python 3.12 or newer is needed
- Download setup scripts
- Download the scripts/windows folder and save it in your desired folder
- Run the installation script
- Run the script by double-click the
install.bat
file - The script will perform any necessary setup
- Run the script by double-click the
- 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
- by double-click the
- Access the application
- Open a web browser and navigate to http://127.0.0.1:7860 or the URL displayed in the prompt.
- Download scripts/unix to a desired location
- Run
run.sh
to install and start the app
Refer to Extract onboard data
Refer to Data Extraction Feature
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
pip install -U yams-util
python -m yams
- 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)
- 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
pyi-makespec --collect-data=gradio_client --collect-data=gradio --collect-data=safehttpx --collect-data=groovy --onefile --osx-bundle-identifier 'com.yams' --icon yams/resources/icons/yams.icns app.py
- Device data transfer
- Device data post processing
- format conversion
- visualization
- simple data collection utilities
- LSL support
- Auto reconnect
- Selected file download
- Advanced device monitoring [ ] global state: active connection, active outlet, ctl status [ ] BAT monitoring [ ] storage monitoring
- Conceptualization: MPADA
- BT control adapted from MotionSenseHRV-BioImpedance-Interface .
- icon designed by Mihimihi