moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
planning_interface::PlanningRequestAdapter Class Referenceabstract

Concept in MoveIt which can be used to modify the planning problem(pre-processing) in a planning pipeline. PlanningRequestAdapters enable adjusting to or validating a planning problem for a subsequent planning algorithm. More...

#include <planning_request_adapter.h>

Inheritance diagram for planning_interface::PlanningRequestAdapter:
Inheritance graph
[legend]

Public Member Functions

virtual void initialize (const rclcpp::Node::SharedPtr &node, const std::string &parameter_namespace)
 Initialize parameters using the passed Node and parameter namespace. More...
 
virtual std::string getDescription () const =0
 Get a description of this adapter. More...
 
virtual moveit::core::MoveItErrorCode adapt (const planning_scene::PlanningSceneConstPtr &planning_scene, planning_interface::MotionPlanRequest &req) const =0
 Adapt the planning request. More...
 

Detailed Description

Concept in MoveIt which can be used to modify the planning problem(pre-processing) in a planning pipeline. PlanningRequestAdapters enable adjusting to or validating a planning problem for a subsequent planning algorithm.

Definition at line 54 of file planning_request_adapter.h.

Member Function Documentation

◆ adapt()

virtual moveit::core::MoveItErrorCode planning_interface::PlanningRequestAdapter::adapt ( const planning_scene::PlanningSceneConstPtr &  planning_scene,
planning_interface::MotionPlanRequest req 
) const
pure virtual

◆ getDescription()

virtual std::string planning_interface::PlanningRequestAdapter::getDescription ( ) const
pure virtual

◆ initialize()

virtual void planning_interface::PlanningRequestAdapter::initialize ( const rclcpp::Node::SharedPtr &  node,
const std::string &  parameter_namespace 
)
inlinevirtual

Initialize parameters using the passed Node and parameter namespace.

Parameters
nodeNode instance used by the adapter
parameter_namespaceParameter namespace for adapter

The default implementation is empty

Reimplemented in default_planning_request_adapters::ValidateWorkspaceBounds, and default_planning_request_adapters::CheckStartStateBounds.

Definition at line 61 of file planning_request_adapter.h.


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