17 #ifndef CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_ROTATION_DELTA_COST_FUNCTOR_2D_H_ 18 #define CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_ROTATION_DELTA_COST_FUNCTOR_2D_H_ 21 #include "ceres/ceres.h" 25 namespace scan_matching {
32 const double scaling_factor,
const double target_angle) {
33 return new ceres::AutoDiffCostFunction<
46 const double target_angle)
61 #endif // CARTOGRAPHER_MAPPING_INTERNAL_2D_SCAN_MATCHING_ROTATION_DELTA_COST_FUNCTOR_2D_H_ bool operator()(const T *const pose, T *residual) const
RotationDeltaCostFunctor2D & operator=(const RotationDeltaCostFunctor2D &)=delete
const double scaling_factor_
static ceres::CostFunction * CreateAutoDiffCostFunction(const double scaling_factor, const double target_angle)
RotationDeltaCostFunctor2D(const double scaling_factor, const double target_angle)