28 #ifndef INDUSTRIAL_MOVEIT_STOMP_MOVEIT_INCLUDE_STOMP_MOVEIT_UPDATE_FILTERS_POLYNOMIAL_SMOOTHER_H_ 29 #define INDUSTRIAL_MOVEIT_STOMP_MOVEIT_INCLUDE_STOMP_MOVEIT_UPDATE_FILTERS_POLYNOMIAL_SMOOTHER_H_ 35 namespace update_filters
66 virtual bool initialize(moveit::core::RobotModelConstPtr robot_model_ptr,
74 const moveit_msgs::MotionPlanRequest &req,
76 moveit_msgs::MoveItErrorCodes& error_code)
override;
89 virtual bool filter(std::size_t start_timestep,
90 std::size_t num_timesteps,
92 const Eigen::MatrixXd& parameters,
93 Eigen::MatrixXd& updates,
94 bool& filtered)
override;
96 virtual std::string getGroupName()
const 101 virtual std::string getName()
const 103 return name_ +
"/" + group_name_;
109 std::string group_name_;
112 unsigned int poly_order_;
115 moveit::core::RobotModelConstPtr robot_model_;
virtual bool configure(const XmlRpc::XmlRpcValue &config) override
see base class for documentation
This is a constrained polynomial trajectory smoother.
Interface class which applies filtering methods to the update parameters before it is added onto the ...
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
see base class for documentation
This is the base class for all stomp update filters.
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
smoothes the updates array by using a constrained polynomial fit.
virtual bool initialize(moveit::core::RobotModelConstPtr robot_model_ptr, const std::string &group_name, const XmlRpc::XmlRpcValue &config) override
see base class for documentation