#include <stdio.h>#include <stdlib.h>#include <time.h>#include <ros/ros.h>#include <kinematics_msgs/GetPositionIK.h>#include <kinematics_msgs/GetPositionFK.h>#include <kinematics_msgs/GetKinematicSolverInfo.h>#include <gtest/gtest.h>
Go to the source code of this file.
Defines | |
| #define | IK_NEAR 1e-4 |
| #define | IK_NEAR_TRANSLATE 1e-5 |
Functions | |
| double | gen_rand (double min, double max) |
| int | main (int argc, char **argv) |
| bool | NOT_NEAR (const double &v1, const double &v2, const double &NEAR) |
| TEST (PR2ArmIKNode, inverseKinematics) | |
| TEST (PR2ArmIKNode, forwardKinematics) | |
| TEST (PR2ArmIKNode, queryKinematics) | |
Variables | |
| static const std::string | ARM_FK_NAME = "/pr2_right_arm_kinematics/get_fk" |
| static const std::string | ARM_IK_NAME = "/pr2_right_arm_kinematics/get_ik" |
| static const std::string | FK_SOLVER_INFO = "/pr2_right_arm_kinematics/get_fk_solver_info" |
| static const std::string | IK_SOLVER_INFO = "/pr2_right_arm_kinematics/get_ik_solver_info" |
| static const int | NUM_TESTS = 1000 |
| #define IK_NEAR 1e-4 |
Definition at line 43 of file test_ik_node_regress.cpp.
| #define IK_NEAR_TRANSLATE 1e-5 |
Definition at line 44 of file test_ik_node_regress.cpp.
| double gen_rand | ( | double | min, | |
| double | max | |||
| ) |
Definition at line 53 of file test_ik_node_regress.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 243 of file test_ik_node_regress.cpp.
| bool NOT_NEAR | ( | const double & | v1, | |
| const double & | v2, | |||
| const double & | NEAR | |||
| ) |
Definition at line 60 of file test_ik_node_regress.cpp.
| TEST | ( | PR2ArmIKNode | , | |
| inverseKinematics | ||||
| ) |
Definition at line 128 of file test_ik_node_regress.cpp.
| TEST | ( | PR2ArmIKNode | , | |
| forwardKinematics | ||||
| ) |
Definition at line 83 of file test_ik_node_regress.cpp.
| TEST | ( | PR2ArmIKNode | , | |
| queryKinematics | ||||
| ) |
Definition at line 67 of file test_ik_node_regress.cpp.
const std::string ARM_FK_NAME = "/pr2_right_arm_kinematics/get_fk" [static] |
Definition at line 46 of file test_ik_node_regress.cpp.
const std::string ARM_IK_NAME = "/pr2_right_arm_kinematics/get_ik" [static] |
Definition at line 47 of file test_ik_node_regress.cpp.
const std::string FK_SOLVER_INFO = "/pr2_right_arm_kinematics/get_fk_solver_info" [static] |
Definition at line 48 of file test_ik_node_regress.cpp.
const std::string IK_SOLVER_INFO = "/pr2_right_arm_kinematics/get_ik_solver_info" [static] |
Definition at line 49 of file test_ik_node_regress.cpp.
const int NUM_TESTS = 1000 [static] |
Definition at line 51 of file test_ik_node_regress.cpp.