This is a set of unit tests testing the robot libraries. More...
Go to the source code of this file.
Classes | |
class | HandLibTest |
class | HandLibTestProtected |
class | TestHandLib |
Functions | |
int | main (int argc, char **argv) |
TEST (SrRobotLib, Initialization) | |
TEST (SrRobotLib, UpdateMotor) | |
TEST (SrRobotLib, UpdateActuators) | |
TEST (SrRobotLib, HumanizeFlags) |
This is a set of unit tests testing the robot libraries.
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_robot_lib.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 423 of file test_robot_lib.cpp.
TEST | ( | SrRobotLib | , |
Initialization | |||
) |
Tests the initialization of the hand library.
Definition at line 78 of file test_robot_lib.cpp.
TEST | ( | SrRobotLib | , |
UpdateMotor | |||
) |
Tests the update of the hand library.
Definition at line 88 of file test_robot_lib.cpp.
TEST | ( | SrRobotLib | , |
UpdateActuators | |||
) |
Tests the update of the actuators which are in the pr2_hardware_interface hw*
Definition at line 148 of file test_robot_lib.cpp.
TEST | ( | SrRobotLib | , |
HumanizeFlags | |||
) |
Testing the calibration procedure for a joint having one motor only (FFJ3) Testing the calibration procedure for a joint having calibrating the sensors first and then combining them (FFJ0) Testing the calibration procedure for a compound joint combining the sensors and then calibrating the total (THJ5) Testing the humanization of the flags.
Definition at line 399 of file test_robot_lib.cpp.