Virtual environment with Emotiv Epoq interaction for phantom limb pain remediation
In this repository you can find a virtual environment (VE) for remediation of phantom limb pain. This work is based on the mirror box therapy in VE and the association of virtual reality and BCI. This project is carried by Paul Crépin and the UBO OpenFactory. Is also supported by the master of psychology CAER (Cognition, learning, evaluation and remediation : virtual reality & simulation) of the UBO (University of Occidental Brittany).
- Branch master : VE version 1.3
- Branch develop : VE version 2.0 in progress
- Branch experimental : VE for experimentation in lab
- Unity 3D
- Emotiv Epoq
- Xavier-EmotivControlPanel software
- Xavier-Emokey software
First of all you need to calibrate a mental command in the Xavier-EmotivControlPanel software and train you to trigger it. Select the "push" command for a more natural feeling with the VE. After, you need to use the Xavier-Emokey software to send the command to unity.
- Create a new rule by clicking "Add rule"
- Then double click on it to attribute a key to triger the mental command (! even with an AZERTY keyboard the software stay in QWERTY mode). The key by default in the VE to launch the animation is "a". Check the checkbox "Hold the key" and click on "Apply" button.
- After, you need to set a condition by clicking on "Add condition" button of the Xavier-Emokey interface. Double click on the condition and in the new window select the mental command you perform.
Go to unity, and click on start button. You're on, you can trigger the animation with you're neural activity.
A version with calibration and training directly in VE and interaction with Emotiv Cortex API V2 will be released soon.
We advise to not use Oculus Rift S VR headset because combining Emotiv Epoq with it is not easy. For exemple, we use an old Oculus DK2.
- You can change mode by clicking on "p".
- In active mode you can change the color of the cube by clicking on "c".
- The lamp fall on the right arm of the avatar when you click on "f".
- The logs files are saved in the current directory.