Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_SETUP_H_
31 #define EXOTICA_CORE_SETUP_H_
43 #include <pluginlib/class_loader.h>
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);
133 pluginlib::ClassLoader<exotica::MotionSolver>
solvers_;
134 pluginlib::ClassLoader<exotica::TaskMap>
maps_;
143 #endif // EXOTICA_CORE_SETUP_H_
pluginlib::ClassLoader< exotica::MotionSolver > solvers_
Definition: setup.h:133
virtual std::string type() const
Type Information wrapper: must be virtual so that it is polymorphic...
Definition: object.h:61
static std::shared_ptr< exotica::TaskMap > CreateMap(const Initializer &init)
Definition: setup.h:126
static std::vector< std::string > GetProblems()
pluginlib::ClassLoader< exotica::CollisionScene > collision_scenes_
Definition: setup.h:135
static std::vector< std::string > GetSolvers()
Definition: uncopyable.h:35
static std::vector< std::string > GetDynamicsSolvers()
static std::shared_ptr< exotica::DynamicsSolver > CreateDynamicsSolver(const std::string &type, bool prepend=true)
Definition: setup.h:67
~Setup() noexcept
Definition: setup.h:50
void operator=(Setup const &)=delete
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const Initializer &init)
Definition: setup.h:81
Definition: cartpole_dynamics_solver.h:38
std::shared_ptr< Setup > SetupPtr
Definition: setup.h:140
static std::vector< Initializer > GetInitializers()
static std::vector< std::string > GetMaps()
static std::shared_ptr< exotica::DynamicsSolver > CreateDynamicsSolver(const Initializer &init)
Definition: setup.h:104
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const std::string &type, bool prepend=true)
Definition: setup.h:65
std::shared_ptr< Scene > ScenePtr
Definition: scene.h:246
static void PrintSupportedClasses()
static exotica::ScenePtr CreateScene(const Initializer &init)
CreateScene instantiate a scene from an initialiser The returned scene is independent of the internal...
Definition: setup.h:97
pluginlib::ClassLoader< exotica::TaskMap > maps_
Definition: setup.h:134
static std::shared_ptr< exotica::CollisionScene > CreateCollisionScene(const std::string &type, bool prepend=true)
Definition: setup.h:66
static std::shared_ptr< Setup > singleton_initialiser_
Definition: setup.h:121
static std::shared_ptr< exotica::CollisionScene > CreateCollisionScene(const Initializer &init)
Definition: setup.h:111
Definition: property.h:70
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const Initializer &init)
Definition: setup.h:75
pluginlib::ClassLoader< exotica::DynamicsSolver > dynamics_solvers_
Definition: setup.h:136
static std::shared_ptr< Setup > Instance()
Definition: setup.h:54
static std::shared_ptr< exotica::TaskMap > CreateMap(const std::string &type, bool prepend=true)
Definition: setup.h:64
PlanningProblemFac problems_
Definition: setup.h:137
const std::string & GetName() const
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const std::string &type, bool prepend=true)
Definition: setup.h:63
friend PlanningProblem
Definition: setup.h:119
static std::vector< std::string > GetCollisionScenes()