Mobile Action Gesture Interface Control (MAGIC)

The idea behind MAGIC is to use the gesture sensor to record a database of readings while a person is going about their everyday life. Then, when the person wants to put a gesture into the system, the database is searched to see how often that gesture would be recognized accidentally. If it's too often, or greater than certain threshold level, the user is asked to perform a different gesture as an alternative. This system would enable users to explore and find less frequent gestures that can be used as commands to the gesture system.

SVN Instructions

1. Testing client access

Log in to one of the svn users and try:

      svn list http://svn.cc.gatech.edu/MAGIC

you should be prompted for a user id and password (and if that's successful). This test ensures that the SVN server is working.

2. Check out a project

     svn checkout http://svn.cc.gatech.edu/MAGIC/trunk magic

Note that “magic” is a destination directory on your local machine.

3. Commit and update new files

First, you need to check the status of your files

   
    >svn status
    ?      src/class.cpp
    M      src/main.cpp
    M      src/Makefile
    ?      bin/main

The '?' stands for unknown files and 'M' stands for modified files. You first need to add the unknown files to the svn.

    >svn add src/class.cpp bin/main

Update new files

    >svn up

Finally, commit to the server

    >svn commit -m 'First commit test'

Further usages can be found following link:

http://artis.imag.fr/~Xavier.Decoret/resources/svn/index.html

http://svnbook.red-bean.com/en/1.0/ch09.html

Requirements

gnuplot (http://www.gnuplot.info/): Calculated DTW distance is plotted using gnuplot.
X11 environment: gnuplot runs on X11
g++ compiler (tested on 4.0.1)
Java 1.5 or higher

Packages

  • magic.zip

C source code that reads and interprets data from sensor.

  • magic_interface.jar

Java source code for user interface.

Instruction

  • Compile
make

(This only compiles the core code)

make filereader

filereader reads binary ETRI type data

make receiver

receiver reads ETRI watch sensor and outputs values to the stdout

  • Command Line Usage
usage: magic [-b] [-t threshold] [-o outfile] tmp_file egl_file 
b : use Byte data otherwise reads text template file.
t : threshold level (integer) 
o : output file name. write output to a file and run gnuplot 
tmp_file : Template file path 
egl_file : EGL file path 
  • Java interface usage

Main class : edu.gatech.magic.Magic.class
Need to copy magic and receiver binary files.

To run (unix): java -classpath ./jfreechart-1.0.9.jar:./jcommon-1.0.12.jar:. edu.gatech.magic.Magic

Resources

Hambone

  1. Check serial port # in the source code (line 127)
  2. Pair the bluetooth with computer (no password required)
  3. Run NewGatherNoise.py
  4. Put user name and session (required but unnecessary)
  5. Pair with bluetooth and will pup up first graph (close it)
  6. Whenever you make a noise it will pop up another graph

(switch is inside of the board: when it's not connecting both led lights will flash)



projects/magic.txt · Last modified: 2008/07/11 16:44 by jszzang
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0