Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Functions
tesseract_scene_graph::test_suite Namespace Reference

Functions

SceneGraph::UPtr getSceneGraph ()
 
SceneGraph::UPtr getSubSceneGraph ()
 
void runCompareSceneStates (const SceneState &base_state, const SceneState &compare_state)
 
void runCompareStateSolver (const StateSolver &base_solver, StateSolver &comp_solver)
 
void runCompareStateSolverLimits (const SceneGraph &scene_graph, const StateSolver &comp_solver)
 
static void numericalJacobian (Eigen::Ref< Eigen::MatrixXd > jacobian, const Eigen::Isometry3d &change_base, const StateSolver &state_solver, const std::vector< std::string > &joint_names, const Eigen::Ref< const Eigen::VectorXd > &joint_values, const std::string &link_name, const Eigen::Ref< const Eigen::Vector3d > &link_point)
 Numerically calculate a jacobian. This is mainly used for testing. More...
 
void runCompareJacobian (StateSolver &state_solver, const std::vector< std::string > &joint_names, const Eigen::VectorXd &jvals, const std::string &link_name, const Eigen::Vector3d &link_point, const Eigen::Isometry3d &change_base)
 Run a kinematic jacobian test. More...
 
void runCompareJacobian (StateSolver &state_solver, const std::unordered_map< std::string, double > &joints_values, const std::string &link_name, const Eigen::Vector3d &link_point, const Eigen::Isometry3d &change_base)
 
template<typename S >
void runJacobianTest ()
 
template<typename S >
void runAddandRemoveLinkTest ()
 
template<typename S >
void runAddSceneGraphTest ()
 
template<typename S >
void runChangeJointOriginTest ()
 
template<typename S >
void runMoveJointTest ()
 
template<typename S >
void runMoveLinkTest ()
 
template<typename S >
void runChangeJointLimitsTest ()
 
template<typename S >
void runReplaceJointTest ()
 

Function Documentation

◆ getSceneGraph()

SceneGraph::UPtr tesseract_scene_graph::test_suite::getSceneGraph ( )
inline

◆ getSubSceneGraph()

SceneGraph::UPtr tesseract_scene_graph::test_suite::getSubSceneGraph ( )
inline

◆ numericalJacobian()

static void tesseract_scene_graph::test_suite::numericalJacobian ( Eigen::Ref< Eigen::MatrixXd >  jacobian,
const Eigen::Isometry3d &  change_base,
const StateSolver state_solver,
const std::vector< std::string > &  joint_names,
const Eigen::Ref< const Eigen::VectorXd > &  joint_values,
const std::string &  link_name,
const Eigen::Ref< const Eigen::Vector3d > &  link_point 
)
inlinestatic

Numerically calculate a jacobian. This is mainly used for testing.

Parameters
jacobian(Return) The jacobian which gets filled out.
state_solverThe state solver object
joint_valuesThe joint values for which to calculate the jacobian
link_nameThe link_name for which the jacobian should be calculated
link_pointThe point on the link for which to calculate the jacobian

◆ runAddandRemoveLinkTest()

template<typename S >
void tesseract_scene_graph::test_suite::runAddandRemoveLinkTest ( )

◆ runAddSceneGraphTest()

template<typename S >
void tesseract_scene_graph::test_suite::runAddSceneGraphTest ( )

◆ runChangeJointLimitsTest()

template<typename S >
void tesseract_scene_graph::test_suite::runChangeJointLimitsTest ( )

◆ runChangeJointOriginTest()

template<typename S >
void tesseract_scene_graph::test_suite::runChangeJointOriginTest ( )

◆ runCompareJacobian() [1/2]

void tesseract_scene_graph::test_suite::runCompareJacobian ( StateSolver state_solver,
const std::unordered_map< std::string, double > &  joints_values,
const std::string &  link_name,
const Eigen::Vector3d &  link_point,
const Eigen::Isometry3d &  change_base 
)
inline

◆ runCompareJacobian() [2/2]

void tesseract_scene_graph::test_suite::runCompareJacobian ( StateSolver state_solver,
const std::vector< std::string > &  joint_names,
const Eigen::VectorXd &  jvals,
const std::string &  link_name,
const Eigen::Vector3d &  link_point,
const Eigen::Isometry3d &  change_base 
)
inline

Run a kinematic jacobian test.

Parameters
state_solverThe state solver object
jvalsThe joint values to calculate the jacobian about
link_nameName of link to calculate jacobian. If empty it will use the function that does not require link name
link_pointIs expressed in the same base frame of the jacobian and is a vector from the old point to the new point.
change_baseThe transform from the desired frame to the current base frame of the jacobian

◆ runCompareSceneStates()

void tesseract_scene_graph::test_suite::runCompareSceneStates ( const SceneState base_state,
const SceneState compare_state 
)
inline

◆ runCompareStateSolver()

void tesseract_scene_graph::test_suite::runCompareStateSolver ( const StateSolver base_solver,
StateSolver comp_solver 
)
inline

◆ runCompareStateSolverLimits()

void tesseract_scene_graph::test_suite::runCompareStateSolverLimits ( const SceneGraph scene_graph,
const StateSolver comp_solver 
)
inline

◆ runJacobianTest()

template<typename S >
void tesseract_scene_graph::test_suite::runJacobianTest ( )
inline

◆ runMoveJointTest()

template<typename S >
void tesseract_scene_graph::test_suite::runMoveJointTest ( )

◆ runMoveLinkTest()

template<typename S >
void tesseract_scene_graph::test_suite::runMoveLinkTest ( )

◆ runReplaceJointTest()

template<typename S >
void tesseract_scene_graph::test_suite::runReplaceJointTest ( )