- clone the project
git clone https://github.com/yxuan0329/FootCmd.git
- 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.
- Unity version: 2019.4.38f1, no Oculus environment yet.
Study1
: The scene used in user study
DemowithChart
: Demo command input with charts
Mobile
: Mobile app for input commands. (No longer maintained)
- Select the scene in folder "Scenes".
- Connect the development board on the shoes with the compututer.
- 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.)
- 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.