Jump to content

Contributions:CyberGloveLogger: Difference between revisions

From BCI2000 Wiki
Line 34: Line 34:


==Vendor==
==Vendor==
CyberGloves can be purchased from CyberGlove Systems (www.cyberglovesystems.com). The data glove product lines include CGI, CGII and CGIII. CGI is the wired version whereas CGII and CGIII work via Bluetooth and Wireless Technology respectively. Every cyberglove comes with a user manual, drivers and UI software for Windows. A C++ based VirtualHand SDK is also available which includes a variety of demos and sample source code.
CyberGloves can be purchased from CyberGlove Systems (http://www.cyberglovesystems.com). The data glove product lines include CGI, CGII and CGIII. CGI is the wired version whereas CGII and CGIII work via Bluetooth and Wireless Technology respectively. Every cyberglove comes with a user manual, drivers and UI software for Windows. A C++ based VirtualHand SDK is also available which includes a variety of demos and sample source code.


==Integration into BCI2000==
==Integration into BCI2000==

Revision as of 23:37, 16 April 2014

Synopsis

A framework extension that logs state information from the CyberGlove into state variables.

Location

http://www.bci2000.org/svn/trunk/src/contrib/Extensions/CyberGloveLogger

Versioning

Author

Sidhant Sharma (ssharma@cyberglovesystems.com)

Version History

  • 03/11/2014 sidhantsharma: Initial version;
- Supports 18 and 22 Sensor CyberGlove Models (wired & wireless versions)
- Maximum 2 CyberGloves supported

Functional Description

The 18-sensor data glove features two bend sensors on each finger, four abduction sensors, plus sensors measuring thumb crossover, palm arch, wrist flexion, and wrist abduction.

The 22-sensor data glove has three flexion sensors per finger, four abduction sensors, a palm-arch sensor, and sensors to measure wrist flexion and abduction. Each sensor is extremely thin and flexible being virtually undetectable in the lightweight elastic glove.

The wireless CGIII motion capture system has been used in a wide variety of real-world applications, including digital prototype evaluation, virtual reality bio-mechanics, and animation. Specifications:

- Number of sensors: 18 or 22
- Sensor resolution: <1 degree
- Sensor repeatability: 3 degrees (average standard deviation between wearings
- Sensor linearity: maximum 0.6% standard deviation nonlinearity over full joint range
- Sensor data rate: Up to 100 records/sec (SD card); up to 120 records/sec (USB and Wi-Fi)
- Operating system and hosts: Windows 7 32 bit and 64 bit
- Wireless technology: 802.11g Wi-Fi
- Battery duration: 2 hours
- Battery charger: External
- Operating range: 100+ feet radius from Wi-Fi source (optimal environment)
- Interface: 802.11g Wi-Fi, USB, micro SD card

Vendor

CyberGloves can be purchased from CyberGlove Systems (http://www.cyberglovesystems.com). The data glove product lines include CGI, CGII and CGIII. CGI is the wired version whereas CGII and CGIII work via Bluetooth and Wireless Technology respectively. Every cyberglove comes with a user manual, drivers and UI software for Windows. A C++ based VirtualHand SDK is also available which includes a variety of demos and sample source code.

Integration into BCI2000

Compile the extension into your source module by enabling contributed extensions in your CMake configuration. You can do this by going into your root build folder and deleting CMakeCache.txt and re-running the project batch file, or by running cmake -i and enabling BUILD_CYBERGLOVELOGGER.

Once the extension is built into the source module, enable it by starting the source module with the --LogCyberGlove=1 command line argument. The CGS_VirtualHandDevice.dll and CGS_VirtualHandRegistry.dll dynamic link libraries have to be in the same directory as the executable module. Refer to CyberGloveLogger Extension Prerequisites/Requirements for useful information regarding using this extension.

CyberGloveLogger Extension Prerequisites/Requirements

- The CyberGloveSystems Software must be installed on the system before hand. The recommended version is CyberGloveSystems SDK3.1.3 32 bit for Windows 7 PC's.
- A cyberglove must be live in the CyberGlove Systems DCU (Device Configuration Utility) interface each time for using the CyberGloveLogger extension for recording states (i.e before starting the modules).
- A right handed glove has to be named RightGlove in the DCU.
- A left handed glove has to be named LeftGlove in the DCU.
- For using two gloves simultaneously for recording states, both gloves should be connected in the DCU and named as RightGlove and LeftGlove accordingly (this version supports maximum 2 gloves).

Parameters

Parameter1

State Variables

 ----------------------------------------------------------------
 StateName      == Finger       | 5 sensor | 14 sensor 
 ----------------------------------------------------------------
 ----------------------------------------------------------------

See also

User Reference:Logging Input, Contributions:Extensions