This is a simple xml parser, used to parse the calibration file for the cyberglove. A Calibration file must have this format: <Cyberglove_calibration> <Joint name="G_ThumbRotate"> <calib raw_value="0.0" calibrated_value="-60"> <calib raw_value="0.42" calibrated_value="100"> </Joint> </Cyberglove_calibration> More...
Go to the source code of this file.
Classes | |
struct | xml_calibration_parser::XmlCalibrationParser::Calibration |
struct | xml_calibration_parser::XmlCalibrationParser::JointCalibration |
class | xml_calibration_parser::XmlCalibrationParser |
Namespaces | |
namespace | xml_calibration_parser |
This is a simple xml parser, used to parse the calibration file for the cyberglove. A Calibration file must have this format: <Cyberglove_calibration> <Joint name="G_ThumbRotate"> <calib raw_value="0.0" calibrated_value="-60"> <calib raw_value="0.42" calibrated_value="100"> </Joint> </Cyberglove_calibration>
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/>.
The calibration will be used by the glove node to stream coherent angles (and not an uncalibrated sensor value between 0 and 1).
Definition in file xml_calibration_parser.h.