Testing the calibration mapping for the glove. More...
#include <ros/ros.h>#include <math.h>#include <cyberglove/xml_calibration_parser.h>#include <gtest/gtest.h>
Go to the source code of this file.
Defines | |
| #define | TEST_EXPRESSION(a) EXPECT_EQ((a), meval::EvaluateMathExpression(#a)) |
Functions | |
| int | main (int argc, char **argv) |
| TEST (LookupTable, tableNotOrdered) | |
| TEST (LookupTable, testRawNotStartingAtZero) | |
| TEST (LookupTable, testCalibNotStartingAtZero) | |
| TEST (LookupTable, integrity) | |
| TEST (LookupTable, testSimple) | |
Variables | |
| XmlCalibrationParser | calib_parser |
| float | epsilon = 0.01f |
| std::string | path_to_calibration = "test/cyberglove_test.cal" |
Testing the calibration mapping for the glove.
Copyright 2011 Shadow Robot Company Ltd.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file test_calibration.cpp.
| #define TEST_EXPRESSION | ( | a | ) | EXPECT_EQ((a), meval::EvaluateMathExpression(#a)) |
Definition at line 35 of file test_calibration.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 154 of file test_calibration.cpp.
| TEST | ( | LookupTable | , | |
| tableNotOrdered | ||||
| ) |
Definition at line 129 of file test_calibration.cpp.
| TEST | ( | LookupTable | , | |
| testRawNotStartingAtZero | ||||
| ) |
Definition at line 105 of file test_calibration.cpp.
| TEST | ( | LookupTable | , | |
| testCalibNotStartingAtZero | ||||
| ) |
Definition at line 81 of file test_calibration.cpp.
| TEST | ( | LookupTable | , | |
| integrity | ||||
| ) |
Definition at line 70 of file test_calibration.cpp.
| TEST | ( | LookupTable | , | |
| testSimple | ||||
| ) |
Definition at line 46 of file test_calibration.cpp.
Definition at line 44 of file test_calibration.cpp.
| float epsilon = 0.01f |
Definition at line 42 of file test_calibration.cpp.
| std::string path_to_calibration = "test/cyberglove_test.cal" |
Definition at line 40 of file test_calibration.cpp.