#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_state/robot_state.h>
#include <moveit/utils/robot_model_test_utils.h>
#include <urdf_parser/urdf_parser.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#include <gtest/gtest.h>
#include <gmock/gmock-matchers.h>
#include <sstream>
#include <algorithm>
#include <limits>
#include <ctype.h>
Go to the source code of this file.
|
static void | expect_near (const Eigen::MatrixXd &x, const Eigen::MatrixXd &y, double eps=std::numeric_limits< double >::epsilon()) |
|
int | main (int argc, char **argv) |
|
| TEST (Init, FixedJoints) |
|
| TEST (Loading, SimpleRobot) |
|
| TEST (LoadingAndFK, SimpleRobot) |
|
| TEST_F (OneRobot, FK) |
|
| TEST_F (OneRobot, rigidlyConnectedParent) |
|
| TEST_F (OneRobot, testInterpolation) |
|
| TEST_F (OneRobot, testPrintCurrentPositionWithJointLimits) |
|
◆ EXPECT_NEAR_TRACED
#define EXPECT_NEAR_TRACED |
( |
|
... | ) |
|
Value: { \
SCOPED_TRACE("expect_near(" #__VA_ARGS__ ")"); \
expect_near(__VA_ARGS__); \
}
Definition at line 91 of file robot_state_test.cpp.
◆ expect_near()
static void expect_near |
( |
const Eigen::MatrixXd & |
x, |
|
|
const Eigen::MatrixXd & |
y, |
|
|
double |
eps = std::numeric_limits<double>::epsilon() |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ TEST() [1/3]
TEST |
( |
Init |
, |
|
|
FixedJoints |
|
|
) |
| |
◆ TEST() [2/3]
◆ TEST() [3/3]
◆ TEST_F() [1/4]
◆ TEST_F() [2/4]
TEST_F |
( |
OneRobot |
, |
|
|
rigidlyConnectedParent |
|
|
) |
| |
◆ TEST_F() [3/4]
◆ TEST_F() [4/4]
TEST_F |
( |
OneRobot |
, |
|
|
testPrintCurrentPositionWithJointLimits |
|
|
) |
| |