moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
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>
Public Member Functions | |
virtual void | initialize (const rclcpp::Node::SharedPtr &node, const std::string ¶meter_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... | |
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.
|
pure virtual |
Adapt the planning request.
planning_scene | Representation of the environment for the planning |
req | Motion planning request with a set of constraints |
Implemented in default_planning_request_adapters::ResolveConstraintFrames, default_planning_request_adapters::CheckStartStateCollision, default_planning_request_adapters::CheckStartStateBounds, default_planning_request_adapters::ValidateWorkspaceBounds, default_planning_request_adapters::CheckForStackedConstraints, and planning_pipeline_test::AlwaysSuccessRequestAdapter.
|
pure virtual |
Get a description of this adapter.
Implemented in default_planning_request_adapters::ValidateWorkspaceBounds, default_planning_request_adapters::ResolveConstraintFrames, default_planning_request_adapters::CheckStartStateCollision, default_planning_request_adapters::CheckStartStateBounds, default_planning_request_adapters::CheckForStackedConstraints, and planning_pipeline_test::AlwaysSuccessRequestAdapter.
|
inlinevirtual |
Initialize parameters using the passed Node and parameter namespace.
node | Node instance used by the adapter |
parameter_namespace | Parameter 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.