moveit2
The MoveIt Motion Planning Framework for ROS 2.
Protected Member Functions | Protected Attributes | List of all members
TestOMPLConstraints Class Reference
Inheritance diagram for TestOMPLConstraints:
Inheritance graph
[legend]
Collaboration diagram for TestOMPLConstraints:
Collaboration graph
[legend]

Protected Member Functions

 TestOMPLConstraints (const std::string &robot_name, const std::string &group_name)
 
void SetUp () override
 
void TearDown () override
 
const Eigen::Isometry3d fk (const Eigen::VectorXd &q, const std::string &link_name) const
 Robot forward kinematics. More...
 
Eigen::VectorXd getRandomState ()
 
Eigen::MatrixXd numericalJacobianPosition (const Eigen::VectorXd &q, const std::string &link_name) const
 
void setPositionConstraints ()
 
void setPositionConstraintsDifferentLink ()
 Test position constraints a link that is not the end-effector. More...
 
void setEqualityPositionConstraints ()
 
void testJacobian ()
 
void testOMPLProjectedStateSpaceConstruction ()
 
void testEqualityPositionConstraints ()
 
- Protected Member Functions inherited from ompl_interface_testing::LoadTestRobot
 LoadTestRobot (const std::string &robot_name, const std::string &group_name)
 
Eigen::VectorXd getRandomState () const
 
Eigen::VectorXd getDeterministicState () const
 Create a joint position vector with values 0.1, 0.2, 0.3, ... where the length depends on the number of joints in the robot. More...
 

Protected Attributes

std::shared_ptr< ompl_interface::BaseConstraintconstraint_
 
- Protected Attributes inherited from ompl_interface_testing::LoadTestRobot
std::string group_name_
 
std::string robot_name_
 
moveit::core::RobotModelPtr robot_model_
 
moveit::core::RobotStatePtr robot_state_
 
const moveit::core::JointModelGroupjoint_model_group_
 
std::size_t num_dofs_
 
std::string base_link_name_
 
std::string ee_link_name_
 

Detailed Description

Definition at line 102 of file test_ompl_constraints.cpp.

Constructor & Destructor Documentation

◆ TestOMPLConstraints()

TestOMPLConstraints::TestOMPLConstraints ( const std::string &  robot_name,
const std::string &  group_name 
)
inlineprotected

Definition at line 105 of file test_ompl_constraints.cpp.

Member Function Documentation

◆ fk()

const Eigen::Isometry3d TestOMPLConstraints::fk ( const Eigen::VectorXd &  q,
const std::string &  link_name 
) const
inlineprotected

Robot forward kinematics.

Definition at line 119 of file test_ompl_constraints.cpp.

Here is the caller graph for this function:

◆ getRandomState()

Eigen::VectorXd TestOMPLConstraints::getRandomState ( )
inlineprotected

Definition at line 125 of file test_ompl_constraints.cpp.

Here is the caller graph for this function:

◆ numericalJacobianPosition()

Eigen::MatrixXd TestOMPLConstraints::numericalJacobianPosition ( const Eigen::VectorXd &  q,
const std::string &  link_name 
) const
inlineprotected

Definition at line 133 of file test_ompl_constraints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEqualityPositionConstraints()

void TestOMPLConstraints::setEqualityPositionConstraints ( )
inlineprotected

Definition at line 175 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

◆ setPositionConstraints()

void TestOMPLConstraints::setPositionConstraints ( )
inlineprotected

Definition at line 152 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

◆ setPositionConstraintsDifferentLink()

void TestOMPLConstraints::setPositionConstraintsDifferentLink ( )
inlineprotected

Test position constraints a link that is not the end-effector.

Definition at line 162 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

◆ SetUp()

void TestOMPLConstraints::SetUp ( )
inlineoverrideprotected

Definition at line 110 of file test_ompl_constraints.cpp.

◆ TearDown()

void TestOMPLConstraints::TearDown ( )
inlineoverrideprotected

Definition at line 114 of file test_ompl_constraints.cpp.

◆ testEqualityPositionConstraints()

void TestOMPLConstraints::testEqualityPositionConstraints ( )
inlineprotected

Definition at line 262 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

◆ testJacobian()

void TestOMPLConstraints::testJacobian ( )
inlineprotected

Definition at line 197 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

◆ testOMPLProjectedStateSpaceConstruction()

void TestOMPLConstraints::testOMPLProjectedStateSpaceConstruction ( )
inlineprotected

Definition at line 220 of file test_ompl_constraints.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ constraint_

std::shared_ptr<ompl_interface::BaseConstraint> TestOMPLConstraints::constraint_
protected

Definition at line 297 of file test_ompl_constraints.cpp.


The documentation for this class was generated from the following file: