moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
planning_pipeline_test::AlwaysSuccessRequestAdapter Class Reference

A dummy request adapter that does nothing and is always successful. More...

Inheritance diagram for planning_pipeline_test::AlwaysSuccessRequestAdapter:
Inheritance graph
[legend]
Collaboration diagram for planning_pipeline_test::AlwaysSuccessRequestAdapter:
Collaboration graph
[legend]

Public Member Functions

std::string getDescription () const override
 Get a description of this adapter.
 
moveit::core::MoveItErrorCode adapt (const planning_scene::PlanningSceneConstPtr &, planning_interface::MotionPlanRequest &) const override
 Adapt the planning request.
 
- Public Member Functions inherited from planning_interface::PlanningRequestAdapter
virtual void initialize (const rclcpp::Node::SharedPtr &node, const std::string &parameter_namespace)
 Initialize parameters using the passed Node and parameter namespace.
 

Detailed Description

A dummy request adapter that does nothing and is always successful.

Definition at line 46 of file planning_pipeline_test_plugins.cpp.

Member Function Documentation

◆ adapt()

moveit::core::MoveItErrorCode planning_pipeline_test::AlwaysSuccessRequestAdapter::adapt ( const planning_scene::PlanningSceneConstPtr &  planning_scene,
planning_interface::MotionPlanRequest req 
) const
inlineoverridevirtual

Adapt the planning request.

Parameters
planning_sceneRepresentation of the environment for the planning
reqMotion planning request with a set of constraints
Returns
True if response was generated correctly

Implements planning_interface::PlanningRequestAdapter.

Definition at line 53 of file planning_pipeline_test_plugins.cpp.

Here is the call graph for this function:

◆ getDescription()

std::string planning_pipeline_test::AlwaysSuccessRequestAdapter::getDescription ( ) const
inlineoverridevirtual

Get a description of this adapter.

Returns
Returns a short string that identifies the planning request adapter

Implements planning_interface::PlanningRequestAdapter.

Definition at line 49 of file planning_pipeline_test_plugins.cpp.

Here is the caller graph for this function:

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