tsid
1.8.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
|
Base template of a Task. Each class is defined according to a constant model of a robot. More...
#include <tsid/tasks/task-base.hpp>
Public Types | |
typedef math::ConstRefVector | ConstRefVector |
typedef pinocchio::Data | Data |
typedef robots::RobotWrapper | RobotWrapper |
Public Member Functions | |
TaskBase (const std::string &name, RobotWrapper &robot) | |
virtual | ~TaskBase ()=default |
const std::string & | name () const |
void | name (const std::string &name) |
virtual int | dim () const =0 |
Return the dimension of the task. \info should be overloaded in the child class. More... | |
virtual const ConstraintBase & | compute (double t, ConstRefVector q, ConstRefVector v, Data &data)=0 |
virtual const ConstraintBase & | getConstraint () const =0 |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::ConstraintBase | ConstraintBase |
Protected Attributes | |
std::string | m_name |
RobotWrapper & | m_robot |
Reference on the robot model. More... | |
Base template of a Task. Each class is defined according to a constant model of a robot.
typedef pinocchio::Data tsid::tasks::TaskBase::Data |
tsid::tasks::TaskBase::TaskBase | ( | const std::string & | name, |
RobotWrapper & | robot | ||
) |
|
virtualdefault |
|
pure virtual |
Implemented in tsid::tasks::TaskJointPosVelAccBounds, tsid::tasks::TaskCopEquality, tsid::tasks::TaskContactForceEquality, tsid::tasks::TaskComEquality, tsid::tasks::TaskCapturePointInequality, tsid::tasks::TaskAMEquality, tsid::tasks::TaskActuationEquality, tsid::tasks::TaskActuationBounds, tsid::tasks::TaskTwoFramesEquality, tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosture, and tsid::tasks::TaskJointBounds.
|
pure virtual |
Return the dimension of the task. \info should be overloaded in the child class.
Implemented in tsid::tasks::TaskTwoFramesEquality, tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosVelAccBounds, tsid::tasks::TaskJointPosture, tsid::tasks::TaskJointBounds, tsid::tasks::TaskCopEquality, tsid::tasks::TaskContactForceEquality, tsid::tasks::TaskComEquality, tsid::tasks::TaskCapturePointInequality, tsid::tasks::TaskAMEquality, tsid::tasks::TaskActuationEquality, and tsid::tasks::TaskActuationBounds.
|
pure virtual |
Implemented in tsid::tasks::TaskTwoFramesEquality, tsid::tasks::TaskSE3Equality, tsid::tasks::TaskJointPosVelAccBounds, tsid::tasks::TaskJointPosture, tsid::tasks::TaskJointBounds, tsid::tasks::TaskCopEquality, tsid::tasks::TaskContactForceEquality, tsid::tasks::TaskComEquality, tsid::tasks::TaskCapturePointInequality, tsid::tasks::TaskAMEquality, tsid::tasks::TaskActuationEquality, and tsid::tasks::TaskActuationBounds.
const std::string & tsid::tasks::TaskBase::name | ( | ) | const |
void tsid::tasks::TaskBase::name | ( | const std::string & | name | ) |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::ConstraintBase tsid::tasks::TaskBase::ConstraintBase |
|
protected |
|
protected |
Reference on the robot model.