Crocoddyl
Loading...
Searching...
No Matches
ResidualDataTaskFirstOrderTpl< _Scalar > Struct Template Reference

Data for the first-order task residual. More...

#include <task-first-order.hpp>

Inheritance diagram for ResidualDataTaskFirstOrderTpl< _Scalar >:
ResidualDataAbstractTpl< _Scalar >

Public Types

typedef ResidualDataAbstractTpl< Scalar > Base
typedef DataCollectorAbstractTpl< Scalar > DataCollectorAbstract
typedef GuidanceDataAbstractTpl< Scalar > GuidanceDataAbstract
typedef MathBaseTpl< Scalar > MathBase
typedef MathBase::MatrixXs MatrixXs
typedef TaskDataAbstractTpl< Scalar > TaskDataAbstract
typedef MathBase::VectorXs VectorXs
Public Types inherited from ResidualDataAbstractTpl< _Scalar >
typedef DataCollectorAbstractTpl< Scalar > DataCollectorAbstract
typedef MathBaseTpl< Scalar > MathBase
typedef MathBase::MatrixXs MatrixXs
typedef MathBase::VectorXs VectorXs

Public Member Functions

template<template< typename Scalar > class Model>
 ResidualDataTaskFirstOrderTpl (Model< Scalar > *const model, DataCollectorAbstract *const data)
 Construct the residual data.
Public Member Functions inherited from ResidualDataAbstractTpl< _Scalar >
template<template< typename Scalar > class Model>
 ResidualDataAbstractTpl (Model< Scalar > *const model, DataCollectorAbstract *const data)

Public Attributes

MatrixXs Arr_Ru
MatrixXs Arr_Rx
std::shared_ptr< GuidanceDataAbstract > guidance
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
DataCollectorAbstract * shared
 Shared data allocated by the action model.
std::shared_ptr< TaskDataAbstract > task
Public Attributes inherited from ResidualDataAbstractTpl< _Scalar >
MatrixXs Arr_Ru
MatrixXs Arr_Rx
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
DataCollectorAbstract * shared
 Shared data allocated by the action model.

Detailed Description

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

Data for the first-order task residual.

The task data stores $y$, $v$, and the task Jacobians. The guidance data stores $g$ and $G_e$. The temporary matrices cache $V_x - G_e Y_x$ and $V_u - G_e Y_u$ for the Jacobian computation.

Definition at line 144 of file task-first-order.hpp.

Member Typedef Documentation

◆ MathBase

template<typename _Scalar>
typedef MathBaseTpl<Scalar> MathBase

Definition at line 148 of file task-first-order.hpp.

◆ Base

template<typename _Scalar>
typedef ResidualDataAbstractTpl<Scalar> Base

Definition at line 149 of file task-first-order.hpp.

◆ DataCollectorAbstract

template<typename _Scalar>
typedef DataCollectorAbstractTpl<Scalar> DataCollectorAbstract

Definition at line 150 of file task-first-order.hpp.

◆ GuidanceDataAbstract

template<typename _Scalar>
typedef GuidanceDataAbstractTpl<Scalar> GuidanceDataAbstract

Definition at line 151 of file task-first-order.hpp.

◆ TaskDataAbstract

template<typename _Scalar>
typedef TaskDataAbstractTpl<Scalar> TaskDataAbstract

Definition at line 152 of file task-first-order.hpp.

◆ VectorXs

template<typename _Scalar>
typedef MathBase::VectorXs VectorXs

Definition at line 153 of file task-first-order.hpp.

◆ MatrixXs

template<typename _Scalar>
typedef MathBase::MatrixXs MatrixXs

Definition at line 154 of file task-first-order.hpp.

Constructor & Destructor Documentation

◆ ResidualDataTaskFirstOrderTpl()

template<typename _Scalar>
template<template< typename Scalar > class Model>
ResidualDataTaskFirstOrderTpl(Model< Scalar > *constmodel,
DataCollectorAbstract *constdata )
inline

Construct the residual data.

The task and guidance data are allocated from the model and shared data.

Definition at line 162 of file task-first-order.hpp.

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 147 of file task-first-order.hpp.

◆ task

template<typename _Scalar>
std::shared_ptr<TaskDataAbstract> task

Definition at line 172 of file task-first-order.hpp.

◆ guidance

template<typename _Scalar>
std::shared_ptr<GuidanceDataAbstract> guidance

Definition at line 173 of file task-first-order.hpp.

◆ Arr_Ru

template<typename _Scalar>
MatrixXs Arr_Ru

Definition at line 281 of file residual-base.hpp.

◆ Arr_Rx

template<typename _Scalar>
MatrixXs Arr_Rx

Definition at line 280 of file residual-base.hpp.

◆ r

template<typename _Scalar>
VectorXs r

Residual vector.

Definition at line 277 of file residual-base.hpp.

◆ Ru

template<typename _Scalar>
MatrixXs Ru

Jacobian of the residual vector with respect the control.

Definition at line 279 of file residual-base.hpp.

◆ Rx

template<typename _Scalar>
MatrixXs Rx

Jacobian of the residual vector with respect the state.

Definition at line 278 of file residual-base.hpp.

◆ shared

template<typename _Scalar>
DataCollectorAbstract* shared

Shared data allocated by the action model.

Definition at line 276 of file residual-base.hpp.


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