Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D Class Reference

#include <occupied_space_cost_function_2d.h>

Classes

class  GridArrayAdapter
 

Public Member Functions

template<typename T >
bool operator() (const T *const pose, T *residual) const
 

Static Public Member Functions

static ceres::CostFunction * CreateAutoDiffCostFunction (const double scaling_factor, const sensor::PointCloud &point_cloud, const Grid2D &grid)
 

Private Member Functions

 OccupiedSpaceCostFunction2D (const double scaling_factor, const sensor::PointCloud &point_cloud, const Grid2D &grid)
 
 OccupiedSpaceCostFunction2D (const OccupiedSpaceCostFunction2D &)=delete
 
OccupiedSpaceCostFunction2Doperator= (const OccupiedSpaceCostFunction2D &)=delete
 

Private Attributes

const Grid2Dgrid_
 
const sensor::PointCloudpoint_cloud_
 
const double scaling_factor_
 

Static Private Attributes

static constexpr int kPadding = INT_MAX / 4
 

Detailed Description

Definition at line 35 of file occupied_space_cost_function_2d.h.

Constructor & Destructor Documentation

◆ OccupiedSpaceCostFunction2D() [1/2]

cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::OccupiedSpaceCostFunction2D ( const double  scaling_factor,
const sensor::PointCloud point_cloud,
const Grid2D grid 
)
inlineprivate

Definition at line 105 of file occupied_space_cost_function_2d.h.

◆ OccupiedSpaceCostFunction2D() [2/2]

cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::OccupiedSpaceCostFunction2D ( const OccupiedSpaceCostFunction2D )
privatedelete

Member Function Documentation

◆ CreateAutoDiffCostFunction()

static ceres::CostFunction* cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::CreateAutoDiffCostFunction ( const double  scaling_factor,
const sensor::PointCloud point_cloud,
const Grid2D grid 
)
inlinestatic

Definition at line 37 of file occupied_space_cost_function_2d.h.

◆ operator()()

template<typename T >
bool cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::operator() ( const T *const  pose,
T *  residual 
) const
inline

Definition at line 48 of file occupied_space_cost_function_2d.h.

◆ operator=()

OccupiedSpaceCostFunction2D& cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::operator= ( const OccupiedSpaceCostFunction2D )
privatedelete

Member Data Documentation

◆ grid_

const Grid2D& cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::grid_
private

Definition at line 118 of file occupied_space_cost_function_2d.h.

◆ kPadding

constexpr int cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::kPadding = INT_MAX / 4
staticprivate

Definition at line 76 of file occupied_space_cost_function_2d.h.

◆ point_cloud_

const sensor::PointCloud& cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::point_cloud_
private

Definition at line 117 of file occupied_space_cost_function_2d.h.

◆ scaling_factor_

const double cartographer::mapping::scan_matching::OccupiedSpaceCostFunction2D::scaling_factor_
private

Definition at line 116 of file occupied_space_cost_function_2d.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59