moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Helper class to encapsulate the merge and blend process of trajectories. More...
#include <plan_components_builder.h>
Public Member Functions | |
void | setBlender (std::unique_ptr< pilz_industrial_motion_planner::TrajectoryBlender > blender) |
Sets the blender used to blend two trajectories. | |
void | setModel (const moveit::core::RobotModelConstPtr &model) |
Sets the robot model needed to create new trajectory elements. | |
void | append (const planning_scene::PlanningSceneConstPtr &planning_scene, const robot_trajectory::RobotTrajectoryPtr &other, const double blend_radius) |
Appends the specified trajectory to the trajectory container under construction. | |
void | reset () |
Clears the trajectory container under construction. | |
std::vector< robot_trajectory::RobotTrajectoryPtr > | build () const |
Helper class to encapsulate the merge and blend process of trajectories.
Definition at line 63 of file plan_components_builder.h.
void pilz_industrial_motion_planner::PlanComponentsBuilder::append | ( | const planning_scene::PlanningSceneConstPtr & | planning_scene, |
const robot_trajectory::RobotTrajectoryPtr & | other, | ||
const double | blend_radius | ||
) |
Appends the specified trajectory to the trajectory container under construction.
The appending complies to the following rules:
planning_scene | The scene planning is occurring in. |
other | Trajectories which has to be added to the trajectory container under construction. |
blend_radius | The blending radius between the previous and the specified trajectory. |
Definition at line 107 of file plan_components_builder.cpp.
std::vector< robot_trajectory::RobotTrajectoryPtr > pilz_industrial_motion_planner::PlanComponentsBuilder::build | ( | ) | const |
Definition at line 43 of file plan_components_builder.cpp.
|
inline |
Clears the trajectory container under construction.
Definition at line 157 of file plan_components_builder.h.
|
inline |
Sets the blender used to blend two trajectories.
Definition at line 147 of file plan_components_builder.h.
|
inline |
Sets the robot model needed to create new trajectory elements.
Definition at line 152 of file plan_components_builder.h.