113 Values run(
const double scale = 1.0)
const;
125 const Values &poses,
const std::vector<KeyPair> &
edges);
vector< MFAS::KeyPair > edges
A non-templated config holding any types of Manifold-group elements.
void addPrior(const double scale, NonlinearFactorGraph *graph, const SharedNoiseModel &priorNoiseModel=noiseModel::Isotropic::Sigma(3, 0.01)) const
Add priors on ednpoints of first measurement edge.
std::map< Key, std::set< Key > > sameTranslationNodes_
NonlinearFactorGraph graph
Values run(const double scale=1.0) const
Build and optimize factor graph.
static TranslationEdges SimulateMeasurements(const Values &poses, const std::vector< KeyPair > &edges)
Simulate translation direction measurements.
A nonlinear optimizer that uses the Levenberg-Marquardt trust-region scheme.
TranslationRecovery(const TranslationEdges &relativeTranslations, const LevenbergMarquardtParams &lmParams=LevenbergMarquardtParams())
Construct a new Translation Recovery object.
NonlinearFactorGraph buildGraph() const
Build the factor graph to do the optimization.
LevenbergMarquardtParams lmParams
LevenbergMarquardtParams params_
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics scale
std::vector< BinaryMeasurement< Unit3 >> TranslationEdges
std::pair< Key, Key > KeyPair
Binary measurement represents a measurement between two keys in a graph. A binary measurement is simi...
TranslationEdges relativeTranslations_
Values initalizeRandomly() const
Create random initial translations.
noiseModel::Base::shared_ptr SharedNoiseModel
static shared_ptr Sigma(size_t dim, double sigma, bool smart=true)