Skip to content
Snippets Groups Projects
Commit 5f884a92 authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Add solver_factory.h to installation

parent 3bb1b3b2
No related branches found
No related tags found
No related merge requests found
Pipeline #4864 passed
...@@ -275,6 +275,7 @@ SET(HDRS_SENSOR ...@@ -275,6 +275,7 @@ SET(HDRS_SENSOR
) )
SET(HDRS_SOLVER SET(HDRS_SOLVER
include/core/solver/solver_manager.h include/core/solver/solver_manager.h
include/core/solver/solver_factory.h
) )
SET(HDRS_DTASSC SET(HDRS_DTASSC
......
...@@ -43,7 +43,7 @@ CeresManager::~CeresManager() ...@@ -43,7 +43,7 @@ CeresManager::~CeresManager()
SolverManagerPtr CeresManager::create(const ProblemPtr &wolf_problem, const ParamsServer &_server) SolverManagerPtr CeresManager::create(const ProblemPtr &wolf_problem, const ParamsServer &_server)
{ {
ceres::Solver::Options opt; ceres::Solver::Options opt;
opt.max_num_iterations = _server.getParam<int>("max_num_iterations"); // opt.max_num_iterations = _server.getParam<int>("max_num_iterations");
// CeresManager m = CeresManager(wolf_problem, opt); // CeresManager m = CeresManager(wolf_problem, opt);
return std::make_shared<CeresManager>(wolf_problem, opt); return std::make_shared<CeresManager>(wolf_problem, opt);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment