ArticulatedIcpErrorNormCost Class Reference

Aggregate L2 norm cost of point-to-point error set. More...

#include <drake/perception/estimators/dev/articulated_icp.h>

Inheritance diagram for ArticulatedIcpErrorNormCost:
Collaboration diagram for ArticulatedIcpErrorNormCost:

Public Member Functions

 ArticulatedIcpErrorNormCost (const Scene *scene, bool do_normalize=false)
void Reset () override
 Prepare to start adding points. More...
void Add (const SceneState &, const ArticulatedIcpErrorSet &error_set) override
 Add a given set of errors. More...
void Finalize () override
 Finish adding all error sets. More...
double cost () const
const Eigen::MatrixXd & J_cost () const
Does not allow copy, move, or assignment
 ArticulatedIcpErrorNormCost (const ArticulatedIcpErrorNormCost &)=delete
ArticulatedIcpErrorNormCostoperator= (const ArticulatedIcpErrorNormCost &)=delete
 ArticulatedIcpErrorNormCost (ArticulatedIcpErrorNormCost &&)=delete
ArticulatedIcpErrorNormCostoperator= (ArticulatedIcpErrorNormCost &&)=delete
- Public Member Functions inherited from ArticulatedIcpErrorCost
 ArticulatedIcpErrorCost (const Scene *scene)
virtual ~ArticulatedIcpErrorCost ()
const Scenescene () const
 ArticulatedIcpErrorCost (const ArticulatedIcpErrorCost &)=delete
ArticulatedIcpErrorCostoperator= (const ArticulatedIcpErrorCost &)=delete
 ArticulatedIcpErrorCost (ArticulatedIcpErrorCost &&)=delete
ArticulatedIcpErrorCostoperator= (ArticulatedIcpErrorCost &&)=delete

Detailed Description

Aggregate L2 norm cost of point-to-point error set.

The total cost, E, and its Jacobian J, w.r.t. the position variables q of the scene, is: E = ∑ eᵢ'eᵢ J = ∑ 2 eᵢ'Jᵢ

Constructor & Destructor Documentation

ArticulatedIcpErrorNormCost ( const Scene scene,
bool  do_normalize = false 
do_normalizeNormalize the cost by the number of the points in the scene.

Member Function Documentation

void Add ( const SceneState scene_state,
const ArticulatedIcpErrorSet error_set 

Add a given set of errors.

Implements ArticulatedIcpErrorCost.

Here is the call graph for this function:

double cost ( ) const
void Finalize ( )

Finish adding all error sets.

Implements ArticulatedIcpErrorCost.

const Eigen::MatrixXd& J_cost ( ) const
void Reset ( )

Prepare to start adding points.

Implements ArticulatedIcpErrorCost.

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