Forces the goal cartesian tool pose into the task space. More...
#include <constrained_cartesian_goal.h>
Public Member Functions | |
virtual bool | configure (const XmlRpc::XmlRpcValue &config) override |
Sets internal members of the plugin from the configuration data. | |
ConstrainedCartesianGoal () | |
virtual bool | filter (std::size_t start_timestep, std::size_t num_timesteps, int iteration_number, const Eigen::MatrixXd ¶meters, Eigen::MatrixXd &updates, bool &filtered) override |
Forces the goal to be within the tool's task manifold. | |
virtual std::string | getGroupName () const |
virtual std::string | getName () const |
virtual bool | initialize (moveit::core::RobotModelConstPtr robot_model_ptr, const std::string &group_name, const XmlRpc::XmlRpcValue &config) override |
Initializes and configures. | |
virtual bool | setMotionPlanRequest (const planning_scene::PlanningSceneConstPtr &planning_scene, const moveit_msgs::MotionPlanRequest &req, const stomp_core::StompConfiguration &config, moveit_msgs::MoveItErrorCodes &error_code) override |
Stores the planning details. | |
virtual | ~ConstrainedCartesianGoal () |
Protected Attributes | |
std::string | group_name_ |
utils::kinematics::KinematicConfig | kc_ |
std::string | name_ |
moveit::core::RobotModelConstPtr | robot_model_ |
moveit::core::RobotStatePtr | state_ |
std::string | tool_link_ |
Forces the goal cartesian tool pose into the task space.
Definition at line 46 of file constrained_cartesian_goal.h.
Definition at line 48 of file constrained_cartesian_goal.cpp.
Definition at line 55 of file constrained_cartesian_goal.cpp.
bool stomp_moveit::update_filters::ConstrainedCartesianGoal::configure | ( | const XmlRpc::XmlRpcValue & | config | ) | [override, virtual] |
Sets internal members of the plugin from the configuration data.
config | The configuration data. Usually loaded from the ros parameter server |
Implements stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 69 of file constrained_cartesian_goal.cpp.
bool stomp_moveit::update_filters::ConstrainedCartesianGoal::filter | ( | std::size_t | start_timestep, |
std::size_t | num_timesteps, | ||
int | iteration_number, | ||
const Eigen::MatrixXd & | parameters, | ||
Eigen::MatrixXd & | updates, | ||
bool & | filtered | ||
) | [override, virtual] |
Forces the goal to be within the tool's task manifold.
start_timestep | The start index into the 'parameters' array, usually 0. |
num_timesteps | The number of elements to use from 'parameters' starting from 'start_timestep'. |
iteration_number | The current iteration count in the optimization loop. |
parameters | The current parameter values [num_dimensions x num_timesteps] |
updates | The output updates to be applied to the parameters [num_dimensions x num_timesteps] |
filtered | Set to 'true' if the updates were modified, false otherwise |
Implements stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 210 of file constrained_cartesian_goal.cpp.
virtual std::string stomp_moveit::update_filters::ConstrainedCartesianGoal::getGroupName | ( | ) | const [inline, virtual] |
Reimplemented from stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 100 of file constrained_cartesian_goal.h.
virtual std::string stomp_moveit::update_filters::ConstrainedCartesianGoal::getName | ( | ) | const [inline, virtual] |
Reimplemented from stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 105 of file constrained_cartesian_goal.h.
bool stomp_moveit::update_filters::ConstrainedCartesianGoal::initialize | ( | moveit::core::RobotModelConstPtr | robot_model_ptr, |
const std::string & | group_name, | ||
const XmlRpc::XmlRpcValue & | config | ||
) | [override, virtual] |
Initializes and configures.
robot_model_ptr | A pointer to the robot model. |
group_name | The designated planning group. |
config | The configuration data. Usually loaded from the ros parameter server |
Implements stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 60 of file constrained_cartesian_goal.cpp.
bool stomp_moveit::update_filters::ConstrainedCartesianGoal::setMotionPlanRequest | ( | const planning_scene::PlanningSceneConstPtr & | planning_scene, |
const moveit_msgs::MotionPlanRequest & | req, | ||
const stomp_core::StompConfiguration & | config, | ||
moveit_msgs::MoveItErrorCodes & | error_code | ||
) | [override, virtual] |
Stores the planning details.
planning_scene | A smart pointer to the planning scene |
req | The motion planning request |
config | The Stomp configuration. |
error_code | Moveit error code. |
Implements stomp_moveit::update_filters::StompUpdateFilter.
Definition at line 118 of file constrained_cartesian_goal.cpp.
std::string stomp_moveit::update_filters::ConstrainedCartesianGoal::group_name_ [protected] |
Definition at line 113 of file constrained_cartesian_goal.h.
utils::kinematics::KinematicConfig stomp_moveit::update_filters::ConstrainedCartesianGoal::kc_ [protected] |
Definition at line 116 of file constrained_cartesian_goal.h.
std::string stomp_moveit::update_filters::ConstrainedCartesianGoal::name_ [protected] |
Definition at line 112 of file constrained_cartesian_goal.h.
moveit::core::RobotModelConstPtr stomp_moveit::update_filters::ConstrainedCartesianGoal::robot_model_ [protected] |
Definition at line 119 of file constrained_cartesian_goal.h.
moveit::core::RobotStatePtr stomp_moveit::update_filters::ConstrainedCartesianGoal::state_ [protected] |
Definition at line 120 of file constrained_cartesian_goal.h.
std::string stomp_moveit::update_filters::ConstrainedCartesianGoal::tool_link_ [protected] |
Definition at line 121 of file constrained_cartesian_goal.h.