Skip to content

Instantly share code, notes, and snippets.

View MPieter's full-sized avatar

Pieter Meiresone MPieter

View GitHub Profile
g2o::SparseOptimizer optimizer;
auto linearSolver = g2o::make_unique<SlamLinearSolver>();
linearSolver->setBlockOrdering(false);
// g2o::OptimizationAlgorithmGaussNewton *solver = new g2o::OptimizationAlgorithmGaussNewton(
// g2o::make_unique<SlamBlockSolver>(std::move(linearSolver)));
g2o::OptimizationAlgorithmLevenberg *solver = new g2o::OptimizationAlgorithmLevenberg(g2o::make_unique<SlamBlockSolver>(std::move(linearSolver)));
optimizer.setAlgorithm(solver);
// Adding poses
@MPieter
MPieter / gist:f468a286e69fd2578c02
Created December 2, 2014 16:24
Pure CSS Pulse Button
.container {
width: 200px;
height: 100%;
margin: 0 auto 0;
}
.pulse-button {
position: relative;
width: 100px;
height: 100px;
border: none;