#include <sstream>
#include <fstream>
#include <cmath>
#include "cData.h"
#include "trackerConstants.h"
Go to the source code of this file.
Defines | |
#define | MIN_JOINT_RESOLUTION 20 |
#define | NUM_SENSORS 22 |
#define | NUM_TOTAL_STEPS 8 |
Variables | |
const char * | CAL_DEFAULT_PIC = "images/00glove-calibration.jpg" |
const char * | CAL_DEFAULT_TEXT = "Data tracker calibration (c) 2004 by Steffen." |
const char * | CAL_STEP_PIC [] |
const char * | CAL_STEP_TEXT [] |
#define MIN_JOINT_RESOLUTION 20 |
#define NUM_SENSORS 22 |
Copyright (c) 2016, Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define NUM_TOTAL_STEPS 8 |
const char* CAL_DEFAULT_PIC = "images/00glove-calibration.jpg" |
const char* CAL_DEFAULT_TEXT = "Data tracker calibration (c) 2004 by Steffen." |
const char* CAL_STEP_PIC[] |
{"images/0hand-flat-closed.jpg", "images/1hand-flat-open.jpg", "images/2hand-fingers-closed.jpg", "images/3hand-ok-gesture.jpg", "images/4hand-wrist-up.jpg", "images/5hand-wrist-down.jpg", "images/6hand-wirst-in.jpg", "images/7hand-wirst-out.jpg", "images/00glove-calibration.jpg" }
const char* CAL_STEP_TEXT[] |
{"Press your hand against a flat surface, all fingers pointing parallel, and press \"Record Sample\" when ready.", "Press your hand against a flat surface, open all fingers, and press \"Record Sample\" when ready.", "Close your index, middle, ring, pinky finger as much as possible, and press \"Record Sample\" when ready.", "Do an ok gesture by touching the thumb tip with the index tip, and press \"Record Sample\" when ready.", "Bend your wrist up, and press Enter when ready.", "Bend your wrist down, and press Enter when ready.", "Bend your wrist inside, with your thumb towards the forearm. Press Enter when ready.", "Bend your wrist outside, and press Enter when ready.", "Calibration finished. Now save and/or load it to the server." }