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>
50 #include <moveit_msgs/msg/move_it_error_codes.hpp>
51 #include <moveit_msgs/msg/robot_state.hpp>
54 #include "../planning_scene_monitor/planning_scene_monitor.hpp"
60 namespace bind_planning_component
63 plan(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
64 std::shared_ptr<moveit_cpp::PlanningComponent::PlanRequestParameters>& parameters);
66 bool setGoal(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
67 std::optional<std::string> configuration_name, std::optional<moveit::core::RobotState> robot_state,
68 std::optional<geometry_msgs::msg::PoseStamped> pose_stamped_msg, std::optional<std::string> pose_link,
69 std::optional<std::vector<moveit_msgs::msg::Constraints>> motion_plan_constraints);
71 bool setStartState(std::shared_ptr<moveit_cpp::PlanningComponent>& planning_component,
72 std::optional<std::string> configuration_name, std::optional<moveit::core::RobotState> robot_state);
78 moveit_msgs::msg::MoveItErrorCodes
81 moveit_msgs::msg::RobotState
84 std::shared_ptr<robot_trajectory::RobotTrajectory>
std::shared_ptr< robot_trajectory::RobotTrajectory > getMotionPlanSolutionTrajectory(std::shared_ptr< moveit_cpp::PlanningComponent::PlanSolution > &plan_solution)
moveit_cpp::PlanningComponent::PlanSolution plan(std::shared_ptr< moveit_cpp::PlanningComponent > &planning_component, std::shared_ptr< moveit_cpp::PlanningComponent::PlanRequestParameters > ¶meters)
moveit_msgs::msg::MoveItErrorCodes getMotionPlanSolutionErrorCode(std::shared_ptr< moveit_cpp::PlanningComponent::PlanSolution > &plan_solution)
void initPlanSolution(py::module &m)
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)
moveit_msgs::msg::RobotState getMotionPlanSolutionStartState(std::shared_ptr< moveit_cpp::PlanningComponent::PlanSolution > &plan_solution)
bool setStartState(std::shared_ptr< moveit_cpp::PlanningComponent > &planning_component, std::optional< std::string > configuration_name, std::optional< moveit::core::RobotState > robot_state)
void initPlanningComponent(py::module &m)
void initPlanRequestParameters(py::module &m)
The representation of a plan solution.