Skip to content
Snippets Groups Projects

Apriltag: some improvements/changes

Merged Joan Vallvé Navarro requested to merge feature/apriltag_factor_optimization into Apriltag
1 unresolved thread
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
@@ -79,8 +79,6 @@ void SolverManager::update()
// UPDATE STATE BLOCKS (state, fix or local parameterization)
for (auto state_ptr : wolf_problem_->getStateBlockPtrList())
{
if (state_blocks_.find(state_ptr)==state_blocks_.end())
continue;
assert(state_blocks_.find(state_ptr)!=state_blocks_.end() && "Updating the state of an unregistered StateBlock !");
// state update
@@ -108,8 +106,8 @@ void SolverManager::update()
}
}
//assert(wolf_problem_->getFactorNotificationMap().empty() && "wolf problem's factors notification map not empty after update");
//assert(wolf_problem_->getStateBlockNotificationMap().empty() && "wolf problem's state_blocks notification map not empty after update");
assert(wolf_problem_->getFactorNotificationMap().empty() && "wolf problem's factors notification map not empty after update");
assert(wolf_problem_->getStateBlockNotificationMap().empty() && "wolf problem's state_blocks notification map not empty after update");
}
wolf::ProblemPtr SolverManager::getProblem()
Loading