Template Struct ResidualDataNumDiffTpl
Defined in File residual.hpp
Inheritance Relationships
Base Type
public crocoddyl::ResidualDataAbstractTpl< _Scalar >(Template Struct ResidualDataAbstractTpl)
Struct Documentation
-
template<typename _Scalar>
struct ResidualDataNumDiffTpl : public crocoddyl::ResidualDataAbstractTpl<_Scalar> Public Types
-
typedef MathBaseTpl<Scalar> MathBase
-
typedef ResidualDataAbstractTpl<Scalar> Base
-
typedef DataCollectorAbstractTpl<Scalar> DataCollectorAbstract
-
typedef ActivationDataAbstractTpl<Scalar> ActivationDataAbstract
-
typedef MathBaseTpl<Scalar>::VectorXs VectorXs
Public Functions
-
template<template<typename Scalar> class Model>
inline explicit ResidualDataNumDiffTpl(Model<Scalar> *const model, DataCollectorAbstract *const shared_data) Initialize the numdiff residual data.
- Template Parameters:
Model – is the type of the
ResidualModelAbstractTpl.- Parameters:
model – is the object to compute the numerical differentiation from.
-
inline virtual ~ResidualDataNumDiffTpl()
Public Members
- EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
-
Scalar x_norm
Norm of the state vector.
-
Scalar xh_jac
Disturbance value used for computing \( \ell_\mathbf{x} \).
-
Scalar uh_jac
Disturbance value used for computing \( \ell_\mathbf{u} \).
-
std::vector<std::shared_ptr<Base>> data_u
The temporary data associated with the control variation.
-
MatrixXs Ru
Jacobian of the residual vector with respect the control.
-
MatrixXs Rx
Jacobian of the residual vector with respect the state.
Shared data allocated by the action model.
-
typedef MathBaseTpl<Scalar> MathBase