Exotica
Public Member Functions | Public Attributes | List of all members
exotica::TimeIndexedTask Struct Reference

#include <tasks.h>

Inheritance diagram for exotica::TimeIndexedTask:
Inheritance graph
Collaboration diagram for exotica::TimeIndexedTask:
Collaboration graph

Public Member Functions

 TimeIndexedTask ()=default
 
virtual ~TimeIndexedTask ()=default
 
virtual void Initialize (const std::vector< exotica::Initializer > &inits, std::shared_ptr< PlanningProblem > prob, TaskSpaceVector &Phi)
 
void UpdateS ()
 
void Update (const TaskSpaceVector &big_Phi, Eigen::MatrixXdRefConst big_dPhi_dx, Eigen::MatrixXdRefConst big_dPhi_du, HessianRefConst big_ddPhi_ddx, HessianRefConst big_ddPhi_ddu, HessianRefConst big_ddPhi_dxdu, int t)
 
void Update (const TaskSpaceVector &big_Phi, Eigen::MatrixXdRefConst big_dPhi_dx, Eigen::MatrixXdRefConst big_dPhi_du, int t)
 
void Update (const TaskSpaceVector &big_Phi, Eigen::MatrixXdRefConst big_jacobian, HessianRefConst big_hessian, int t)
 
void Update (const TaskSpaceVector &big_Phi, Eigen::MatrixXdRefConst big_jacobian, int t)
 
void Update (const TaskSpaceVector &big_Phi, int t)
 
void ReinitializeVariables (int _T, std::shared_ptr< PlanningProblem > _prob, const TaskSpaceVector &_Phi)
 
void ValidateTimeIndex (int &t_in) const
 
void SetGoal (const std::string &task_name, Eigen::VectorXdRefConst goal, int t)
 
Eigen::VectorXd GetGoal (const std::string &task_name, int t) const
 
void SetRho (const std::string &task_name, const double rho_in, int t)
 
double GetRho (const std::string &task_name, int t) const
 
Eigen::VectorXd GetTaskError (const std::string &task_name, int t) const
 
Eigen::MatrixXd GetS (const std::string &task_name, int t) const
 
- Public Member Functions inherited from exotica::Task
 Task ()=default
 
virtual ~Task ()=default
 

Public Attributes

std::vector< Eigen::VectorXd > rho
 
std::vector< TaskSpaceVectory
 
std::vector< Eigen::VectorXd > ydiff
 
std::vector< TaskSpaceVectorPhi
 
std::vector< Hessianhessian
 
std::vector< HessianddPhi_ddx
 
std::vector< HessianddPhi_ddu
 
std::vector< HessianddPhi_dxdu
 
std::vector< Eigen::MatrixXd > jacobian
 
std::vector< Eigen::MatrixXd > dPhi_dx
 
std::vector< Eigen::MatrixXd > dPhi_du
 
std::vector< Eigen::MatrixXd > S
 
int T
 
- Public Attributes inherited from exotica::Task
TaskMapMap task_maps
 
TaskMapVec tasks
 
std::vector< TaskIndexingindexing
 
int length_Phi
 
int length_jacobian
 
int num_tasks
 
double tolerance = 0.0
 

Additional Inherited Members

- Protected Attributes inherited from exotica::Task
std::vector< TaskInitializer > task_initializers_
 

Constructor & Destructor Documentation

◆ TimeIndexedTask()

exotica::TimeIndexedTask::TimeIndexedTask ( )
default

◆ ~TimeIndexedTask()

virtual exotica::TimeIndexedTask::~TimeIndexedTask ( )
virtualdefault

Member Function Documentation

◆ GetGoal()

Eigen::VectorXd exotica::TimeIndexedTask::GetGoal ( const std::string &  task_name,
int  t 
) const

◆ GetRho()

double exotica::TimeIndexedTask::GetRho ( const std::string &  task_name,
int  t 
) const

◆ GetS()

