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 () |
virtual ReactionResult | react (const HybridPlanningEvent &event)=0 |
virtual ReactionResult | react (const std::string &event)=0 |
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 114 of file planner_logic_interface.h.
|
default |
|
default |
|
default |
|
virtualdefault |
|
inlinevirtual |
Initialize the planner logic
Definition at line 128 of file planner_logic_interface.h.
|
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::ReplanInvalidatedTrajectory, and moveit::hybrid_planning::SinglePlanExecution.