crocoddyl  1.9.0
Contact RObot COntrol by Differential DYnamic programming Library (Crocoddyl)
ResidualDataNumDiffTpl< _Scalar > Struct Template Reference
Collaboration diagram for ResidualDataNumDiffTpl< _Scalar >:

Public Types

typedef ActivationDataAbstractTpl< Scalar > ActivationDataAbstract
 
typedef ResidualDataAbstractTpl< Scalar > Base
 
typedef DataCollectorAbstractTpl< Scalar > DataCollectorAbstract
 
typedef MathBaseTpl< Scalar > MathBase
 
typedef MathBaseTpl< Scalar >::VectorXs VectorXs
 

Public Member Functions

template<template< typename Scalar > class Model>
 ResidualDataNumDiffTpl (Model< Scalar > *const model, DataCollectorAbstract *const shared_data)
 Initialize the numdiff residual data. More...
 

Public Attributes

boost::shared_ptr< Basedata_0
 The data at the approximation point.
 
std::vector< boost::shared_ptr< Base > > data_u
 The temporary data associated with the control variation.
 
std::vector< boost::shared_ptr< Base > > data_x
 The temporary data associated with the state variation.
 
VectorXs du
 Control disturbance.
 
VectorXs dx
 State disturbance.
 
VectorXs r
 Residual vector.
 
MatrixXs Ru
 Jacobian of the residual vector with respect the control.
 
MatrixXs Rx
 Jacobian of the residual vector with respect the state.
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 
DataCollectorAbstractshared
 Shared data allocated by the action model.
 
VectorXs up
 The integrated control from the disturbance on one DoF "\f$ \int u du_i = u + du \f$".
 
VectorXs xp
 The integrated state from the disturbance on one DoF "\f$ \int x dx_i \f$".
 

Detailed Description

template<typename _Scalar>
struct crocoddyl::ResidualDataNumDiffTpl< _Scalar >

Definition at line 232 of file fwd.hpp.

Constructor & Destructor Documentation

◆ ResidualDataNumDiffTpl()

ResidualDataNumDiffTpl ( Model< Scalar > *const  model,
DataCollectorAbstract *const  shared_data 
)
inlineexplicit

Initialize the numdiff residual data.

Template Parameters
Modelis the type of the ResidualModelAbstractTpl.
Parameters
modelis the object to compute the numerical differentiation from.

Definition at line 148 of file residual.hpp.


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