Closed traikodinev closed 5 years ago
See template class OMPLSolver<SamplingProblem>;
and use
planner_allocator_ = boost::bind(&AllocatePlanner<ompl::geometric::LBTRRT>, _1, _2);
-like syntax.
I think you need to have the template class fully instantiated. Look at the AbstractTimeIndexedProblem
for an example.
libraryunload
poco exceptions when having the implementation for a base class in a separate.cpp
file.AbstractDDPSolver
andOMPLControlSolver
suffer from it and therefore need to have the implementation in the header file.@VladimirIvan The other OMPL solver seems to make this work.
TODO: I don't know how or why OMPL solver doesn't suffer from this.