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

#include <single_plan_execution.h>

Inheritance diagram for moveit::hybrid_planning::SinglePlanExecution:
Inheritance graph
[legend]
Collaboration diagram for moveit::hybrid_planning::SinglePlanExecution:
Collaboration graph
[legend]

Public Member Functions

 SinglePlanExecution ()=default
 
 ~SinglePlanExecution () override=default
 
bool initialize (const std::shared_ptr< HybridPlanningManager > &hybrid_planning_manager) override
 
ReactionResult react (const HybridPlanningEvent &event) override
 
ReactionResult react (const std::string &event) override
 
- Public Member Functions inherited from moveit::hybrid_planning::PlannerLogicInterface
 PlannerLogicInterface ()=default
 
 PlannerLogicInterface (const PlannerLogicInterface &)=default
 
 PlannerLogicInterface (PlannerLogicInterface &&)=default
 
PlannerLogicInterfaceoperator= (const PlannerLogicInterface &)=default
 
PlannerLogicInterfaceoperator= (PlannerLogicInterface &&)=default
 
virtual ~PlannerLogicInterface ()=default
 

Additional Inherited Members

- Protected Attributes inherited from moveit::hybrid_planning::PlannerLogicInterface
std::shared_ptr< HybridPlanningManagerhybrid_planning_manager_ = nullptr
 

Detailed Description

Definition at line 45 of file single_plan_execution.h.

Constructor & Destructor Documentation

◆ SinglePlanExecution()

moveit::hybrid_planning::SinglePlanExecution::SinglePlanExecution ( )
default

◆ ~SinglePlanExecution()

moveit::hybrid_planning::SinglePlanExecution::~SinglePlanExecution ( )
overridedefault

Member Function Documentation

◆ initialize()

bool moveit::hybrid_planning::SinglePlanExecution::initialize ( const std::shared_ptr< HybridPlanningManager > &  hybrid_planning_manager)
overridevirtual

Initialize the planner logic

Parameters
hybrid_planning_managerThe hybrid planning manager instance to initialize this logic with.
Returns
true if initialization was successful

Implements moveit::hybrid_planning::PlannerLogicInterface.

Definition at line 44 of file single_plan_execution.cpp.

◆ react() [1/2]

ReactionResult moveit::hybrid_planning::SinglePlanExecution::react ( const HybridPlanningEvent event)
overridevirtual

React to event defined in HybridPlanningEvent enum

Parameters
eventBasic hybrid planning event
Returns
Reaction result that summarizes the outcome of the reaction

Implements moveit::hybrid_planning::PlannerLogicInterface.

Definition at line 50 of file single_plan_execution.cpp.

◆ react() [2/2]

ReactionResult moveit::hybrid_planning::SinglePlanExecution::react ( const std::string &  event)
overridevirtual

React to custom event

Parameters
eventEncoded as string
Returns
Reaction result that summarizes the outcome of the reaction

Implements moveit::hybrid_planning::PlannerLogicInterface.

Definition at line 95 of file single_plan_execution.cpp.


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