#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 163 of file constraints_library.h.
ompl_interface::ConstraintsLibrary::ConstraintsLibrary | ( | const PlanningContextManager & | pcontext | ) | [inline] |
Definition at line 167 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 384 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 376 of file constraints_library.cpp.
Definition at line 347 of file constraints_library.cpp.
ompl::base::StateStoragePtr ompl_interface::ConstraintsLibrary::constructConstraintApproximation | ( | const ModelBasedPlanningContextPtr & | pcontext, |
const moveit_msgs::Constraints & | constr_sampling, | ||
const moveit_msgs::Constraints & | constr_hard, | ||
const ConstraintApproximationConstructionOptions & | options, | ||
ConstraintApproximationConstructionResults & | result | ||
) | [private] |
Definition at line 415 of file constraints_library.cpp.
const ompl_interface::ConstraintApproximationPtr & ompl_interface::ConstraintsLibrary::getConstraintApproximation | ( | const moveit_msgs::Constraints & | msg | ) | const |
Definition at line 365 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::loadConstraintApproximations | ( | const std::string & | path | ) |
Definition at line 260 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::printConstraintApproximations | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 352 of file constraints_library.cpp.
void ompl_interface::ConstraintsLibrary::registerConstraintApproximation | ( | const ConstraintApproximationPtr & | approx | ) | [inline] |
Definition at line 188 of file constraints_library.h.
void ompl_interface::ConstraintsLibrary::saveConstraintApproximations | ( | const std::string & | path | ) |
Definition at line 316 of file constraints_library.cpp.
std::map<std::string, ConstraintApproximationPtr> ompl_interface::ConstraintsLibrary::constraint_approximations_ [private] |
Definition at line 203 of file constraints_library.h.
Definition at line 202 of file constraints_library.h.