moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
move_group::MoveGroupCapability Class Referenceabstract

#include <move_group_capability.h>

Inheritance diagram for move_group::MoveGroupCapability:
Inheritance graph
[legend]

Public Member Functions

 MoveGroupCapability (const std::string &capability_name)
 
virtual ~MoveGroupCapability ()
 
void setContext (const MoveGroupContextPtr &context)
 
virtual void initialize ()=0
 
const std::string & getName () const
 

Protected Member Functions

std::string getActionResultString (const moveit_msgs::msg::MoveItErrorCodes &error_code, bool planned_trajectory_empty, bool plan_only)
 
std::string stateToStr (MoveGroupState state) const
 
void convertToMsg (const std::vector< plan_execution::ExecutableTrajectory > &trajectory, moveit_msgs::msg::RobotState &first_state_msg, std::vector< moveit_msgs::msg::RobotTrajectory > &trajectory_msg) const
 
void convertToMsg (const robot_trajectory::RobotTrajectoryPtr &trajectory, moveit_msgs::msg::RobotState &first_state_msg, moveit_msgs::msg::RobotTrajectory &trajectory_msg) const
 
void convertToMsg (const std::vector< plan_execution::ExecutableTrajectory > &trajectory, moveit_msgs::msg::RobotState &first_state_msg, moveit_msgs::msg::RobotTrajectory &trajectory_msg) const
 
planning_interface::MotionPlanRequest clearRequestStartState (const planning_interface::MotionPlanRequest &request) const
 
moveit_msgs::msg::PlanningScene clearSceneRobotState (const moveit_msgs::msg::PlanningScene &scene) const
 
bool performTransform (geometry_msgs::msg::PoseStamped &pose_msg, const std::string &target_frame) const
 
planning_pipeline::PlanningPipelinePtr resolvePlanningPipeline (const std::string &pipeline_id) const
 

Protected Attributes

std::string capability_name_
 
MoveGroupContextPtr context_
 

Detailed Description

Definition at line 57 of file move_group_capability.h.

Constructor & Destructor Documentation

◆ MoveGroupCapability()

move_group::MoveGroupCapability::MoveGroupCapability ( const std::string &  capability_name)
inline

Definition at line 60 of file move_group_capability.h.

◆ ~MoveGroupCapability()

virtual move_group::MoveGroupCapability::~MoveGroupCapability ( )
inlinevirtual

Definition at line 64 of file move_group_capability.h.

Member Function Documentation

◆ clearRequestStartState()

planning_interface::MotionPlanRequest move_group::MoveGroupCapability::clearRequestStartState ( const planning_interface::MotionPlanRequest request) const
protected

Definition at line 97 of file move_group_capability.cpp.

◆ clearSceneRobotState()

moveit_msgs::msg::PlanningScene move_group::MoveGroupCapability::clearSceneRobotState ( const moveit_msgs::msg::PlanningScene &  scene) const
protected

Definition at line 109 of file move_group_capability.cpp.

◆ convertToMsg() [1/3]

void move_group::MoveGroupCapability::convertToMsg ( const robot_trajectory::RobotTrajectoryPtr &  trajectory,
moveit_msgs::msg::RobotState &  first_state_msg,
moveit_msgs::msg::RobotTrajectory &  trajectory_msg 
) const
protected

Definition at line 75 of file move_group_capability.cpp.

Here is the call graph for this function:

◆ convertToMsg() [2/3]

void move_group::MoveGroupCapability::convertToMsg ( const std::vector< plan_execution::ExecutableTrajectory > &  trajectory,
moveit_msgs::msg::RobotState &  first_state_msg,
moveit_msgs::msg::RobotTrajectory &  trajectory_msg 
) const
protected

Definition at line 86 of file move_group_capability.cpp.

◆ convertToMsg() [3/3]

void move_group::MoveGroupCapability::convertToMsg ( const std::vector< plan_execution::ExecutableTrajectory > &  trajectory,
moveit_msgs::msg::RobotState &  first_state_msg,
std::vector< moveit_msgs::msg::RobotTrajectory > &  trajectory_msg 
) const
protected

Definition at line 52 of file move_group_capability.cpp.

Here is the call graph for this function:

◆ getActionResultString()

std::string move_group::MoveGroupCapability::getActionResultString ( const moveit_msgs::msg::MoveItErrorCodes &  error_code,
bool  planned_trajectory_empty,
bool  plan_only 
)
protected

Definition at line 120 of file move_group_capability.cpp.

◆ getName()

const std::string& move_group::MoveGroupCapability::getName ( ) const
inline

Definition at line 72 of file move_group_capability.h.

◆ initialize()

virtual void move_group::MoveGroupCapability::initialize ( )
pure virtual

◆ performTransform()

bool move_group::MoveGroupCapability::performTransform ( geometry_msgs::msg::PoseStamped &  pose_msg,
const std::string &  target_frame 
) const
protected

Definition at line 181 of file move_group_capability.cpp.

◆ resolvePlanningPipeline()

planning_pipeline::PlanningPipelinePtr move_group::MoveGroupCapability::resolvePlanningPipeline ( const std::string &  pipeline_id) const
protected

Definition at line 211 of file move_group_capability.cpp.

◆ setContext()

void move_group::MoveGroupCapability::setContext ( const MoveGroupContextPtr &  context)

Definition at line 47 of file move_group_capability.cpp.

◆ stateToStr()

std::string move_group::MoveGroupCapability::stateToStr ( MoveGroupState  state) const
protected

Definition at line 164 of file move_group_capability.cpp.

Member Data Documentation

◆ capability_name_

std::string move_group::MoveGroupCapability::capability_name_
protected

Definition at line 99 of file move_group_capability.h.

◆ context_

MoveGroupContextPtr move_group::MoveGroupCapability::context_
protected

Definition at line 100 of file move_group_capability.h.


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