Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction Class Reference

#include <spa_cost_function.h>

Public Types

using Constraint = mapping::SparsePoseGraph::Constraint

Public Member Functions

template<typename T >
bool operator() (const T *const c_i, const T *const c_j, T *e) const
 SpaCostFunction (const Constraint::Pose &pose)

Static Public Member Functions

template<typename T >
static void ComputeScaledError (const Constraint::Pose &pose, const T *const c_i, const T *const c_j, T *const e)
template<typename T >
static std::array< T, 3 > ComputeUnscaledError (const transform::Rigid2d &zbar_ij, const T *const c_i, const T *const c_j)

Private Attributes

const Constraint::Pose pose_

Detailed Description

Definition at line 35 of file mapping_2d/sparse_pose_graph/spa_cost_function.h.

Member Typedef Documentation

Constructor & Destructor Documentation

cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction::SpaCostFunction ( const Constraint::Pose pose)

Member Function Documentation

template<typename T >
static void cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction::ComputeScaledError ( const Constraint::Pose pose,
const T *const  c_i,
const T *const  c_j,
T *const  e 
template<typename T >
static std::array<T, 3> cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction::ComputeUnscaledError ( const transform::Rigid2d zbar_ij,
const T *const  c_i,
const T *const  c_j 
template<typename T >
bool cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction::operator() ( const T *const  c_i,
const T *const  c_j,
T *  e 
) const

Member Data Documentation

const Constraint::Pose cartographer::mapping_2d::sparse_pose_graph::SpaCostFunction::pose_

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

autogenerated on Mon Jun 10 2019 12:51:39