Skip to content

TUM-Aries-Lab/exo-oscilloscope

Repository files navigation

Exosuit Oscilloscope

Coverage Status Docker Image CI

A data visualizer to help view the exosuit data streams.

Install

To install the library run:

pip install exo-oscilloscope

OR

pip install git+https://github.com/TUM-Aries-Lab/exo-oscilloscope.git@<specific-tag>

Development

  1. Install Poetry
  2. Install pyenv
  3. pyenv install <desired-python-version> # install the required python version
  4. pyenv global <desired-python-version> # set the required python version
  5. git clone [email protected]:TUM-Aries-Lab/exo-oscilloscope.git
  6. make init to create the virtual environment and install dependencies
  7. make format to format the code and check for errors
  8. make test to run the test suite
  9. make clean to delete the temporary files and directories

Publishing

It's super easy to publish your own packages on PyPI. To build and publish this package run:

poetry build
poetry publish  # make sure your version in pyproject.toml is updated

The package can then be found at: https://pypi.org/project/exo-oscilloscope

Module Usage

"""Example for how to run the module."""

import time

from exo_oscilloscope.plotter import ExoPlotter
from exo_oscilloscope.sim_update import make_simulated_update

gui = ExoPlotter()
start_time = time.time()
update_callback = make_simulated_update(gui=gui, start_time=start_time)
gui.run(update_callback=update_callback)
gui.close()

Program Usage

poetry run python -m exo_oscilloscope

About

A Python data visualizor for the Exosuits

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages