TouchGloveService

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

TouchGloveService

The TouchGloveService is a DWARF driver service for the TouchGlove input device. This service connects to the hardware and sends out raw data events received from the touchpad. The TouchGlove input device is connected to the serial port.

Needs & Abilities

As stated in the TouchGloveService.xml file, the service has the following Needs and Abilities.
  • Ability: TGloveDataRaw?

Interaction with other Services

The raw data, which is provided by this service, is used by the TouchGloveInterpreterService and TouchGloveProfilerService.

More Documentation

How-To

Usage

Start TouchGloveService with command line parameter -DserialPort=/dev/xyz. xyz is the serial port device the TouchGlove is connected to.

Example: TouchGloveService -DserialPort=/dev/ttyS0

Attention: If the wrong port is given, strange things can happen. (e.g. if the mouse is connected to this port, the mouse will not work anymore)

Testing

Connect the TouchGlove hardware to the serial port. Afterwards, start the TouchGloveService with the serial port command line parameter. With the DIVE service, you can view the events, which are sent out.

Configuration

There are additional two configuration possibilities:
  • Command line parameter touchpadMode: This optional parameter is for specifing the touchpad mode. Please refer to my documentation for details.
  • Touchpad resolution: The resolution of the touchpad (min/max x/y coordinates) is stored in the four attributes RangeMinX, RangeMinY, RangeMaxX and RangeMaxY in the TouchGloveService.xml. Depending on the touchpad used, the attribute values have to be modified.


Edit | Attach | Refresh | Diffs | More | Revision r1.4 - 15 Jul 2005 - 13:09 - MarcusToennis

Lehrstuhl für Computer Aided Medical Procedures & Augmented Reality    rss.gif