30 #ifndef EXOTICA_CORE_XML_LOADER_H_ 31 #define EXOTICA_CORE_XML_LOADER_H_ 54 void LoadXML(std::string file_name,
Initializer& solver,
Initializer& problem,
const std::string& solver_name =
"",
const std::string& problem_name =
"",
bool parsePathAsXML =
false);
55 static void Load(std::string file_name,
Initializer& solver,
Initializer& problem,
const std::string& solver_name =
"",
const std::string& problem_name =
"",
bool parsePathAsXML =
false)
57 Instance()->LoadXML(file_name, solver, problem, solver_name, problem_name, parsePathAsXML);
62 return Instance()->LoadXML(file_name, parsePathAsXML);
65 static std::shared_ptr<exotica::MotionSolver>
LoadSolver(
const std::string& file_name)
71 any_solver->SpecifyProblem(any_problem);
82 static std::shared_ptr<exotica::PlanningProblem>
LoadProblem(
const std::string& file_name)
95 #endif // EXOTICA_CORE_XML_LOADER_H_ static std::shared_ptr< XMLLoader > Instance()
std::shared_ptr< exotica::MotionSolver > MotionSolverPtr
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const std::string &type, bool prepend=true)
static std::shared_ptr< XMLLoader > instance_
static std::shared_ptr< exotica::MotionSolver > LoadSolverStandalone(const std::string &file_name)
static Initializer Load(std::string file_name, bool parsePathAsXML=false)
Initializer LoadXML(std::string file_name, bool parsePathAsXML=false)
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const std::string &type, bool prepend=true)
static std::shared_ptr< exotica::MotionSolver > LoadSolver(const std::string &file_name)
std::shared_ptr< PlanningProblem > PlanningProblemPtr
static std::shared_ptr< exotica::PlanningProblem > LoadProblem(const std::string &file_name)
static void Load(std::string file_name, Initializer &solver, Initializer &problem, const std::string &solver_name="", const std::string &problem_name="", bool parsePathAsXML=false)