17 #ifndef CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_TRANSLATION_DELTA_COST_FUNCTOR_2D_H_ 18 #define CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_TRANSLATION_DELTA_COST_FUNCTOR_2D_H_ 21 #include "ceres/ceres.h" 25 namespace scan_matching {
32 const double scaling_factor,
const Eigen::Vector2d& target_translation) {
50 const double scaling_factor,
const Eigen::Vector2d& target_translation)
52 x_(target_translation.x()),
53 y_(target_translation.y()) {}
68 #endif // CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_TRANSLATION_DELTA_COST_FUNCTOR_2D_H_ const double scaling_factor_
static ceres::CostFunction * CreateAutoDiffCostFunction(const double scaling_factor, const Eigen::Vector2d &target_translation)
bool operator()(const T *const pose, T *residual) const
TranslationDeltaCostFunctor2D(const double scaling_factor, const Eigen::Vector2d &target_translation)
TranslationDeltaCostFunctor2D & operator=(const TranslationDeltaCostFunctor2D &)=delete