This user interface is designed to be used to control the haptic epidermal actuator devices being developed by the Roger's Research Group at Northwestern University. For a higher level description and demonstrations of the Epidermal Actuators UI project, visit this post.
Visit the live deployment of the UI here.
Or to build locally...
Install the dependencies... Note that you will need to have Node.js installed.
cd epidermal-actuators-ui
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see the app running. Edit a component file in src
, save it, and reload the page to see your changes.
To control the physical haptic devices, the GUI needs to be connected to the protocol host which handles the communication to the device.
On this page you can control the settings for the various aspects of the device setup.
Set Timing
button to set the timings on the connected device.This page contains the main interface for interacting with the connected devices. Using a touch screen, move you finger(s) across the hexagons to activate the haptic actuators on the connected device. Multiple touch points are accepted.
Several device designs, shown with their corresponding placement on the body, can be selected from the buttons on the left to be shown in the center.
By defualt, the UI is in Live, or manual, mode which lets user turn on actuators by touching them. Presets, preprogrammed sequences of active actuators, can be selected from the buttons on the right and triggered with touch gestures on the central array. The presets use the same timing as the Live mode, which can be controlled under Timing Configuration on the Configuration page. The preset activation is accompanied by a visual display of the preset on the GUI.
Currently only the sweep preset for the design on the upper arm is fully implemented in the latest version of the GUI. The sweep preset is triggered by swiping in any of the 8 cardinal directions (left to right, top to bottom, diagonally, ...).
Install surge
if you haven't already:
npm install -g surge
Then, from within your project folder:
npm run build
surge public epidermal-actuators.surge.sh