Classes | Macros | Functions
robot_state_test.cpp File Reference
#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 <sstream>
#include <algorithm>
#include <ctype.h>
Include dependency graph for robot_state_test.cpp:

Go to the source code of this file.

Classes

class  OneRobot
 

Macros

#define EXPECT_NEAR_TRACED(...)
 

Functions

static void expect_near (const Eigen::MatrixXd &x, const Eigen::MatrixXd &y, double eps=std::numeric_limits< double >::epsilon())
 
std::size_t generateTestTraj (std::vector< std::shared_ptr< robot_state::RobotState >> &traj, const moveit::core::RobotModelConstPtr &robot_model, const robot_model::JointModelGroup *joint_model_group)
 
int main (int argc, char **argv)
 
static bool sameStringIgnoringWS (const std::string &s1, const std::string &s2)
 
 TEST (Loading, SimpleRobot)
 
 TEST (LoadingAndFK, SimpleRobot)
 
 TEST_F (OneRobot, FK)
 
 TEST_F (OneRobot, testGenerateTrajectory)
 
 TEST_F (OneRobot, testAbsoluteJointSpaceJump)
 
 TEST_F (OneRobot, testRelativeJointSpaceJump)
 
 TEST_F (OneRobot, testPrintCurrentPositionWithJointLimits)
 

Macro Definition Documentation

◆ EXPECT_NEAR_TRACED

#define EXPECT_NEAR_TRACED (   ...)
Value:
{ \
SCOPED_TRACE("expect_near(" #__VA_ARGS__ ")"); \
expect_near(__VA_ARGS__); \
}

Definition at line 81 of file robot_state_test.cpp.

Function Documentation

◆ expect_near()

static void expect_near ( const Eigen::MatrixXd &  x,
const Eigen::MatrixXd &  y,
double  eps = std::numeric_limits<double>::epsilon() 
)
static

Definition at line 70 of file robot_state_test.cpp.

◆ generateTestTraj()

std::size_t generateTestTraj ( std::vector< std::shared_ptr< robot_state::RobotState >> &  traj,
const moveit::core::RobotModelConstPtr &  robot_model,
const robot_model::JointModelGroup joint_model_group 
)

Definition at line 535 of file robot_state_test.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 704 of file robot_state_test.cpp.

◆ sameStringIgnoringWS()

static bool sameStringIgnoringWS ( const std::string &  s1,
const std::string &  s2 
)
static

Definition at line 46 of file robot_state_test.cpp.

◆ TEST() [1/2]

TEST ( Loading  ,
SimpleRobot   
)

Definition at line 87 of file robot_state_test.cpp.

◆ TEST() [2/2]

TEST ( LoadingAndFK  ,
SimpleRobot   
)

Definition at line 115 of file robot_state_test.cpp.

◆ TEST_F() [1/5]

TEST_F ( OneRobot  ,
FK   
)

Definition at line 371 of file robot_state_test.cpp.

◆ TEST_F() [2/5]

TEST_F ( OneRobot  ,
testGenerateTrajectory   
)

Definition at line 578 of file robot_state_test.cpp.

◆ TEST_F() [3/5]

TEST_F ( OneRobot  ,
testAbsoluteJointSpaceJump   
)

Definition at line 594 of file robot_state_test.cpp.

◆ TEST_F() [4/5]

TEST_F ( OneRobot  ,
testRelativeJointSpaceJump   
)

Definition at line 642 of file robot_state_test.cpp.

◆ TEST_F() [5/5]

TEST_F ( OneRobot  ,
testPrintCurrentPositionWithJointLimits   
)

Definition at line 676 of file robot_state_test.cpp.



moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Tue Jun 25 2019 19:56:02