small_gicp
Public Member Functions | List of all members
small_gicp::SerialReduction Struct Reference

Single-thread reduction. More...

#include <reduction.hpp>

Public Member Functions

template<typename TargetPointCloud , typename SourcePointCloud , typename TargetTree , typename CorrespondenceRejector , typename Factor >
std::tuple< Eigen::Matrix< double, 6, 6 >, Eigen::Matrix< double, 6, 1 >, double > linearize (const TargetPointCloud &target, const SourcePointCloud &source, const TargetTree &target_tree, const CorrespondenceRejector &rejector, const Eigen::Isometry3d &T, std::vector< Factor > &factors) const
 Sum up linearized systems. More...
 
template<typename TargetPointCloud , typename SourcePointCloud , typename Factor >
double error (const TargetPointCloud &target, const SourcePointCloud &source, const Eigen::Isometry3d &T, std::vector< Factor > &factors) const
 Sum up evaluated errors. More...
 

Detailed Description

Single-thread reduction.

Member Function Documentation

◆ error()

template<typename TargetPointCloud , typename SourcePointCloud , typename Factor >
double small_gicp::SerialReduction::error ( const TargetPointCloud &  target,
const SourcePointCloud &  source,
const Eigen::Isometry3d &  T,
std::vector< Factor > &  factors 
) const
inline

Sum up evaluated errors.

Parameters
targetTarget point cloud
sourceSource point cloud
TEvaluation point
factorsFactors to be evaluated
Returns
Sum of the evaluated errors

◆ linearize()

template<typename TargetPointCloud , typename SourcePointCloud , typename TargetTree , typename CorrespondenceRejector , typename Factor >
std::tuple<Eigen::Matrix<double, 6, 6>, Eigen::Matrix<double, 6, 1>, double> small_gicp::SerialReduction::linearize ( const TargetPointCloud &  target,
const SourcePointCloud &  source,
const TargetTree &  target_tree,
const CorrespondenceRejector &  rejector,
const Eigen::Isometry3d &  T,
std::vector< Factor > &  factors 
) const
inline

Sum up linearized systems.

Parameters
targetTarget point cloud
sourceSource point cloud
target_treeNearest neighbor search for the target point cloud
rejectorCorrespondence rejector
TLinearization point
factorsFactors to be linearized
Returns
Sum of the linearized systems (information matrix, information vector, and error)

The documentation for this struct was generated from the following file: