yxuan0329 / FootCmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment Setup

  1. clone the project
git clone https://github.com/yxuan0329/FootCmd.git 
  1. Setup the dataReadPath and dataWritePath in Main.cs.
    • dataReadPath: The file path for reading commands. Download here for StudyTask folder to read the assigned commands.
    • dataWritePath: The file path for saving the study results. Create a new folder and set this path out of unity project is suggested.
  2. Unity version: 2019.4.38f1, no Oculus environment yet.

Unity Scenes

  1. Study1: The scene used in user study
  2. DemowithChart: Demo command input with charts
  3. Mobile: Mobile app for input commands. (No longer maintained)

Start the Code

  1. Select the scene in folder "Scenes".
  2. Connect the development board on the shoes with the compututer.
  3. In Unity Hierarchy, go to Main function > Left Foot Data, right Foot Data, check the COM number. (If the connection is lost, keyboard mode will be activated, press number 7,1 for left foot and number 9,3 for right foot.)
  4. Play the scene.
    • In Scene Study1, press space key to start the study. Between each round, press L key to continue.
    • In Scene DemowithChart, you can just start tapping to input commands at any time.

About


Languages

Language:C# 93.1%Language:ShaderLab 3.5%Language:HLSL 3.2%Language:Python 0.2%Language:JavaScript 0.0%