30 #ifndef EXOTICA_CORE_SETUP_H_ 31 #define EXOTICA_CORE_SETUP_H_ 64 static std::shared_ptr<exotica::TaskMap>
CreateMap(
const std::string&
type,
bool prepend =
true) {
return ToStdPtr(
Instance()->
maps_.createInstance((prepend ?
"exotica/" :
"") + type)); }
65 static std::shared_ptr<exotica::PlanningProblem>
CreateProblem(
const std::string&
type,
bool prepend =
true) {
return Instance()->problems_.CreateInstance((prepend ?
"exotica/" :
"") + type); }
70 static std::vector<std::string>
GetMaps();
78 ret->InstantiateInternal(init);
83 std::shared_ptr<exotica::PlanningProblem> ret =
Instance()->problems_.CreateInstance(init.
GetName());
84 ret->InstantiateInternal(init);
100 ret->InstantiateInternal(init);
107 ret->InstantiateInternal(init);
114 ret->InstantiateInternal(init);
129 ret->InstantiateInternal(init);
143 #endif // EXOTICA_CORE_SETUP_H_
static std::vector< std::string > GetDynamicsSolvers()
static exotica::ScenePtr CreateScene(const Initializer &init)
CreateScene instantiate a scene from an initialiser The returned scene is independent of the internal...
static std::shared_ptr< exotica::DynamicsSolver > CreateDynamicsSolver(const Initializer &init)
static std::shared_ptr< exotica::CollisionScene > CreateCollisionScene(const std::string &type, bool prepend=true)
PlanningProblemFac problems_
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const std::string &type, bool prepend=true)
const std::string & GetName() const
std::shared_ptr< Scene > ScenePtr
pluginlib::ClassLoader< exotica::TaskMap > maps_
pluginlib::ClassLoader< exotica::DynamicsSolver > dynamics_solvers_
static std::shared_ptr< Setup > singleton_initialiser_
static std::vector< Initializer > GetInitializers()
static std::vector< std::string > GetCollisionScenes()
std::shared_ptr< Setup > SetupPtr
static void PrintSupportedClasses()
virtual std::string type() const
Type Information wrapper: must be virtual so that it is polymorphic...
static std::shared_ptr< exotica::DynamicsSolver > CreateDynamicsSolver(const std::string &type, bool prepend=true)
static std::vector< std::string > GetProblems()
pluginlib::ClassLoader< exotica::MotionSolver > solvers_
static std::shared_ptr< exotica::CollisionScene > CreateCollisionScene(const Initializer &init)
void operator=(Setup const &)=delete
static std::vector< std::string > GetMaps()
static std::vector< std::string > GetSolvers()
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const std::string &type, bool prepend=true)
pluginlib::ClassLoader< exotica::CollisionScene > collision_scenes_
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const Initializer &init)
static std::shared_ptr< exotica::TaskMap > CreateMap(const Initializer &init)
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const Initializer &init)
static std::shared_ptr< Setup > Instance()
static std::shared_ptr< exotica::TaskMap > CreateMap(const std::string &type, bool prepend=true)