moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <planner_logic_interface.h>
Public Member Functions | |
PlannerLogicInterface ()=default | |
PlannerLogicInterface (const PlannerLogicInterface &)=default | |
PlannerLogicInterface (PlannerLogicInterface &&)=default | |
PlannerLogicInterface & | operator= (const PlannerLogicInterface &)=default |
PlannerLogicInterface & | operator= (PlannerLogicInterface &&)=default |
virtual | ~PlannerLogicInterface ()=default |
virtual bool | initialize (const std::shared_ptr< HybridPlanningManager > &hybrid_planning_manager)=0 |
virtual ReactionResult | react (const HybridPlanningEvent &event)=0 |
virtual ReactionResult | react (const std::string &event)=0 |
Protected Attributes | |
std::shared_ptr< HybridPlanningManager > | hybrid_planning_manager_ = nullptr |
Class PlannerLogicInterface - Base class for a planner logic. The logic defines how to react to different events that occur during hybrid planning. Events can be triggered by callback functions of the hybrid planning manager's ROS 2 interfaces or timers. They are encoded either inside an enum class or as a string to easily include custom events.
Definition at line 104 of file planner_logic_interface.h.
|
default |
|
default |
|
default |
|
virtualdefault |
|
pure virtual |
Initialize the planner logic
hybrid_planning_manager | The hybrid planning manager instance to initialize this logic with. |
Implemented in moveit::hybrid_planning::SinglePlanExecution.
|
default |
|
default |
|
pure virtual |
React to event defined in HybridPlanningEvent enum
event | Basic hybrid planning event |
Implemented in moveit::hybrid_planning::SinglePlanExecution.
|
pure virtual |
React to custom event
event | Encoded as string |
Implemented in moveit::hybrid_planning::SinglePlanExecution, and moveit::hybrid_planning::ReplanInvalidatedTrajectory.
|
protected |
Definition at line 137 of file planner_logic_interface.h.