Classes | Functions | Variables
test_faulty_params.cpp File Reference
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <eigen_conversions/eigen_msg.h>
#include <moveit/robot_model_loader/robot_model_loader.h>
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_state/robot_state.h>
#include <moveit_opw_kinematics_plugin/moveit_opw_kinematics_plugin.h>
Include dependency graph for test_faulty_params.cpp:

Go to the source code of this file.

Classes

class  TestPlugin
 

Functions

int main (int argc, char **argv)
 
 TEST_F (TestPlugin, InitFaulty)
 

Variables

const std::string GROUP_PARAM = "group"
 
const std::string ROBOT_DESCRIPTION = "robot_description"
 
const std::string ROOT_LINK_PARAM = "root_link"
 
const std::string TIP_LINK_PARAM = "tip_link"
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 70 of file test_faulty_params.cpp.

◆ TEST_F()

TEST_F ( TestPlugin  ,
InitFaulty   
)

Initialize plugin when the kinematic parameters loaded are incorrect.

Therefore initialize should return false. Notice we do not check explicitly why it fails, but we assumed that it fails because the faulty parameters where loaded by the rostest launch file.

Definition at line 63 of file test_faulty_params.cpp.

Variable Documentation

◆ GROUP_PARAM

const std::string GROUP_PARAM = "group"

Definition at line 11 of file test_faulty_params.cpp.

◆ ROBOT_DESCRIPTION

const std::string ROBOT_DESCRIPTION = "robot_description"

Definition at line 16 of file test_faulty_params.cpp.

◆ ROOT_LINK_PARAM

const std::string ROOT_LINK_PARAM = "root_link"

Definition at line 13 of file test_faulty_params.cpp.

◆ TIP_LINK_PARAM

const std::string TIP_LINK_PARAM = "tip_link"

Definition at line 12 of file test_faulty_params.cpp.



moveit_opw_kinematics_plugin
Author(s): Jeroen De Maeyer, Simon Schmeisser (isys vision)
autogenerated on Mon Feb 28 2022 22:50:11