moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
pilz_industrial_motion_planner_testutils::JointConfiguration Class Reference

Class to define a robot configuration in space with the help of joint values. More...

#include <jointconfiguration.h>

Inheritance diagram for pilz_industrial_motion_planner_testutils::JointConfiguration:
Inheritance graph
[legend]
Collaboration diagram for pilz_industrial_motion_planner_testutils::JointConfiguration:
Collaboration graph
[legend]

Public Member Functions

 JointConfiguration ()
 
 JointConfiguration (const std::string &group_name, const std::vector< double > &config, CreateJointNameFunc &&create_joint_name_func)
 
 JointConfiguration (const std::string &group_name, const std::vector< double > &config, const moveit::core::RobotModelConstPtr &robot_model)
 
void setJoint (const size_t index, const double value)
 
double getJoint (const size_t index) const
 
const std::vector< double > getJoints () const
 
size_t size () const
 
moveit_msgs::msg::Constraints toGoalConstraints () const override
 
moveit_msgs::msg::RobotState toMoveitMsgsRobotState () const override
 
sensor_msgs::msg::JointState toSensorMsg () const
 
moveit::core::RobotState toRobotState () const
 
void setCreateJointNameFunc (CreateJointNameFunc create_joint_name_func)
 
- Public Member Functions inherited from pilz_industrial_motion_planner_testutils::RobotConfiguration
 RobotConfiguration ()
 
 RobotConfiguration (const std::string &group_name)
 
 RobotConfiguration (const std::string &group_name, const moveit::core::RobotModelConstPtr &robot_model)
 
void setRobotModel (moveit::core::RobotModelConstPtr robot_model)
 
void setGroupName (const std::string &group_name)
 
std::string getGroupName () const
 
void clearModel ()
 
- Public Member Functions inherited from pilz_industrial_motion_planner_testutils::RobotStateMsgConvertible
 RobotStateMsgConvertible ()=default
 
 RobotStateMsgConvertible (const RobotStateMsgConvertible &)=default
 
 RobotStateMsgConvertible (RobotStateMsgConvertible &&)=default
 
RobotStateMsgConvertibleoperator= (const RobotStateMsgConvertible &)=default
 
RobotStateMsgConvertibleoperator= (RobotStateMsgConvertible &&)=default
 
virtual ~RobotStateMsgConvertible ()=default
 
- Public Member Functions inherited from pilz_industrial_motion_planner_testutils::GoalConstraintMsgConvertible
 GoalConstraintMsgConvertible ()=default
 
 GoalConstraintMsgConvertible (const GoalConstraintMsgConvertible &)=default
 
 GoalConstraintMsgConvertible (GoalConstraintMsgConvertible &&)=default
 
GoalConstraintMsgConvertibleoperator= (const GoalConstraintMsgConvertible &)=default
 
GoalConstraintMsgConvertibleoperator= (GoalConstraintMsgConvertible &&)=default
 
virtual ~GoalConstraintMsgConvertible ()=default
 

Additional Inherited Members

- Protected Attributes inherited from pilz_industrial_motion_planner_testutils::RobotConfiguration
std::string group_name_
 
moveit::core::RobotModelConstPtr robot_model_
 

Detailed Description

Class to define a robot configuration in space with the help of joint values.

Definition at line 65 of file jointconfiguration.h.

Constructor & Destructor Documentation

◆ JointConfiguration() [1/3]

pilz_industrial_motion_planner_testutils::JointConfiguration::JointConfiguration ( )

Definition at line 41 of file jointconfiguration.cpp.

◆ JointConfiguration() [2/3]

pilz_industrial_motion_planner_testutils::JointConfiguration::JointConfiguration ( const std::string &  group_name,
const std::vector< double > &  config,
CreateJointNameFunc &&  create_joint_name_func 
)

Definition at line 45 of file jointconfiguration.cpp.

◆ JointConfiguration() [3/3]

pilz_industrial_motion_planner_testutils::JointConfiguration::JointConfiguration ( const std::string &  group_name,
const std::vector< double > &  config,
const moveit::core::RobotModelConstPtr &  robot_model 
)

Definition at line 51 of file jointconfiguration.cpp.

Member Function Documentation

◆ getJoint()

double pilz_industrial_motion_planner_testutils::JointConfiguration::getJoint ( const size_t  index) const
inline

Definition at line 123 of file jointconfiguration.h.

Here is the caller graph for this function:

◆ getJoints()

const std::vector< double > pilz_industrial_motion_planner_testutils::JointConfiguration::getJoints ( ) const
inline

Definition at line 128 of file jointconfiguration.h.

◆ setCreateJointNameFunc()

void pilz_industrial_motion_planner_testutils::JointConfiguration::setCreateJointNameFunc ( CreateJointNameFunc  create_joint_name_func)
inline

Definition at line 138 of file jointconfiguration.h.

◆ setJoint()

void pilz_industrial_motion_planner_testutils::JointConfiguration::setJoint ( const size_t  index,
const double  value 
)
inline

Definition at line 118 of file jointconfiguration.h.

◆ size()

size_t pilz_industrial_motion_planner_testutils::JointConfiguration::size ( ) const
inline

Definition at line 133 of file jointconfiguration.h.

Here is the caller graph for this function:

◆ toGoalConstraints()

moveit_msgs::msg::Constraints pilz_industrial_motion_planner_testutils::JointConfiguration::toGoalConstraints ( ) const
inlineoverridevirtual

◆ toMoveitMsgsRobotState()

moveit_msgs::msg::RobotState pilz_industrial_motion_planner_testutils::JointConfiguration::toMoveitMsgsRobotState ( ) const
inlineoverridevirtual

◆ toRobotState()

moveit::core::RobotState pilz_industrial_motion_planner_testutils::JointConfiguration::toRobotState ( ) const

Definition at line 107 of file jointconfiguration.cpp.

Here is the call graph for this function:

◆ toSensorMsg()

sensor_msgs::msg::JointState pilz_industrial_motion_planner_testutils::JointConfiguration::toSensorMsg ( ) const

Definition at line 128 of file jointconfiguration.cpp.


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