39#include <pybind11/pybind11.h>
40#include <pybind11/eigen.h>
41#include <pybind11/stl.h>
42#include <pybind11/numpy.h>
43#include <pybind11/functional.h>
48#include <geometry_msgs/msg/pose_stamped.hpp>
49#include <moveit_msgs/msg/constraints.hpp>
52#include "../planning_scene_monitor/planning_scene_monitor.hpp"
53#include "../../moveit_core/planning_interface/planning_response.hpp"
59namespace bind_planning_component
62plan(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
63 std::shared_ptr<moveit_cpp::PlanningComponent::PlanRequestParameters>& single_plan_parameters,
64 std::shared_ptr<moveit_cpp::PlanningComponent::MultiPipelinePlanRequestParameters>& multi_plan_parameters,
66 std::optional<const moveit::planning_pipeline_interfaces::SolutionSelectionFunction> solution_selection_function,
67 std::optional<moveit::planning_pipeline_interfaces::StoppingCriterionFunction> stopping_criterion_callback);
69bool setGoal(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
70 std::optional<std::string> configuration_name, std::optional<moveit::core::RobotState> robot_state,
71 std::optional<geometry_msgs::msg::PoseStamped> pose_stamped_msg, std::optional<std::string> pose_link,
72 std::optional<std::vector<moveit_msgs::msg::Constraints>> motion_plan_constraints);
74bool setStartState(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
75 std::optional<std::string> configuration_name, std::optional<moveit::core::RobotState> robot_state);
bool setStartState(std::shared_ptr< moveit_cpp::PlanningComponent > &planning_component, std::optional< std::string > configuration_name, std::optional< moveit::core::RobotState > robot_state)
void initMultiPlanRequestParameters(py::module &m)
void initPlanningComponent(py::module &m)
void initPlanRequestParameters(py::module &m)
planning_interface::MotionPlanResponse plan(std::shared_ptr< moveit_cpp::PlanningComponent > &planning_component, std::shared_ptr< moveit_cpp::PlanningComponent::PlanRequestParameters > &single_plan_parameters, std::shared_ptr< moveit_cpp::PlanningComponent::MultiPipelinePlanRequestParameters > &multi_plan_parameters, std::shared_ptr< planning_scene::PlanningScene > &planning_scene, std::optional< const moveit::planning_pipeline_interfaces::SolutionSelectionFunction > solution_selection_function, std::optional< moveit::planning_pipeline_interfaces::StoppingCriterionFunction > stopping_criterion_callback)
bool setGoal(std::shared_ptr< moveit_cpp::PlanningComponent > &planning_component, std::optional< std::string > configuration_name, std::optional< moveit::core::RobotState > robot_state, std::optional< geometry_msgs::msg::PoseStamped > pose_stamped_msg, std::optional< std::string > pose_link, std::optional< std::vector< moveit_msgs::msg::Constraints > > motion_plan_constraints)
This namespace includes the central class for representing planning contexts.
Response to a planning query.