Eigen::MatrixXd exotica::TimeIndexedTask::GetS ( const std::string &  task_name,
int  t 
) const

◆ GetTaskError()

Eigen::VectorXd exotica::TimeIndexedTask::GetTaskError ( const std::string &  task_name,
int  t 
) const

◆ Initialize()

virtual void exotica::TimeIndexedTask::Initialize ( const std::vector< exotica::Initializer > &  inits,
std::shared_ptr< PlanningProblem prob,
TaskSpaceVector Phi 
)
virtual

Reimplemented from exotica::Task.

◆ ReinitializeVariables()

void exotica::TimeIndexedTask::ReinitializeVariables ( int  _T,
std::shared_ptr< PlanningProblem _prob,
const TaskSpaceVector _Phi 
)

◆ SetGoal()

void exotica::TimeIndexedTask::SetGoal ( const std::string &  task_name,
Eigen::VectorXdRefConst  goal,
int  t 
)

◆ SetRho()

void exotica::TimeIndexedTask::SetRho ( const std::string &  task_name,
const double  rho_in,
int  t 
)

◆ Update() [1/5]

void exotica::TimeIndexedTask::Update ( const TaskSpaceVector big_Phi,
Eigen::MatrixXdRefConst  big_dPhi_dx,
Eigen::MatrixXdRefConst  big_dPhi_du,
HessianRefConst  big_ddPhi_ddx,
HessianRefConst  big_ddPhi_ddu,
HessianRefConst  big_ddPhi_dxdu,
int  t 
)

◆ Update() [2/5]

void exotica::TimeIndexedTask::Update ( const TaskSpaceVector big_Phi,
Eigen::MatrixXdRefConst  big_dPhi_dx,
Eigen::MatrixXdRefConst  big_dPhi_du,
int  t 
)

◆ Update() [3/5]

void exotica::TimeIndexedTask::Update ( const TaskSpaceVector big_Phi,
Eigen::MatrixXdRefConst  big_jacobian,
HessianRefConst  big_hessian,
int  t 
)

◆ Update() [4/5]

void exotica::TimeIndexedTask::Update ( const TaskSpaceVector big_Phi,
Eigen::MatrixXdRefConst  big_jacobian,
int  t 
)

◆ Update() [5/5]

void exotica::TimeIndexedTask::Update ( const TaskSpaceVector big_Phi,
int  t 
)

◆ UpdateS()

void exotica::TimeIndexedTask::UpdateS ( )

◆ ValidateTimeIndex()

void exotica::TimeIndexedTask::ValidateTimeIndex ( int &  t_in) const
inline

Member Data Documentation

◆ ddPhi_ddu

std::vector<Hessian> exotica::TimeIndexedTask::ddPhi_ddu

◆ ddPhi_ddx

std::vector<Hessian> exotica::TimeIndexedTask::ddPhi_ddx

◆ ddPhi_dxdu

std::vector<Hessian> exotica::TimeIndexedTask::ddPhi_dxdu

◆ dPhi_du

std::vector<Eigen::MatrixXd> exotica::TimeIndexedTask::dPhi_du

◆ dPhi_dx

std::vector<Eigen::MatrixXd> exotica::TimeIndexedTask::dPhi_dx

◆ hessian

std::vector<Hessian> exotica::TimeIndexedTask::hessian

◆ jacobian

std::vector<Eigen::MatrixXd> exotica::TimeIndexedTask::jacobian

◆ Phi

std::vector<TaskSpaceVector> exotica::TimeIndexedTask::Phi

◆ rho

std::vector<Eigen::VectorXd> exotica::TimeIndexedTask::rho

◆ S

std::vector<Eigen::MatrixXd> exotica::TimeIndexedTask::S

◆ T

int exotica::TimeIndexedTask::T

◆ y

std::vector<TaskSpaceVector> exotica::TimeIndexedTask::y

◆ ydiff

std::vector<Eigen::VectorXd> exotica::TimeIndexedTask::ydiff

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