#include <constraints_library.h>
Public Member Functions | |
ConstraintApproximationConstructionResults | addConstraintApproximation (const moveit_msgs::Constraints &constr_sampling, const moveit_msgs::Constraints &constr_hard, const std::string &group, const planning_scene::PlanningSceneConstPtr &scene, const ConstraintApproximationConstructionOptions &options) |
ConstraintApproximationConstructionResults | addConstraintApproximation (const moveit_msgs::Constraints &constr, const std::string &group, const planning_scene::PlanningSceneConstPtr &scene, const ConstraintApproximationConstructionOptions &options) |
void | clearConstraintApproximations () |
ConstraintsLibrary (const PlanningContextManager &pcontext) | |
const ConstraintApproximationPtr & | getConstraintApproximation (const moveit_msgs::Constraints &msg) const |
void | loadConstraintApproximations (const std::string &path) |
void | printConstraintApproximations (std::ostream &out=std::cout) const |
void | registerConstraintApproximation (const ConstraintApproximationPtr &approx) |
void | saveConstraintApproximations (const std::string &path) |
Private Member Functions | |
ompl::base::StateStoragePtr | constructConstraintApproximation (const ModelBasedPlanningContextPtr &pcontext, const moveit_msgs::Constraints &constr_sampling, const moveit_msgs::Constraints &constr_hard, const ConstraintApproximationConstructionOptions &options, ConstraintApproximationConstructionResults &result) |
Private Attributes | |
std::map< std::string, ConstraintApproximationPtr > | constraint_approximations_ |
const PlanningContextManager & | context_manager_ |
Definition at line 162 of file constraints_library.h.
|
inline |
Definition at line 165 of file constraints_library.h.
ompl_interface::ConstraintApproximationConstructionResults ompl_interface::ConstraintsLibrary::addConstraintApproximation | ( | const moveit_msgs::Constraints & | constr_sampling, |
const moveit_msgs::Constraints & | constr_hard, | ||
const std::string & | group, | ||
const planning_scene::PlanningSceneConstPtr & | scene, | ||
const ConstraintApproximationConstructionOptions & | options | ||
) |
Definition at line 403 of file constraints_library.cpp.
ompl_interface::ConstraintApproximationConstructionResults ompl_interface::ConstraintsLibrary::addConstraintApproximation | ( | const moveit_msgs::Constraints & | constr, |
const std::string & | group, | ||
const planning_scene::PlanningSceneConstPtr & | scene, | ||
const ConstraintApproximationConstructionOptions & | options | ||
) |
Definition at line 395 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::clearConstraintApproximations | ( | ) |
Definition at line 364 of file constraints_library.cpp.
|
private |
Definition at line 439 of file constraints_library.cpp.
const ompl_interface::ConstraintApproximationPtr & ompl_interface::ConstraintsLibrary::getConstraintApproximation | ( | const moveit_msgs::Constraints & | msg | ) | const |
Definition at line 384 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::loadConstraintApproximations | ( | const std::string & | path | ) |
Definition at line 268 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::printConstraintApproximations | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 369 of file constraints_library.cpp.
|
inline |
Definition at line 187 of file constraints_library.h.
void ompl_interface::ConstraintsLibrary::saveConstraintApproximations | ( | const std::string & | path | ) |
Definition at line 331 of file constraints_library.cpp.
|
private |
Definition at line 201 of file constraints_library.h.
|
private |
Definition at line 200 of file constraints_library.h.