|
Organization
Documents
|
Source Code
PIC Assembly
- LED Switching - Final DataGlove microcontroller source code. This assembly
code is responsible for performing the analog-to-digital conversions, switching LEDs on and off, and
transmitting raw finger flexion data to the PC through an RS232 connection. Assumptions of the code are
outlined in comments.
DataGlove API
- DataGlove Definition - This CPP file contains the class definitions of
the structures and methods used in the DataGlove object. Calibration, data fetching, and calculation
of (X,Y,Z) coordinates are all handled from within this file. This is among the most important source
files in the entire collection of DataGlove code.
- DataGlove Header File - The header file for the above CPP file. This is
where all the declarations are made. This file also defines the Points struct used to return (X,Y,Z)
coordinates.
- CSerial Class by Ramon de Klein - This file is the backend serial port
library which made our data communications possible. Windows native functions were not synchronizing
and were dropping too much data, so this library was used instead. Switching to this library made
a world of difference in communications. (Distributed under the terms of the GNU Lesser General
Public License)
- CSerial Headers by Ramon de Klein - This file contains the headers for the
CSerial class (above). (Distributed under the terms of the GNU Lesser General Public License)
Visualization Application
- Main Program - This file contains the main program definition for the
visualization application. It sets up the GUI and the graphics and sets everything in motion.
The visualization software requires the Qt library version 2.3.
- Qt-Created File - This file was generated by the Qt library.
- GLFrame Definition - This file defines the operation of the GLFrame
member methods. The GLFrame class is responsible for getting data from the API and drawing on the
screen. There is only one GLFrame object, and it is contained in the guiWindow class.
- GLFrame Declaration - Declarations for the objects and functions
defined in the previous file.
- Qt-Created File - This file was generated by the Qt library.
- guiWindow Definition - This file contains the definition of the
guiWindow class and its members. This class is the main GUI window in the API, and contains the
GLFrame object which handles drawing.
- guiWindow Declaration - Declarations for the objects and functions
defined in the previous file.
|