aligator  0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
Loading...
Searching...
No Matches
aligator::compat::croc::ActionDataWrapperTpl< Scalar > Struct Template Reference

A complicated child class to StageDataTpl which pipes Crocoddyl's data to the right places. More...

#include <aligator/compat/crocoddyl/action-model-wrap.hpp>

Inheritance diagram for aligator::compat::croc::ActionDataWrapperTpl< Scalar >:
[legend]
Collaboration diagram for aligator::compat::croc::ActionDataWrapperTpl< Scalar >:
[legend]

Public Types

using Base = StageDataTpl<Scalar>
using CrocActionModel = crocoddyl::ActionModelAbstractTpl<Scalar>
using CrocActionData = crocoddyl::ActionDataAbstractTpl<Scalar>
using DynamicsDataWrapper = DynamicsDataWrapperTpl<Scalar>
Public Types inherited from aligator::StageDataTpl< Scalar >
using Scalar
using StageModel
using CostData
using StageFunctionData
using DynamicsData

Public Member Functions

 ActionDataWrapperTpl (const ActionModelWrapperTpl< Scalar > &croc_action_model)
void checkData ()
 Check data integrity.
Public Member Functions inherited from aligator::StageDataTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 StageDataTpl (const StageModel &stage_model)
 Constructor.
virtual ~StageDataTpl ()=default

Public Attributes

shared_ptr< CrocActionDatacroc_action_data
Public Attributes inherited from aligator::StageDataTpl< Scalar >
std::vector< shared_ptr< StageFunctionData > > constraint_data
 Data structs for the functions involved in the constraints.
shared_ptr< CostDatacost_data
 Data for the running costs.
shared_ptr< DynamicsDatadynamics_data

Protected Attributes

shared_ptr< DynamicsDataWrapperdynamics_data
friend ActionModelWrapperTpl< Scalar >

Detailed Description

template<typename Scalar>
struct aligator::compat::croc::ActionDataWrapperTpl< Scalar >

A complicated child class to StageDataTpl which pipes Crocoddyl's data to the right places.

Definition at line 84 of file action-model-wrap.hpp.

Member Typedef Documentation

◆ Base

Definition at line 85 of file action-model-wrap.hpp.

◆ CrocActionModel

template<typename Scalar>
using aligator::compat::croc::ActionDataWrapperTpl< Scalar >::CrocActionModel = crocoddyl::ActionModelAbstractTpl<Scalar>

Definition at line 86 of file action-model-wrap.hpp.

◆ CrocActionData

template<typename Scalar>
using aligator::compat::croc::ActionDataWrapperTpl< Scalar >::CrocActionData = crocoddyl::ActionDataAbstractTpl<Scalar>

Definition at line 87 of file action-model-wrap.hpp.

◆ DynamicsDataWrapper

Definition at line 88 of file action-model-wrap.hpp.

Constructor & Destructor Documentation

◆ ActionDataWrapperTpl()

template<typename Scalar>
aligator::compat::croc::ActionDataWrapperTpl< Scalar >::ActionDataWrapperTpl(const ActionModelWrapperTpl< Scalar > &croc_action_model)

Member Function Documentation

◆ checkData()

template<typename Scalar>
void aligator::compat::croc::ActionDataWrapperTpl< Scalar >::checkData()
virtual

Check data integrity.

Reimplemented from aligator::StageDataTpl< Scalar >.

Member Data Documentation

◆ croc_action_data

template<typename Scalar>
shared_ptr<CrocActionData> aligator::compat::croc::ActionDataWrapperTpl< Scalar >::croc_action_data

Definition at line 90 of file action-model-wrap.hpp.

◆ dynamics_data

template<typename Scalar>
shared_ptr<DynamicsDataWrapper> aligator::compat::croc::ActionDataWrapperTpl< Scalar >::dynamics_data
protected

Definition at line 98 of file action-model-wrap.hpp.

◆ ActionModelWrapperTpl< Scalar >

template<typename Scalar>
friend aligator::compat::croc::ActionDataWrapperTpl< Scalar >::ActionModelWrapperTpl< Scalar >
protected

Definition at line 99 of file action-model-wrap.hpp.


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