/robotics

Human Centered Robotics project

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

How to use

  1. Run cd install; sudo ./install.sh
  2. Add the specified lines to your bashrc
  3. Go back to root directory
  4. Run cd python; pipenv shell
  5. Run pipenv sync
  6. Run cd live_classification; ./run.sh

What Everything Is

python/train_svm

This is the folder where our training data and scripts live. the SVM training scripts must be run BEFORE runting the live scripts. This is done automatically in the run.sh script.

Data file structure:

  • data/data_set_name/data.txt

python/live_classification

The Python script that processes the live data from the astra sensor lives here. It uses the trained SVM to classify movements

python/examples

This folder has the example code for our SVM classification. These files are jupyter notebooks, for information on how to view these read the README.txt in that folder

Dependencies

  • Python >= 3.7
    • Scikit Learn
    • SciPy
    • Pandas
    • Numpy
    • gTTS
  • pipenv
  • mpv