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. | |
virtual std::string | getDescription () const =0 |
Get a description of this adapter. | |
virtual moveit::core::MoveItErrorCode | adapt (const planning_scene::PlanningSceneConstPtr &planning_scene, planning_interface::MotionPlanRequest &req) const =0 |
Adapt the planning request. | |
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 planning_pipeline_test::AlwaysSuccessRequestAdapter, default_planning_request_adapters::CheckForStackedConstraints, default_planning_request_adapters::ValidateWorkspaceBounds, default_planning_request_adapters::CheckStartStateBounds, default_planning_request_adapters::CheckStartStateCollision, and default_planning_request_adapters::ResolveConstraintFrames.
|
pure virtual |
Get a description of this adapter.
Implemented in planning_pipeline_test::AlwaysSuccessRequestAdapter, default_planning_request_adapters::CheckForStackedConstraints, default_planning_request_adapters::CheckStartStateBounds, default_planning_request_adapters::CheckStartStateCollision, default_planning_request_adapters::ResolveConstraintFrames, and default_planning_request_adapters::ValidateWorkspaceBounds.
|
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::CheckStartStateBounds, and default_planning_request_adapters::ValidateWorkspaceBounds.
Definition at line 61 of file planning_request_adapter.h.